mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-27 02:47:31 +09:00
Disable -Werror on -Wmultistatement-macros
Silences compiler warning spam with GCC 8.
This commit is contained in:
parent
a52bf9e82b
commit
8c17dc77d0
1 changed files with 3 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue