mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 14:42:26 +00:00
Enable more warnings with GCC
This commit is contained in:
parent
353c42effe
commit
ba3cac994e
2
Makefile
2
Makefile
@ -24,7 +24,7 @@ ifeq "$(HAVE_GCC)" "1"
|
||||
CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder
|
||||
# Enable even more warnings...
|
||||
CXXFLAGS+= -Wpointer-arith -Wcast-qual
|
||||
CXXFLAGS+= -Wshadow -Wnon-virtual-dtor -Wwrite-strings
|
||||
CXXFLAGS+= -Wshadow -Wnon-virtual-dtor -Wwrite-strings -Wextra -pedantic
|
||||
|
||||
# Currently we disable this gcc flag, since it will also warn in cases,
|
||||
# where using GCC_PRINTF (means: __attribute__((format(printf, x, y))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user