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

Richard Smith via cfe-dev cfe-dev at lists.llvm.org
Thu May 18 20:30:30 PDT 2017


On 18 May 2017 at 19:38, Tim Northover <t.p.northover at gmail.com> wrote:

> On 18 May 2017 at 18:56, Richard Smith <richard at metafoo.co.uk> wrote:
> > Agreed. I think there's sufficient (although not unanimous) agreement
> that
> > we should increase our default language standard; what we need is for
> > someone to work through the immediate fallout from doing so
> (particularly in
> > the test suite).
>
> I'll see what I can do tomorrow. Hopefully I can at least get some
> numbers here by the end of the day. Possibly patches; what's our
> preferred solution to failures: fix the code (within reason), or
> -std=c++98?


If the difference is interesting, test it in both modes. If the test is
C++98-specific or has uninteresting diagnostic differences, -std=c++98.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170518/e588f48d/attachment.html>


More information about the cfe-dev mailing list