From 5c4504e00511280ae8bec1118908909fd062c29b Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 30 Sep 2017 13:59:47 -0400 Subject: [PATCH] disable /W4 on MSVC --- CMakeLists.txt | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2545576381..162c39ae6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/README.md b/README.md index d976e30d37..e04268d4b2 100644 --- a/README.md +++ b/README.md @@ -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.