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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to