Bug 861601 - Suppress gcc -Wmultichar warnings from Android's Stagefright header files. r=doublec,khuey
authorChris Peterson <cpeterson@mozilla.com>
Sat, 13 Apr 2013 22:14:16 -0700
changeset 140484 52fa74fb7b0f96d110fb758405bdf7e7cc8d27b6
parent 140483 445e4da45a6f70cab06055c3159a150abc8565fc
child 140485 7eba4d94e5a7712bdfd3c4ced0d54797d7b33f42
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdoublec, khuey
bugs861601
milestone23.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 861601 - Suppress gcc -Wmultichar warnings from Android's Stagefright header files. r=doublec,khuey
media/omx-plugin/Makefile.in
--- a/media/omx-plugin/Makefile.in
+++ b/media/omx-plugin/Makefile.in
@@ -36,17 +36,18 @@ NO_INSTALL = 1
 CPPSRCS = \
     OmxPlugin.cpp \
     $(NULL)
 
 include $(topsrcdir)/config/rules.mk
 
 ifdef GNU_CXX
 # Turn off C++ 11 features due to conflicts with Android OS headers and char16_t definition
-CXXFLAGS += -std=gnu++98
+# Stagefright header files define many multichar constants.
+CXXFLAGS += -std=gnu++98 -Wno-multichar
 endif
 
 INCLUDES        += \
                 -I$(srcdir)/../../content/media/plugins \
                 $(NULL)
 
 ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
 EXTRA_DSO_LDOPTS += \