Date: Mon, 30 Jul 2018 22:27:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 230203] net/opal fail to build with message: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'nullptr_t' Message-ID: <bug-230203-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230203 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@FreeBSD.org Reporter: vvd@unislabs.com Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org Created attachment 195661 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D195661&action= =3Dedit 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 =3D NULL, ///< options to pass to conneci= ton Patch is trivial - replace NULL on 0. Just put my patch in net/opal/files - work for me on 11.2 amd64 and i386. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230203-7788>