forked from mirrors/gecko-dev
Bug 1860360 - Disable -Wvla-cxx-extension warning in clang 18. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D191701
This commit is contained in:
parent
ffdc4971dc
commit
fe7541075c
1 changed files with 4 additions and 0 deletions
|
|
@ -309,6 +309,10 @@ check_and_add_warning("-Werror=unguarded-availability-new", when=target_is_osx)
|
||||||
# fixed, disable the new warning.
|
# fixed, disable the new warning.
|
||||||
check_and_add_warning("-Wno-error=builtin-macro-redefined")
|
check_and_add_warning("-Wno-error=builtin-macro-redefined")
|
||||||
|
|
||||||
|
# clang 18 has a new warning about VLAs being an extension in C++, but we
|
||||||
|
# have a number of them.
|
||||||
|
check_and_add_warning("-Wno-vla-cxx-extension", cxx_compiler)
|
||||||
|
|
||||||
# Please keep the following last in this file
|
# Please keep the following last in this file
|
||||||
|
|
||||||
# Avoid requiring complicated logic for extra warning flags in moz.build files.
|
# Avoid requiring complicated logic for extra warning flags in moz.build files.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue