[compiler,warnings] disable -Wlanguage-extension-token

Expression Statements are not supported by ISO C but we require it for
certain macros. Disable this warning as it just yields false positives.
This commit is contained in:
akallabeth 2024-09-20 13:33:05 +02:00
parent 6660119422
commit 516cf54c75
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
2 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@ if (ENABLE_WARNING_VERBOSE)
-Wno-reserved-identifier
-Wno-covered-switch-default
-Wno-disabled-macro-expansion
-Wno-language-extension-token
-Wno-ctad-maybe-unsupported
-Wno-c++98-compat
-Wno-c++98-compat-pedantic

View File

@ -43,6 +43,7 @@ if (ENABLE_WARNING_VERBOSE)
-Wno-reserved-identifier
-Wno-covered-switch-default
-Wno-disabled-macro-expansion
-Wno-language-extension-token
)
endif()