Date: Fri, 28 Jul 2017 12:05:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 219484] cad/openvsp: Fails to build with lang/gcc6 or later on 10.3 (< 11.0) Message-ID: <bug-219484-29464-VFY9U0kwJd@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-219484-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-219484-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219484 Raphael Kubo da Costa <rakuco@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rakuco@FreeBSD.org --- Comment #17 from Raphael Kubo da Costa <rakuco@FreeBSD.org> --- (In reply to fernando.apesteguia from comment #16) >> Is this patch acceptable? > > .if ${OSVERSION} < 1100000 Note that you generally want to choose a more specific version that corresp= onds more closely to the commit that imported the libc++ version with the new overloads. In any case, I think you can simplify the patch by just setting USE_CXXSTD=3Dgnu++11 -- GCC 6 builds with -std=3Dgnu++14 by default, and th= e new overloads were added in C++14. Since you only need C++11 to build the code = you can use an older standard. I've done that here and the port built fine on 10.3-i386 with GCC 6. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219484-29464-VFY9U0kwJd>