summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrav90 <travawine@openmailbox.org>2018-03-04 15:19:38 -0600
committertrav90 <travawine@openmailbox.org>2018-03-04 15:19:38 -0600
commitf2fc5632109a932e0e815983dfd4a190432f3b3a (patch)
treeb057ea3b3d8d9162e995c10c9e88ae2fab4424eb
parenta973e506c148589593226c1f0ccfbed59fff8790 (diff)
downloadUXP-f2fc5632109a932e0e815983dfd4a190432f3b3a.tar
UXP-f2fc5632109a932e0e815983dfd4a190432f3b3a.tar.gz
UXP-f2fc5632109a932e0e815983dfd4a190432f3b3a.tar.lz
UXP-f2fc5632109a932e0e815983dfd4a190432f3b3a.tar.xz
UXP-f2fc5632109a932e0e815983dfd4a190432f3b3a.zip
Disable -Wimplicit-fallthrough in dom/canvas
GCC 7 supports the clang option -Wimplicit-fallthrough.
-rw-r--r--dom/canvas/moz.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/canvas/moz.build b/dom/canvas/moz.build
index 2b2ceba52..55153c70b 100644
--- a/dom/canvas/moz.build
+++ b/dom/canvas/moz.build
@@ -162,7 +162,7 @@ SOURCES += [
]
# Suppress warnings from third-party code.
-if CONFIG['CLANG_CXX']:
+if CONFIG['CLANG_CXX'] or CONFIG['GNU_CXX']:
SOURCES['MurmurHash3.cpp'].flags += ['-Wno-implicit-fallthrough']
LOCAL_INCLUDES += [