Bug 503279: disable spammy 'missing initializer' warning in imported code within gfx. r=jrmuizel

This commit is contained in:
Daniel Holbert 2010-07-13 11:50:18 -07:00
parent 8a5815ebfb
commit 0a2d04e6df
3 changed files with 13 additions and 0 deletions

View File

@ -241,6 +241,11 @@ FORCE_USE_PIC = 1
include $(topsrcdir)/config/rules.mk
# Disable spammy "missing initializer" GCC warning
ifdef GNU_CC
CFLAGS += -Wno-missing-field-initializers
endif # GNU_CC
DEFINES += -DPACKAGE_VERSION="\"moz\"" -DPACKAGE_BUGREPORT="\"http://bugzilla.mozilla.org/\""
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)

View File

@ -180,6 +180,10 @@ include $(topsrcdir)/config/rules.mk
CFLAGS += -DPACKAGE="mozpixman" -D_USE_MATH_DEFINES
# Disable spammy "missing initializer" GCC warning
ifdef GNU_CC
CFLAGS += -Wno-missing-field-initializers
endif # GNU_CC
# special rule for pixman-mmx to get the right cflags
pixman-mmx.$(OBJ_SUFFIX): pixman-mmx.c $(GLOBAL_DEPS)

View File

@ -53,6 +53,10 @@ include $(topsrcdir)/config/rules.mk
CFLAGS += -DMOZ_QCMS
# Disable spammy "missing initializer" GCC warning
ifdef GNU_CC
CFLAGS += -Wno-missing-field-initializers
endif # GNU_CC
# special rules for transform-sse*.c to get the right cflags. (taken from pixman/src/Makefile.in)
transform-sse1.$(OBJ_SUFFIX): transform-sse1.c $(GLOBAL_DEPS)