Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Feb 2016 10:30:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 207253] cad/openvsp: Fix in 11-CURRENT
Message-ID:  <bug-207253-29464-SlAojJcEfY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207253-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207253-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=3D207253

--- Comment #30 from fernando.apesteguia@gmail.com ---
(In reply to Raphael Kubo da Costa from comment #29)

I reported the problem upstream. At least to me, the response was a bit
unexpected: libc++ doesn't support compiling c++98 programs that don't comp=
ile
also as c++11 programs:

https://llvm.org/bugs/show_bug.cgi?id=3D26754

Than means that the any legacy program using a type as array, forward_list =
and
probably a few more will clash with the ones in the std namespace for c++11=
 in
libc++.

At least, we should reflect this fact in the documentation:
https://www.freebsd.org/doc/en/books/porters-handbook/book.html#uses-compil=
er
and maybe add a new knob in "USES=3D compiler:..." for cases like this.

Apparently GNU's C++ library is doing the right thing: they don't let c++11
names leak into std namespace unless c++11 standard is explicitly specified.

--=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-207253-29464-SlAojJcEfY>