From f51f5d581ed14363e6ebc6684d5904e7d59616c4 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Tue, 8 Oct 2013 23:44:45 -0700 Subject: [PATCH] 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 --- subsurface-configure.pri | 3 +++ 1 file changed, 3 insertions(+) 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