mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +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
|
@ -5,7 +5,15 @@
|
|||
# - calling implicit functions
|
||||
# - casting from integers to pointers or vice-versa without an explicit cast
|
||||
# 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
|
||||
|
||||
# Don't turn warnings on (but don't suppress them either)
|
||||
|
|
Loading…
Reference in a new issue