diff options
author | trav90 <travawine@openmailbox.org> | 2018-03-04 15:27:53 -0600 |
---|---|---|
committer | trav90 <travawine@openmailbox.org> | 2018-03-04 15:27:53 -0600 |
commit | 3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738 (patch) | |
tree | 0e851648a41e95504dd487771f1bf23811692bc7 /parser | |
parent | daab331cf5cfda7bdfa523c1816ba818d260b4b2 (diff) | |
download | UXP-3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738.tar UXP-3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738.tar.gz UXP-3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738.tar.lz UXP-3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738.tar.xz UXP-3bb7b8e11e34ec8a0de43e6c6fac2ec38b6ee738.zip |
Disable -Wimplicit-fallthrough in parser/html
GCC 7 supports the clang option -Wimplicit-fallthrough.
Diffstat (limited to 'parser')
-rw-r--r-- | parser/html/moz.build | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/parser/html/moz.build b/parser/html/moz.build index 2b351f084..4a2da8a79 100644 --- a/parser/html/moz.build +++ b/parser/html/moz.build @@ -98,7 +98,6 @@ LOCAL_INCLUDES += [ '/dom/base', ] -if CONFIG['GNU_CXX']: - CXXFLAGS += ['-Wno-error=shadow'] - if CONFIG['CLANG_CXX']: - CXXFLAGS += ['-Wno-implicit-fallthrough'] +if CONFIG['GNU_CXX'] or CONFIG['CLANG_CXX']: + CXXFLAGS += ['-Wno-error=shadow', + '-Wno-implicit-fallthrough'] |