From f2fc5632109a932e0e815983dfd4a190432f3b3a Mon Sep 17 00:00:00 2001 From: trav90 Date: Sun, 4 Mar 2018 15:19:38 -0600 Subject: Disable -Wimplicit-fallthrough in dom/canvas GCC 7 supports the clang option -Wimplicit-fallthrough. --- dom/canvas/moz.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom') 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 += [ -- cgit v1.2.3