mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
Always compile with "-Wno-missing-braces", as the warnings it hides are useless. "-Wmissing-field-initializers" (part of "-Wextra") should cover us.
git-svn-id: https://svn.eduke32.com/eduke32@5382 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6f51a571aa
commit
d7f82d9898
1 changed files with 2 additions and 1 deletions
|
@ -525,6 +525,7 @@ CWARNS := -W -Wall \
|
|||
-Wpointer-arith \
|
||||
-Wextra \
|
||||
-Wno-char-subscripts \
|
||||
-Wno-missing-braces \
|
||||
#-Wstrict-prototypes \
|
||||
#-Waggregate-return \
|
||||
#-Wwrite-strings \
|
||||
|
@ -532,7 +533,7 @@ CWARNS := -W -Wall \
|
|||
#-Waddress -Wlogical-op
|
||||
|
||||
ifneq (0,$(CLANG))
|
||||
CWARNS+= -Wno-unused-value -Wno-parentheses -Wno-missing-braces
|
||||
CWARNS+= -Wno-unused-value -Wno-parentheses
|
||||
endif
|
||||
|
||||
COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES)
|
||||
|
|
Loading…
Reference in a new issue