Bug 986788 - Suppress clang and gcc warnings in third-party code: MurmurHash3. r=bjacob
authorChris Peterson <cpeterson@mozilla.com>
Thu, 20 Mar 2014 21:39:32 -0700
changeset 175263 ea18c680778f64e9041a1338128962942eeb6fb8
parent 175262 cc6d4225d0914d6545a1f97ac51ea62dc7e6a785
child 175264 bd2e7aa5a9746c565a2090194c5f14a8c84700f5
push idunknown
push userunknown
push dateunknown
reviewersbjacob
bugs986788
milestone31.0a1
Bug 986788 - Suppress clang and gcc warnings in third-party code: MurmurHash3. r=bjacob
gfx/angle/moz.build
--- a/gfx/angle/moz.build
+++ b/gfx/angle/moz.build
@@ -130,13 +130,14 @@ FINAL_LIBRARY = 'gkmedias'
 
 DEFINES['ANGLE_DISABLE_TRACE'] = True
 DEFINES['ANGLE_COMPILE_OPTIMIZATION_LEVEL'] = 'D3DCOMPILE_OPTIMIZATION_LEVEL1'
 DEFINES['COMPILER_IMPLEMENTATION'] = True
 
 # Suppress warnings in third-party code.
 if CONFIG['GNU_CXX']:
     CXXFLAGS += [
+        '-Wno-attributes',
         '-Wno-sign-compare',
         '-Wno-unknown-pragmas',
     ]
     if CONFIG['CLANG_CXX']:
         CXXFLAGS += ['-Wno-unused-private-field']