Makefile.common: for Clang, add -Wno-missing-braces.

Because we get spammed otherwise, regarding initializations of 'vec3f_t'
and 'vec3d_t' variables.
Update: actually, it also happens for GCC builds for me.

git-svn-id: https://svn.eduke32.com/eduke32@5133 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2015-04-11 13:53:08 +00:00
parent f74b38bcd8
commit 52e2ff4be1

View file

@ -531,7 +531,7 @@ CWARNS := -W -Wall \
#-Waddress -Wlogical-op #-Waddress -Wlogical-op
ifneq (0,$(CLANG)) ifneq (0,$(CLANG))
CWARNS+= -Wno-unused-value -Wno-parentheses CWARNS+= -Wno-unused-value -Wno-parentheses -Wno-missing-braces
endif endif
COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES) COMMONFLAGS+= -funsigned-char -fno-strict-aliasing $(F_JUMP_TABLES)