RELENG_9 fails to compile with WITH_LIBCPLUSPLUS=yes in /etc/src.conf

David Chisnall theraven at freebsd.org
Wed May 23 09:33:00 UTC 2012


On 23 May 2012, at 10:29, Trond Endrestøl wrote:

> CC='gcc' 

<snip>

> something as make buildworld runs smoothly 
> without WITH_LIBCPLUSPLUS=yes in /etc/src.conf.

You are trying to build C++11 code with a C++98 compiler.  If you want to build libc++, you must be using clang++.  There is a reason it's not enabled by default...

David


More information about the freebsd-stable mailing list