mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-03 15:43:09 +00:00
Turn down warnings (after going through them)
This was getting way too noisy with tons of false positives. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
cfbbf1bffe
commit
97f3b3b747
1 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,14 @@
|
||||||
# - casting from integers to pointers or vice-versa without an explicit cast
|
# - casting from integers to pointers or vice-versa without an explicit cast
|
||||||
# Also turn on C99 mode with GNU extensions
|
# Also turn on C99 mode with GNU extensions
|
||||||
*-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
|
||||||
|
|
||||||
|
# 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++*: QMAKE_CFLAGS += -Wno-unused-result -Wno-maybe-uninitialized -Wno-pointer-sign -fno-strict-overflow
|
||||||
|
*-g++*: QMAKE_CXXFLAGS += -Wno-maybe-uninitialized -fno-strict-overflow
|
||||||
|
|
||||||
|
|
||||||
!win32-msvc*: QMAKE_CFLAGS += -std=gnu99
|
!win32-msvc*: QMAKE_CFLAGS += -std=gnu99
|
||||||
|
|
||||||
# Don't turn warnings on (but don't suppress them either)
|
# Don't turn warnings on (but don't suppress them either)
|
||||||
|
|
Loading…
Reference in a new issue