diff options
author | Kai Koehne <kai.koehne@qt.io> | 2018-01-11 12:09:00 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2018-01-11 12:18:57 +0000 |
commit | 24b2599b91c51ae4b7f2c161cf46696bbde67624 (patch) | |
tree | 8c087d40fe1585d081a4998b3e1ba8bf239b78a4 /src/quick3d/quick3dextras | |
parent | 1d874d33da9174a82fccc266c66a22af006ac8ef (diff) |
Remove hardcoded C++ version for MinGW/GCC
This was apparently needed for older MinGW-w64 headers that did not
properly define some common system functions otherwise. Anyhow, it is
not required anymore for newer MinGW-w64, and actually breaks
compilation with gcc 6 and newer: There we enable shift-overflow=2,
which also warns about shifting into the sign bit for C++11, but not
for C++14.
Task-number: QTBUG-60249
Change-Id: I53bc858c6f8baf9b60940904b3b28f7a49ab28e6
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/quick3d/quick3dextras')
-rw-r--r-- | src/quick3d/quick3dextras/quick3dextras.pro | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/quick3d/quick3dextras/quick3dextras.pro b/src/quick3d/quick3dextras/quick3dextras.pro index f89a93e8e..bf28b4e4c 100644 --- a/src/quick3d/quick3dextras/quick3dextras.pro +++ b/src/quick3d/quick3dextras/quick3dextras.pro @@ -27,9 +27,6 @@ HEADERS += \ qt3dquickwindow_p.h \ qt3dquickwindowlogging_p.h -# otherwise mingw headers do not declare common functions like ::strcasecmp -win32-g++*:QMAKE_CXXFLAGS_CXX11 = -std=gnu++0x - include(./items/items.pri) load(qt_module) |