mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 19:30:41 +00:00
After discussing with Max, disable -Wmissing-format-attribute again. Also added a comment explaining why it is disabled.
svn-id: r42107
This commit is contained in:
parent
eeb5ba9d50
commit
c48f71edf4
7
Makefile
7
Makefile
@ -26,7 +26,12 @@ CXXFLAGS+= -Wno-long-long -Wno-multichar -Wno-unknown-pragmas -Wno-reorder
|
||||
# Enable even more warnings...
|
||||
CXXFLAGS+= -Wpointer-arith -Wcast-qual -Wcast-align
|
||||
CXXFLAGS+= -Wshadow -Wimplicit -Wnon-virtual-dtor -Wwrite-strings
|
||||
CXXFLAGS+= -Wmissing-format-attribute
|
||||
|
||||
# Currently we disable this gcc flag, since it will also warn in cases,
|
||||
# where using GCC_PRINTF (means: __attribute__((format(printf, x, y))))
|
||||
# is not possible, thus it would fail compiliation with -Werror without
|
||||
# being helpful.
|
||||
#CXXFLAGS+= -Wmissing-format-attribute
|
||||
|
||||
# Disable RTTI and exceptions, and enabled checking of pointers returned by "new"
|
||||
CXXFLAGS+= -fno-rtti -fno-exceptions -fcheck-new
|
||||
|
Loading…
Reference in New Issue
Block a user