summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authortrav90 <travawine@protonmail.ch>2018-08-10 15:08:10 -0500
committertrav90 <travawine@protonmail.ch>2018-08-10 15:08:10 -0500
commit3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa (patch)
tree141723c49f371d5e06fcd40fb7f25ae250e94142 /build
parente7fa5e7cb16bd39b0983386d36a88c6c3cac1bbb (diff)
downloaduxp-3aa84bd5c0c06b0bb6b99f0553cee5a827770ffa.tar.gz
Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
Diffstat (limited to 'build')
-rw-r--r--build/moz.configure/warnings.configure3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/moz.configure/warnings.configure b/build/moz.configure/warnings.configure
index 273a41bd91..94ad3fa79b 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',