Bug 1366498 - Don't fail the build on -Werror=format-overflow for webrtc r?jesup draft
authorSylvestre Ledru <sledru@mozilla.com>
Sat, 20 May 2017 17:32:11 +0200
changeset 581978 a41b202c0bedfd2c7244ba27be5972d249135e06
parent 581977 9dc0a96901098ceafdda821d885e0adf12dedbb6
child 629639 8f0165ca4a03e0cb1e308971535c6ed1ceec8164
push id59939
push userbmo:sledru@mozilla.com
push dateSat, 20 May 2017 15:36:40 +0000
reviewersjesup
bugs1366498
milestone55.0a1
Bug 1366498 - Don't fail the build on -Werror=format-overflow for webrtc r?jesup MozReview-Commit-ID: LKyEjTWJB7K
dom/media/webrtc/moz.build
--- a/dom/media/webrtc/moz.build
+++ b/dom/media/webrtc/moz.build
@@ -70,16 +70,17 @@ include('/ipc/chromium/chromium-config.m
 # Suppress some GCC/clang warnings being treated as errors:
 #  - about attributes on forward declarations for types that are already
 #    defined, which complains about important MOZ_EXPORT attributes for
 #    android API types
 if CONFIG['GNU_CC'] or CONFIG['CLANG_CL']:
     CXXFLAGS += [
         '-Wno-error=attributes',
         '-Wno-error=shadow',
+        '-Wno-error=format-overflow',
     ]
 
 FINAL_LIBRARY = 'xul'
 
 if CONFIG['_MSC_VER']:
     CXXFLAGS += [
         '-wd4275', # non dll-interface class used as base for dll-interface class
         '-wd4312', # This is intended as a temporary hack to support building with VS2015