This is an automated email from the ASF dual-hosted git repository.
phrocker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new 6576136 MINIFICPP-772: Change from /Wall to /W3, a more sensical
warning level
6576136 is described below
commit 6576136f8e7218b75dafc6edd896c27c77e38b07
Author: Marc Parisi <[email protected]>
AuthorDate: Mon Mar 25 15:17:22 2019 -0400
MINIFICPP-772: Change from /Wall to /W3, a more sensical warning level
This closes #524.
Approvd on GH by Arpadboda
Signed-off-by: Marc Parisi <[email protected]>
---
libminifi/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libminifi/CMakeLists.txt b/libminifi/CMakeLists.txt
index 313ef98..de58efe 100644
--- a/libminifi/CMakeLists.txt
+++ b/libminifi/CMakeLists.txt
@@ -72,7 +72,7 @@ endif()
endif()
if (WIN32)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Wall")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W3")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-reorder")
endif()