diff options
author | Thiago Macieira <thiago@macieira.org> | 2013-10-08 23:44:45 -0700 |
---|---|---|
committer | Thiago Macieira <thiago@macieira.org> | 2013-10-08 23:44:45 -0700 |
commit | f51f5d581ed14363e6ebc6684d5904e7d59616c4 (patch) | |
tree | ad46504b910f3cc0fb4d710547c5ab99a3ee2a3a | |
parent | 3cbd961ce341424fc730b0711efcb1318e8169ac (diff) | |
download | subsurface-f51f5d581ed14363e6ebc6684d5904e7d59616c4.tar.gz |
Don't turn warnings on in Subsurface's build
We're getting a ton of them and they're mostly harmless. I've already
turned on the ones that are problematic (with -Werror even).
Signed-off-by: Thiago Macieira <thiago@macieira.org>
-rw-r--r-- | subsurface-configure.pri | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri index 93f14003c..ef4bb8e65 100644 --- a/subsurface-configure.pri +++ b/subsurface-configure.pri @@ -8,6 +8,9 @@ *-g++*: QMAKE_CFLAGS += -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=implicit-int !win32-msvc*: QMAKE_CFLAGS += -std=gnu99 +# Don't turn warnings on (but don't suppress them either) +CONFIG -= warn_on warn_off + # Check if we have pkg-config equals($$QMAKE_HOST.os, "Windows"):NUL=NUL else:NUL=/dev/null |