[cfe-dev] Setting default dialect to C++11

Serge Pavlov via cfe-dev cfe-dev at lists.llvm.org
Sun Feb 26 18:29:36 PST 2017


2017-02-25 4:14 GMT+07:00 Joerg Sonnenberger via cfe-dev <
cfe-dev at lists.llvm.org>:

> On Fri, Feb 24, 2017 at 08:33:05PM +0000, Robinson, Paul via cfe-dev wrote:
> > Is it about time to advance Clang's default C++ dialect to C++11?
> > It has been stuck on 98/03 for quite some time now.
>
> Unlike C, C++11 breaks valid C++03 code. Nothing has been done to change
> that.
>
> > Even if it is not time to update the default for everyone, I would
> > *really* LOVE to set the default dialect for the PS4 target.
>
> I have no opinion on that.
>

With default configuration files supported (
https://reviews.llvm.org/D24933#585615) default language dialect could be
specified by SDK supplier without need to change defaults for entire clang
project.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170227/0c7dd103/attachment.html>


More information about the cfe-dev mailing list