[libcxx-dev] Advancing libc++ Beyond C++03
Eric Fiselier via libcxx-dev
libcxx-dev at lists.llvm.org
Tue Jun 11 10:12:45 PDT 2019
On Tue, Jun 11, 2019 at 5:30 AM Mikhail Maltsev <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 going
> > 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.
/Eric
>
> --
> Regards,
> Mikhail Maltsev
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libcxx-dev/attachments/20190611/27a73333/attachment.html>
More information about the libcxx-dev
mailing list