summaryrefslogtreecommitdiffstats
path: root/toolkit/crashreporter/jsoncpp/src
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
commit704ce7d91c6cbad84cf2213f5ee55f9ccba28647 (patch)
tree580345fdb172a5aaeb25e7af81f5213b5bccc8ec /toolkit/crashreporter/jsoncpp/src
parentf2fc5632109a932e0e815983dfd4a190432f3b3a (diff)
downloadUXP-704ce7d91c6cbad84cf2213f5ee55f9ccba28647.tar
UXP-704ce7d91c6cbad84cf2213f5ee55f9ccba28647.tar.gz
UXP-704ce7d91c6cbad84cf2213f5ee55f9ccba28647.tar.lz
UXP-704ce7d91c6cbad84cf2213f5ee55f9ccba28647.tar.xz
UXP-704ce7d91c6cbad84cf2213f5ee55f9ccba28647.zip
Disable -Wimplicit-fallthrough in jsoncpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'toolkit/crashreporter/jsoncpp/src')
-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 2d51c2ce3..c5c2a2980 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',
+ ]