qt5base-lts/mkspecs/common
Thiago Macieira ff44440651 Make CONFIG += c++11 by default not disable GNU extensions
Prefer -std=gnu++11 unless strict_c++11 is defined. You can enable
strict C++11/C++14 mode by using
   CONFIG += strict_c++

That is enabled for Qt's own code, so we we don't accidentally use GNU
extensions in portable code.

There's no support for strict C++98 mode (that is, the -ansi option).

[ChangeLog][qmake] 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 to your .pro file: CONFIG += strict_c++.

Change-Id: Ib056b47dde3341ef9a52ffff13ef14de2169bef5
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-07-17 17:36:27 +00:00
..
aix Update copyright headers 2015-02-11 06:49:51 +00:00
android Update copyright headers 2015-02-11 06:49:51 +00:00
c89 Update copyright headers 2015-02-11 06:49:51 +00:00
ios iOS: remove unrecognized compiler flag '-fno-arc-abi' 2015-06-29 15:18:29 +00:00
mac Update copyright headers 2015-02-11 06:49:51 +00:00
nacl Update copyright headers 2015-02-11 06:49:51 +00:00
posix Update copyright headers 2015-02-11 06:49:51 +00:00
qnx Update copyright headers 2015-02-11 06:49:51 +00:00
wince centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
winrt_winphone WinRT: Add qmake support for Windows 10 2015-05-26 11:09:41 +00:00
armcc.conf Fix '=' alignment and replace tabs in *.conf (whitespace only change) 2013-03-27 17:16:37 +01:00
clang-mac.conf Make CONFIG += c++11 by default not disable GNU extensions 2015-07-17 17:36:27 +00:00
clang.conf Make CONFIG += c++11 by default not disable GNU extensions 2015-07-17 17:36:27 +00:00
g++-base.conf Make CONFIG += c++11 by default not disable GNU extensions 2015-07-17 17:36:27 +00:00
g++-macx.conf Remove the -load_all option from the linker enabling static builds 2015-01-07 09:57:07 +01:00
g++-unix.conf Fix '=' alignment and replace tabs in *.conf (whitespace only change) 2013-03-27 17:16:37 +01:00
g++.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
gcc-base-mac.conf Add __APPLE_CC_ to QMAKE_COMPILER_DEFINES for moc.prf 2015-03-04 22:13:41 +00:00
gcc-base-unix.conf rpath: use new DTAGS if available 2015-05-05 12:04:15 +00:00
gcc-base.conf Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
ios.conf Fix '=' alignment and replace tabs in *.conf (whitespace only change) 2013-03-27 17:16:37 +01:00
linux-android.conf purge vestiges of opengl es 1 support 2014-04-04 19:32:21 +02:00
linux.conf centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
llvm.conf Refer to Apple products by their actual names. 2013-07-10 17:32:48 +02:00
mac.conf Enable rpath support on OS X and iOS platform 2014-08-09 15:37:39 +02:00
macx.conf Merge "Merge branch 'stable' into dev" into refs/staging/dev 2013-07-12 14:03:21 +02:00
msvc-desktop.conf fix C4275 warnings for MSVC 2010 build 2015-03-28 02:34:06 +00:00
qcc-base-qnx-armle-v7.conf QNX: enable Neon support to be compiled in for QNX 2015-03-09 14:19:24 +00:00
qcc-base-qnx-x86.conf Add QMAKE_NM to the mkspecs 2013-06-10 16:46:06 +02:00
qcc-base-qnx.conf make QMAKE_DIRLIST_SEP consistent with QMAKE_DIR_SEP 2014-04-30 16:57:01 +02:00
qcc-base.conf Merge remote-tracking branch 'origin/5.4' into merge5.5 2015-05-08 13:26:44 +02:00
sanitize.conf Add support for gcc/clang's sanitize features 2014-10-02 19:45:00 +02:00
shell-unix.conf centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
shell-win32.conf centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00
unix.conf centralize setup of shell-related variables in spec_post.prf 2015-03-06 19:08:40 +00:00