Bug 1366498 - Don't fail the build on -Werror=format-overflow for webrtc r?jesup
MozReview-Commit-ID: LKyEjTWJB7K
--- 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