Skip to content

Commit 0e41e7b

Browse files
authored
Enable W4, WX for windows (#29)
1 parent 152aa75 commit 0e41e7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ set(RTLOG_ALL_WARNINGS)
107107
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
108108
set(RTLOG_ALL_WARNINGS "-Wall;-Werror;-Wformat;-Wextra;-Wformat-security;-Wno-unused-function")
109109
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
110-
set(RTLOG_ALL_WARNINGS "")
110+
set(RTLOG_ALL_WARNINGS "/W4;/WX;/wd4505")
111111
endif()
112112

113113
target_compile_options(rtlog

0 commit comments

Comments
 (0)