Bug 831879 - Disable "maybe used uninitialized" warnings in dom/bindings; r=khuey

This commit is contained in:
Ms2ger 2013-03-10 08:58:21 +01:00
parent 7346e6fa49
commit e3e205a06e
2 changed files with 8 additions and 0 deletions

View File

@ -117,6 +117,10 @@ EXPORTS_GENERATED_DEST := $(DIST)/include/$(binding_include_path)
EXPORTS_GENERATED_TARGET := webidl-export
INSTALL_TARGETS += EXPORTS_GENERATED
ifdef GNU_CC
CXXFLAGS += -Wno-uninitialized
endif
include $(topsrcdir)/config/rules.mk
# We need to create a separate target so we can ensure that the pickle is

View File

@ -73,6 +73,10 @@ MOCHITEST_CHROME_FILES = \
test_bug775543.html \
$(NULL)
ifdef GNU_CC
CXXFLAGS += -Wno-uninitialized
endif
# Include rules.mk before any of our targets so our first target is coming from
# rules.mk and running make with no target in this dir does the right thing.
include $(topsrcdir)/config/rules.mk