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:
Mike Hommey 2023-10-24 05:48:56 +00:00
parent ffdc4971dc
commit fe7541075c

View file

@ -309,6 +309,10 @@ check_and_add_warning("-Werror=unguarded-availability-new", when=target_is_osx)
# fixed, disable the new warning.
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
# Avoid requiring complicated logic for extra warning flags in moz.build files.