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

Hal Finkel via cfe-dev cfe-dev at lists.llvm.org
Mon Mar 6 06:37:48 PST 2017


On 03/06/2017 04:22 AM, Piotr Padlewski via cfe-dev wrote:
> I belive that users will expect to compile C++11 code on default 
> because of GCC. I think moving to C++14 (with the Richard's policy 
> from June) is a good choice, because of user experiance of developers 
> (specially new). Is there a list of things that might break after 
> switching to C++11? I wonder how much bugs could be found easily by 
> clang-tidy (or to implement it as clang warning), so that prior to 
> switch users would know what would break.

There is a pretty good list in Appendix C of the C++ standard. Also, see:

http://stackoverflow.com/questions/6399615/what-breaking-changes-are-introduced-in-c11

which summarizes most of those and covers some others.

  -Hal

>
> Piotr
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev

-- 
Hal Finkel
Lead, Compiler Technology and Programming Languages
Leadership Computing Facility
Argonne National Laboratory

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170306/7fde8950/attachment.html>


More information about the cfe-dev mailing list