Re: [patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi

2012-11-26 Thread Dimitry Andric
On 2012-11-25 18:31, Dimitry Andric wrote: ... I have posted a proposed patch to the upstream mailing list here: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20121119/068587.html If it is accepted as-is, I will merge it immediately. Upstream committed the patch after some explan

Re: [patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi

2012-11-26 Thread David Chisnall
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 ) should work in C++98 / C++03 mode, however the >> implementation in libc++ must be compiled in C++11 mode

Re: [patch][libc++]using some undeclared functions with -std=c++98, -std=c++03 or -ansi

2012-11-26 Thread Dimitry Andric
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 ) should work in C++98 / C++03 mode, however the implementation in libc++ must be compiled in C++11 mode. Minor note: we now use -std=c++0x by default for buildin