qt5base-lts/config.tests/common
Thiago Macieira a03390a8b0 Detect the (stated) C++ standard edition at build time
The configure-time detection (cxx11default) isn't enough if the compiler
can be changed. This is especially necessary if Qt is compiled with a
compiler that defaults to >= C++11 (e.g., GCC 6) and then the user
selects a compiler another compiler (e.g., Clang) via -spec option. In
that case, we'd miss adding the -std=c++11 or -std=gnu++11 option to the
command-line, causing the compilation to fail.

As a nice side-effect, even moc without moc_predefs.h will now get the
__cplusplus setting.

Task-number: QTBUG-58321
Change-Id: I74966ed02f674a7295f8fffd14a8be35da9640e1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-03-31 21:08:32 +00:00
..
atomic64 Merge "Merge remote-tracking branch 'origin/5.6' into dev" into refs/staging/dev 2016-01-26 11:27:37 +00:00
atomicfptr configure: check whether std::atomic<T> works for function pointers 2016-06-09 15:58:23 +00:00
avx Updated license headers 2016-01-15 12:25:24 +00:00
avx2 Update the Intel copyright year 2016-01-21 22:44:16 +00:00
avx512 Update the Intel copyright year 2016-01-21 22:44:16 +00:00
c++1z Update the Intel copyright year 2016-01-21 22:44:16 +00:00
c++14 Update the Intel copyright year 2016-01-21 22:44:16 +00:00
libproxy rewrite library handling in configure 2016-08-18 17:09:52 +00:00
pch Fix issue causing pch configure test to always fail 2016-08-24 20:36:05 +00:00
sse2 Updated license headers 2016-01-15 12:25:24 +00:00
sse3 Updated license headers 2016-01-15 12:25:24 +00:00
sse4_1 Updated license headers 2016-01-15 12:25:24 +00:00
sse4_2 Updated license headers 2016-01-15 12:25:24 +00:00
ssse3 Updated license headers 2016-01-15 12:25:24 +00:00
verifyspec move device spec validation to configure 2016-12-13 18:55:52 +00:00
xlocalescanprint Updated license headers 2016-01-15 12:25:24 +00:00