Bug 1345186: Suppress -Wunused-function build warnings in third-party libstagefright C code. r=mshal
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 07 Mar 2017 15:02:45 -0800
changeset 394516 c3dae108363cdbe9a5931bd19546b891654a7640
parent 394515 bc2f8a0c7d9a6aa5d683b1826c6c2d40c4d7ef48
child 394517 00daf2c5342aff12fc28c03f254dcea5440b6cd6
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1345186
milestone55.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 1345186: Suppress -Wunused-function build warnings in third-party libstagefright C code. r=mshal MozReview-Commit-ID: EO0XTMTdyoG
media/libstagefright/moz.build
--- a/media/libstagefright/moz.build
+++ b/media/libstagefright/moz.build
@@ -149,17 +149,18 @@ if CONFIG['_MSC_VER']:
         '-wd4309', # '=' : truncation of constant value
         '-wd4355', # 'this' : used in base member initializer list
         '-wd4804', # '>' : unsafe use of type 'bool' in operation
         '-wd4099', # mismatched class/struct tags
     ]
 elif CONFIG['GNU_CXX']:
     CFLAGS += [
         '-Wno-comment',
-        '-Wno-sign-compare'
+        '-Wno-sign-compare',
+        '-Wno-unused-function',
     ]
     CXXFLAGS += [
         '-Wno-format',
         '-Wno-format-security',
         '-Wno-multichar',
         '-Wno-sign-compare',
         '-Wno-unused',
     ]