disable /W4 on MSVC

master
Andrew Kelley 2017-09-30 13:59:47 -04:00
parent 9c6e12ac29
commit 5c4504e005
2 changed files with 2 additions and 2 deletions

View File

@ -338,7 +338,7 @@ include_directories(
)
if(MSVC)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -W4")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
elseif(MINGW)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Werror -Wno-error=format= -Wno-error=format -Wno-error=format-extra-args")
else()

View File

@ -10,7 +10,7 @@ clarity.
## Feature Highlights
* Small, simple language. Focus on debugging your application rather than
debugging your knowledge of your programming language.
debugging knowledge of your programming language.
* Ships with a build system that obviates the need for a configure script
or a makefile. In fact, existing C and C++ projects may choose to depend on
Zig instead of e.g. cmake.