From 30643feb66ac4290df3f51aba949bde6e84ca196 Mon Sep 17 00:00:00 2001 From: Victor Luchits Date: Sun, 2 Jul 2017 02:02:21 +0300 Subject: [PATCH] Do not treat warnings as errors for fuzzylite --- AI/FuzzyLite/fuzzylite/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AI/FuzzyLite/fuzzylite/CMakeLists.txt b/AI/FuzzyLite/fuzzylite/CMakeLists.txt index ca25fea0e..8cd3a3c5d 100644 --- a/AI/FuzzyLite/fuzzylite/CMakeLists.txt +++ b/AI/FuzzyLite/fuzzylite/CMakeLists.txt @@ -94,7 +94,8 @@ if(UNIX AND NOT APPLE) endif() if(MSVC) - set(CMAKE_CXX_FLAGS "/WX /W4 /EHsc") + set(CMAKE_CXX_FLAGS "/W4 /EHsc") + #set(CMAKE_CXX_FLAGS "/WX /W4 /EHsc") #Wx: Treat warnings as errors. W4: All warnings #http://msdn.microsoft.com/en-us/library/thxezb7y.aspx #EHsc: call destructors on __try __catch, and to ignore C4530: C++ exception handler used. Note, unwind semantics are not enabled