Remove unintended g++ warnings

This commit is contained in:
Eidolon 2025-09-30 20:18:47 -05:00
parent 0734ffc201
commit c8f986db4d

View file

@ -622,11 +622,10 @@ target_compile_options(SRB2SDL2 PRIVATE
# C++, GNU # C++, GNU
$<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:GNU>>: $<$<AND:$<COMPILE_LANGUAGE:CXX>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wall
-Wno-c++98-compat
-Wno-c++11-compat -Wno-c++11-compat
-Wno-c++14-compat # No C++14 compat needed -Wno-c++14-compat # No C++14 compat needed
-Werror=c++20-extensions -Wc++20-extensions
-Werror=c++23-extensions # Disallow newer language features entirely -Wc++23-extensions # Disallow newer language features entirely
> >
# C++, Clang and Apple Clang # C++, Clang and Apple Clang