mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 831879 - Disable "maybe used uninitialized" warnings in dom/bindings; r=khuey
This commit is contained in:
parent
7346e6fa49
commit
e3e205a06e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user