Date: Mon, 26 Nov 2012 20:32:48 +0000 From: David Chisnall <theraven@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org> Cc: toolchain@FreeBSD.org Subject: Re: [patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi Message-ID: <4F2767D3-C5F9-4E06-85AC-6C3B9BB1C1B4@FreeBSD.org> In-Reply-To: <50B3CD06.7040304@FreeBSD.org> References: <50AEB0A1.3090803@kbh.biglobe.ne.jp> <50AFEA5D.2020607@FreeBSD.org> <76D35059-88C3-49F3-A871-3402A49875CD@theravensnest.org> <50B3CD06.7040304@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Nov 2012, at 20:11, Dimitry Andric wrote: > On 2012-11-24 11:45, David Chisnall wrote: > ... >> In theory, the libc++ headers that are part of the C++03 spec (i.e. = not things like <stdatomic>) should work in C++98 / C++03 mode, however = the implementation in libc++ must be compiled in C++11 mode. >=20 > Minor note: we now use -std=3Dc++0x by default for building libc++, so > shall I update that to -std=3Dc++11? Yes, if we've now got a clang in base that understands that. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F2767D3-C5F9-4E06-85AC-6C3B9BB1C1B4>