]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cmake: enable `-Wall` for MSVC 1944
authorViktor Szakats <commit@vsz.me>
Mon, 4 Aug 2025 14:33:18 +0000 (16:33 +0200)
committerViktor Szakats <commit@vsz.me>
Mon, 4 Aug 2025 17:08:27 +0000 (19:08 +0200)
MSVC=1944 is now tested in CI. It did not trigger new `-Wall` compiler
warnings, thus safe to enable `-Wall` for.

Closes #18165

CMake/PickyWarnings.cmake

index 7838f6f8ba9e9e43d53064a2c2b684e1c1a459eb..f67576d681236bbda000bac90b882ef19f0cf418 100644 (file)
@@ -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)'