maintainer-feedback requested: [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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-gnome mailing list
<gnome at FreeBSD.org> for maintainer-feedback:
Bug 230203: net/opal fail to build with message: cannot initialize a parameter
of type 'unsigned int' with an rvalue of type 'nullptr_t'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230203



--- Description ---
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.


More information about the freebsd-gnome mailing list