diff options
author | trav90 <travawine@protonmail.ch> | 2018-08-10 15:08:10 -0500 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2018-08-10 15:08:10 -0500 |
commit | 3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa (patch) | |
tree | 141723c49f371d5e06fcd40fb7f25ae250e94142 /build/moz.configure | |
parent | e7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb (diff) | |
download | UXP-3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa.tar UXP-3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa.tar.gz UXP-3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa.tar.lz UXP-3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa.tar.xz UXP-3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa.zip |
Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
Diffstat (limited to 'build/moz.configure')
-rw-r--r-- | build/moz.configure/warnings.configure | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/moz.configure/warnings.configure b/build/moz.configure/warnings.configure index 273a41bd9..94ad3fa79 100644 --- a/build/moz.configure/warnings.configure +++ b/build/moz.configure/warnings.configure @@ -101,6 +101,9 @@ check_and_add_gcc_warning('-Wno-error=coverage-mismatch', when='MOZ_PGO') # false positives during PGO check_and_add_gcc_warning('-Wno-error=free-nonheap-object', when='MOZ_PGO') +# Would be a pain to fix all occurrences, for very little gain +check_and_add_gcc_warning('-Wno-error=multistatement-macros') + # We use mix of both POSIX and Win32 printf format across the tree, so format # warnings are useless on mingw. check_and_add_gcc_warning('-Wno-format', |