[Interest] Can I get c++14 instead of g++14?
Nikos Chantziaras
realnc at gmail.com
Sun Mar 27 08:16:38 CEST 2016
On 27/03/16 08:55, Thiago Macieira wrote:
> On domingo, 27 de março de 2016 05:53:59 PDT Nikos Chantziaras wrote:
>> After upgrading to Qt 5.6.0 on Linux, when I do:
>>
>> CONFIG += c++14
>>
>> in my project file, the build uses -std=gnu++14. Do I have to manually
>> remove that and use -std=c++14, or is there a way to tell qmake to not
>> enable GNU extensions without me saying so?
>
> Yes. It's in the changelog.
> http://code.qt.io/cgit/qt/qtbase.git/tree/dist/changes-5.6.0?h=v5.6.0#n481
>
> - By default, GNU extensions are now enabled with Clang, GCC, and ICC
> even in C++11 and C++14 modes. To disable the GNU extensions, add
> CONFIG+=strict_c++ to your .pro file.
Thanks!
More information about the Interest
mailing list