You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2018/04/17 23:34:30 UTC

[geode-native] branch develop updated: GEODE-4410: Prevent future unused paramters from MSVC.

This is an automated email from the ASF dual-hosted git repository.

jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git


The following commit(s) were added to refs/heads/develop by this push:
     new 4e09a7c  GEODE-4410: Prevent future unused paramters from MSVC.
4e09a7c is described below

commit 4e09a7cb59bc1512d02c8af80b1ea8ada9900e1d
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Tue Apr 17 23:34:15 2018 +0000

    GEODE-4410: Prevent future unused paramters from MSVC.
---
 CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9783df..ab106bd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -245,9 +245,11 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
     /EHa)
 
   target_compile_options(_WarningsAsError INTERFACE
+    /W3
     /WX
-	/wd4068 # TODO fix
-	)
+    /w34100 # -Wunused-parameter
+    /wd4068 # TODO fix
+    )
 
   # TODO error on warnings
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4996")

-- 
To stop receiving notification emails like this one, please contact
jbarrett@apache.org.