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

David Chisnall via cfe-dev cfe-dev at lists.llvm.org
Sat May 20 06:39:52 PDT 2017


On 19 May 2017, at 09:52, İsmail Dönmez <ismail at i10z.com> wrote:
> 
> On Fri, May 19, 2017 at 10:46 AM, David Chisnall via cfe-dev
> <cfe-dev at lists.llvm.org> wrote:
>> On 19 May 2017, at 02:56, Richard Smith via cfe-dev <cfe-dev at lists.llvm.org> 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). Sooner is better: we need as much time as possible to fix any issues uncovered prior to Clang 5. Sadly I don't have time to work on this right now; volunteers would be very welcome!
>> 
>> If there is a patch, we can try applying it to the base system compiler and clang from ports and try building the FreeBSD ports collection.  My expectation is that we’ll have to fix a few thousand ports and this will cause us vast quantities of pain for no practical benefit, but we can run the experiment...
> 
> You can always set distribution-wide CXXFLAGS to include -std=c++98,
> same happens on Linux when we upgrade to a new and shiny gcc. Nothing
> new here.

If only the set of things that respected CXXFLAGS and the set of things likely to break with a newer default dialect were significantly overlapping.

David




More information about the cfe-dev mailing list