From 4cfa6ab9ddde22edcf897690d300222fe305fbfd Mon Sep 17 00:00:00 2001 From: Raymond Zhao <7199958+rzhao271@users.noreply.github.com> Date: Fri, 10 May 2024 09:18:06 -0700 Subject: [PATCH] Disable C4191 warnings --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e482540..f8d2154 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()