Fix C4601 and enable C4602 warning for internal builds
Related to #1072
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f25f47f..bda4b29 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -310,7 +310,7 @@
target_compile_options( SelfTest PRIVATE -Wweak-vtables -Wexit-time-destructors -Wglobal-constructors -Wmissing-noreturn )
endif()
if ( CMAKE_CXX_COMPILER_ID MATCHES "MSVC" )
- target_compile_options( SelfTest PRIVATE /W4 /w44265 /WX )
+ target_compile_options( SelfTest PRIVATE /W4 /w44265 /WX /w44061 /w44062 )
target_compile_options( Benchmark PRIVATE /W4 )
endif()