diff options
author | trav90 <travawine@openmailbox.org> | 2018-03-04 15:24:28 -0600 |
---|---|---|
committer | trav90 <travawine@openmailbox.org> | 2018-03-04 15:24:28 -0600 |
commit | 704ce7d91c6cbad84cf2213f5ee55f9ccba28647 (patch) | |
tree | 580345fdb172a5aaeb25e7af81f5213b5bccc8ec /toolkit/crashreporter | |
parent | f2fc5632109a932e0e815983dfd4a190432f3b3a (diff) | |
download | uxp-704ce7d91c6cbad84cf2213f5ee55f9ccba28647.tar.gz |
Disable -Wimplicit-fallthrough in jsoncpp
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'toolkit/crashreporter')
-rw-r--r-- | toolkit/crashreporter/jsoncpp/src/lib_json/moz.build | 5 |
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', + ] |