Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2018 22:27:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   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'
Message-ID:  <bug-230203-6497-t9qymEgo96@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230203-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230203-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome mailing =
list
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 230203: net/opal fail to build with message: cannot initialize a parame=
ter
of type 'unsigned int' with an rvalue of type 'nullptr_t'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230203



--- 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 =3D 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230203-6497-t9qymEgo96>