Disable C4191 warnings

This commit is contained in:
Raymond Zhao 2024-05-10 09:18:06 -07:00
parent 5ff23accd0
commit 4cfa6ab9dd
No known key found for this signature in database
GPG Key ID: 4DA8A81F5F7FCF93

View File

@ -7,7 +7,7 @@ link_libraries(ws2_32)
link_libraries(synchronization)
if(MSVC)
add_compile_options(/Wall /WX /wd4127 /wd4201 /wd4242 /wd4710 /wd4711 /wd4820)
add_compile_options(/Wall /WX /wd4127 /wd4191 /wd4201 /wd4242 /wd4710 /wd4711 /wd4820)
if(MSVC_VERSION GREATER_EQUAL 1900)
add_compile_options(/wd5045)
endif()