[Bug 230203] net/opal fail to build with message: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'nullptr_t'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 30 22:27:40 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230203

            Bug ID: 230203
           Summary: net/opal fail to build with message: cannot initialize
                    a parameter of type 'unsigned int' with an rvalue of
                    type 'nullptr_t'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: vvd at unislabs.com
             Flags: maintainer-feedback?(gnome at FreeBSD.org)
          Assignee: gnome at FreeBSD.org

Created attachment 195661
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=195661&action=edit
Replace "NULL" on "0" in initialization of "unsigned int options" in
include/h323/h323ep.h

After update gcc from 6.4 to 7.3 net/opal fail to build with error message:

> In file included from /tmp/work/usr/ports/net/opal/work/opal-3.10.10/src/opal/console_mgr.cxx:39:
> /tmp/work/usr/ports/net/opal/work/opal-3.10.10/include/h323/h323ep.h:148:20: error: cannot initialize a parameter of type
>       'unsigned int' with an rvalue of type 'nullptr_t'
>      unsigned int options = NULL,      ///<  options to pass to conneciton

Patch is trivial - replace NULL on 0.

Just put my patch in net/opal/files - work for me on 11.2 amd64 and i386.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list