summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:24:28 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:24:28 -0600
commitc92b8f32d5098df5be2554369c1d71f7c954ad7f (patch)
tree580345fdb172a5aaeb25e7af81f5213b5bccc8ec /toolkit
parent9d71d801f6a244a86e25c304fec3dafa1501818b (diff)
downloaduxp-c92b8f32d5098df5be2554369c1d71f7c954ad7f.tar.gz
Disable -Wimplicit-fallthrough in jsoncpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/crashreporter/jsoncpp/src/lib_json/moz.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/toolkit/crashreporter/jsoncpp/src/lib_json/moz.build b/toolkit/crashreporter/jsoncpp/src/lib_json/moz.build
index 2d51c2ce31..c5c2a29801 100644
--- a/toolkit/crashreporter/jsoncpp/src/lib_json/moz.build
+++ b/toolkit/crashreporter/jsoncpp/src/lib_json/moz.build
@@ -32,3 +32,8 @@ DISABLE_STL_WRAPPING = True
Library('jsoncpp')
include('/toolkit/crashreporter/crashreporter.mozbuild')
+
+if CONFIG['CLANG_CXX'] or CONFIG['CLANG_CL'] or CONFIG['GNU_CXX']:
+ CXXFLAGS += [
+ '-Wno-implicit-fallthrough',
+ ]