diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-11-28 12:13:37 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-28 15:29:18 -0800 |
commit | af970206347829e2da81fe15d161dd2550a09499 (patch) | |
tree | cb557a9d3626a26b8facc9cdc18422be02515890 | |
parent | d0f807f0eda281e65d3d1c24d5d2cce1f7381479 (diff) | |
download | subsurface-af970206347829e2da81fe15d161dd2550a09499.tar.gz |
subsurface-configure.pri: exclude -Wno-maybe-uninitialized on win32
On native Windows the suggested compiler for Qt4.8 is mingw-gcc-4.4.0,
which does not has the -Wno-maybe-uninitialized flag (yet).
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-configure.pri | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri index e62bd1134..a27f2592a 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -13,7 +13,7 @@ *-g++* | *-clang*: QMAKE_CFLAGS += -Wno-unused-result -Wno-pointer-sign -fno-strict-overflow *-clang*: QMAKE_CFLAGS += -Wno-format-security *-g++*: QMAKE_CXXFLAGS += -fno-strict-overflow -!mac: { +!win32: !mac: { *-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized *-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized } |