[libcxx-dev] Advancing libc++ Beyond C++03
Mikhail Maltsev via libcxx-dev
libcxx-dev at lists.llvm.org
Tue Jun 11 10:18:52 PDT 2019
On 6/11/19 6:12 PM, Eric Fiselier wrote:
> On Tue, Jun 11, 2019 at 5:30 AM Mikhail Maltsev <Mikhail.Maltsev at arm.com
> <mailto:Mikhail.Maltsev at arm.com>> wrote:
> On 6/11/19 2:57 AM, Eric Fiselier via libcxx-dev wrote:>
> > The good news is that removing the C++03 fallbacks is the fix. We're just
> > to use the C++11 implementations.
> Hi. Do I understand correctly that code dependent on libc++, which is compiled
> with Clang and "-std=c++03 -pedantic -Werror" will break in many cases?
> No, that is not correct.
> Because we mark the files as system headers they are unaffected by `-pedantic`.
> And these warnings don't leak into user code.
> For example, if they call a stdlib function that's implemented as a variadic
> template, that will not
> cause a diagnostic at the callsite.
Thanks for the explanation.
More information about the libcxx-dev