mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
3cbd961ce3
commit
f51f5d581e
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
||||||
*-g++*: QMAKE_CFLAGS += -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=implicit-int
|
*-g++*: QMAKE_CFLAGS += -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=implicit-int
|
||||||
!win32-msvc*: QMAKE_CFLAGS += -std=gnu99
|
!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
|
# Check if we have pkg-config
|
||||||
equals($$QMAKE_HOST.os, "Windows"):NUL=NUL
|
equals($$QMAKE_HOST.os, "Windows"):NUL=NUL
|
||||||
else:NUL=/dev/null
|
else:NUL=/dev/null
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue