Disable -Werror on -Wmultistatement-macros

Silences compiler warning spam with GCC 8.
This commit is contained in:
trav90 2018-08-10 15:08:10 -05:00 • committed by Roy Tam
commit 8c17dc77d0

View file

@ -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',