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

İsmail Dönmez via cfe-dev cfe-dev at lists.llvm.org
Fri May 19 01:52:21 PDT 2017


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.

Regards,
ismail



More information about the cfe-dev mailing list