From af970206347829e2da81fe15d161dd2550a09499 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Thu, 28 Nov 2013 12:13:37 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface-configure.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsurface-configure.pri') 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 } -- cgit v1.2.3-70-g09d2