Bug 1019050 - Fix unused-local-typedefs warning/error after WebRTC update. r=jesup, r=gps
authorJim Chen <nchen@mozilla.com>
Wed, 04 Jun 2014 16:46:00 -0400
changeset 186867 5fb57bc2a2135b27307a0aa1ca3094160d531b49
parent 186866 81f9c2027bc878c6c1ae2a3c591de2a5d576a7fd
child 186868 2eb0ae4b9e79dcd6ee23624f142f94a1e179391a
push id26903
push userkwierso@gmail.com
push dateFri, 06 Jun 2014 01:31:27 +0000
treeherdermozilla-central@c08a299f2163 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup, gps
bugs1019050
milestone32.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 1019050 - Fix unused-local-typedefs warning/error after WebRTC update. r=jesup, r=gps
dom/media/moz.build
--- a/dom/media/moz.build
+++ b/dom/media/moz.build
@@ -7,16 +7,21 @@
 if CONFIG['MOZ_WEBRTC']:
     DIRS += ['bridge']
 
     LOCAL_INCLUDES += [
         '/media/webrtc/signaling/src/common',
         '/media/webrtc/trunk',
     ]
 
+    if CONFIG['GNU_CXX']:
+        CXXFLAGS += [
+            '-Wno-unused-local-typedefs', # Workaround until we fix bug 1020661
+        ]
+
 TEST_DIRS += ['tests/mochitest', 'tests/ipc', 'tests/identity']
 
 XPIDL_SOURCES += [
     'nsIDOMMediaStream.idl',
     'nsIDOMNavigatorUserMedia.idl',
     'nsIMediaManager.idl',
 ]