Tests: Fix missing argument removed by -cc1

This argument is removed (or rather, never added) by `-cc1`, which
breaks any builds using GNU libc++, including CI.
This commit is contained in:
Jonne Ransijn 2024-11-20 21:07:58 +01:00 committed by Andrew Kaster
commit 7fcedae610
Notes: github-actions[bot] 2025-04-23 03:21:08 +00:00

View file

@ -11,6 +11,7 @@ list(APPEND CLANG_PLUGINS_COMPILE_OPTIONS_FOR_TESTS
-Wno-literal-range
-Wno-unknown-warning-option
-Wno-unqualified-std-cast-call
-fgnuc-version=4.2.1 # NOTE: Clang default as of 10.0.0
)
# Ensure we always check for invalid function field types regardless of the value of ENABLE_CLANG_PLUGINS_INVALID_FUNCTION_MEMBERS