diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index 6b9396029..f16dff0ab 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -393,8 +393,9 @@ if(OS_WINDOWS) # /wd"4244" = Ignore "conversion possible loss of data" warning # /wd"4512" = Ignore "assignment operator could not be generated" warning # /wd"4701" = Ignore "potentially uninitialized local variable" warning + # /wd"4702" = Ignore "unreachable code" warning # /wd"4996" = Ignore "function or variable may be unsafe" warning - set(CEF_COMPILER_FLAGS "/MP /Gy /GR- /Zi /W4 /WX /wd\"4100\" /wd\"4127\" /wd\"4244\" /wd\"4512\" /wd\"4701\" /wd\"4996\"") + set(CEF_COMPILER_FLAGS "/MP /Gy /GR- /Zi /W4 /WX /wd\"4100\" /wd\"4127\" /wd\"4244\" /wd\"4512\" /wd\"4701\" /wd\"4702\" /wd\"4996\"") # /MTd = Multithreaded debug runtime # /Od = Disable optimizations # /RTC1 = Enable basic run-time checks