From f268426d30222e90b250c6b2ca4449fd8f148fea Mon Sep 17 00:00:00 2001 From: Roman Fomin Date: Thu, 22 Feb 2024 09:33:39 +0700 Subject: [PATCH] ignore warning C4090 for now --- cmake/WoofSettings.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/WoofSettings.cmake b/cmake/WoofSettings.cmake index d1456b15..7cc3b62c 100644 --- a/cmake/WoofSettings.cmake +++ b/cmake/WoofSettings.cmake @@ -68,6 +68,8 @@ if(MSVC) # Using the token operator to compare signed and unsigned numbers required # the compiler to convert the signed value to unsigned. _checked_add_compile_option(/wd4018) + # Different 'modifier' qualifiers (const, volatile). For older MSVC versions. + _checked_add_compile_option(/wd4090) # Extra warnings for clang-cl.exe - prevents warning spam in SDL headers. _checked_add_compile_option(-Wno-pragma-pack)