[compiler] disable C++ warnings

Projects are set to require C++ 17, so disable all warnings complaining
about compatibility with previous versions of the standard.
This commit is contained in:
Armin Novak 2024-09-18 11:41:50 +02:00 committed by akallabeth
parent 02b98e9287
commit 107a8d9f48
No known key found for this signature in database
GPG Key ID: A49454A3FC909FD5
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ if (ENABLE_WARNING_VERBOSE)
-Wno-covered-switch-default
-Wno-disabled-macro-expansion
-Wno-ctad-maybe-unsupported
-Wno-c++98-compat
-Wno-c++98-compat-pedantic
-Wno-pre-c++17-compat
)
endif()