summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 13:21:16 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-09 13:21:16 -0700
commitfbb3d80d9bd09b1d6dfa3a40d8c3684d996d4ef0 (patch)
tree1f8ccb1be05e1ceb92da15207d983e08f2e7b2a4 /subsurface-configure.pri
parent3554e1de199848e90a2e3f00db03aa05f52b648b (diff)
downloadsubsurface-fbb3d80d9bd09b1d6dfa3a40d8c3684d996d4ef0.tar.gz
Don't set -Wno-maybe-uninitialized for clang
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri3
1 files changed, 2 insertions, 1 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 484092bbf..c06d1c14d 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -10,7 +10,8 @@
# these warnings are in general just wrong and annoying - but should be
# turned on every once in a while in case they do show the occasional
# actual bug
-*-g++* | *-clang*: QMAKE_CFLAGS += -Wno-unused-result -Wno-maybe-uninitialized -Wno-pointer-sign -fno-strict-overflow
+*-g++* | *-clang*: QMAKE_CFLAGS += -Wno-unused-result -Wno-pointer-sign -fno-strict-overflow
+*-g++*: QMAKE_CFLAGS += -Wno-maybe-uninitialized
*-clang*: QMAKE_CFLAGS += -Wno-format-security
*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized -fno-strict-overflow