[Bug 211134] Uses/compiler.mk needs to add --std=c++11 to CXXFLAGS
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 15 05:40:39 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211134
Bug ID: 211134
Summary: Uses/compiler.mk needs to add --std=c++11 to CXXFLAGS
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: portmgr at FreeBSD.org
Reporter: yuri at rawbw.com
CC: freebsd-ports-bugs at FreeBSD.org
Currently USES=compiler:c++11-lib doesn't add --std=c++11 to CXXFLAGS.
Additionally, in the case of gcc compiler the flag should be -std=c++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=211115 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 shouldn't
be there at all.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list