Date: Tue, 26 Apr 2016 18:56:35 +0000 From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 209077] net/opal: Fix build with libc++ 3.8.0 Message-ID: <bug-209077-6497-InUmheG2E8@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-209077-6497@https.bugs.freebsd.org/bugzilla/> References: <bug-209077-6497@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dim@FreeBSD.org> has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to gnome@FreeBSD.o= rg: Bug 209077: net/opal: Fix build with libc++ 3.8.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209077 --- Description --- Created attachment 169728 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D169728&action= =3Dedit Fix type for abs() calls in net/opal During the exp-run in bug 208158, it was found that net/opal gives errors w= ith libc++ 3.8.0 [1]: ../common/mpi.cxx:135:18: error: call to 'abs' is ambiguous distance =3D ( abs(MPIs[i].width - desiredWidth ) * ^~~ This is because abs() is being called with unsigned arguments. Fix this by casting the arguments to the appropriate signed type. [1] http://package18.nyi.freebsd.org/data/headamd64PR208158-default/2016-03-22_= 18h3 0m05s/logs/errors/opal-3.10.10_9.log
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209077-6497-InUmheG2E8>