Date: Fri, 15 Jul 2016 05:40:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211134] Uses/compiler.mk needs to add --std=c++11 to CXXFLAGS Message-ID: <bug-211134-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211134 Bug ID: 211134 Summary: Uses/compiler.mk needs to add --std=3Dc++11 to CXXFLAGS Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@rawbw.com CC: freebsd-ports-bugs@FreeBSD.org Currently USES=3Dcompiler:c++11-lib doesn't add --std=3Dc++11 to CXXFLAGS. Additionally, in the case of gcc compiler the flag should be -std=3Dc++11. = Please see devel/jsoncpp as an example (USES there should be changed to compiler:c++11-lib), and the bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211115 that says that it fails with gcc compiler in part because of this flag. gcc-c++11-lib should do the same after setting the compiler type, or should= n't be there at all. --=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-211134-13>