From: Viktor Szakats Date: Mon, 4 Aug 2025 14:33:18 +0000 (+0200) Subject: cmake: enable `-Wall` for MSVC 1944 X-Git-Tag: curl-8_16_0~263 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffafec8ffab4201c2b6a5731913fca8df4225273;p=thirdparty%2Fcurl.git cmake: enable `-Wall` for MSVC 1944 MSVC=1944 is now tested in CI. It did not trigger new `-Wall` compiler warnings, thus safe to enable `-Wall` for. Closes #18165 --- diff --git a/CMake/PickyWarnings.cmake b/CMake/PickyWarnings.cmake index 7838f6f8ba..f67576d681 100644 --- a/CMake/PickyWarnings.cmake +++ b/CMake/PickyWarnings.cmake @@ -305,7 +305,7 @@ if(PICKY_COMPILER) list(APPEND _picky "-Wno-conversion") # Avoid false positives endif() endif() - elseif(MSVC AND MSVC_VERSION LESS_EQUAL 1943) # Skip for untested/unreleased newer versions + elseif(MSVC AND MSVC_VERSION LESS_EQUAL 1944) # Skip for untested/unreleased newer versions list(APPEND _picky "-Wall") list(APPEND _picky "-wd4061") # enumerator 'A' in switch of enum 'B' is not explicitly handled by a case label list(APPEND _picky "-wd4191") # 'type cast': unsafe conversion from 'FARPROC' to 'void (__cdecl *)(void)'