1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-10-24 14:53:03 +03:00

cmake: enable picky warnings for MSC_VERSION=1944

Closes #1687
This commit is contained in:
Viktor Szakats
2025-09-27 21:51:57 +02:00
parent 31f23ac017
commit 549d90b83e

View File

@@ -251,7 +251,7 @@ if(PICKY_COMPILER)
list(APPEND _picky "${_ccopt}") list(APPEND _picky "${_ccopt}")
endif() endif()
endforeach() endforeach()
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 "-Wall")
list(APPEND _picky "-wd4061") # enumerator 'A' in switch of enum 'B' is not explicitly handled by a case label 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)' list(APPEND _picky "-wd4191") # 'type cast': unsafe conversion from 'FARPROC' to 'void (__cdecl *)(void)'