You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2017/11/10 03:25:45 UTC

[1/2] qpid-proton git commit: NO-JIRA: Make windows check symbols work more reliably

Repository: qpid-proton
Updated Branches:
  refs/heads/master 463c94875 -> e2cacf7f5


NO-JIRA: Make windows check symbols work more reliably


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/cb0ff020
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/cb0ff020
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/cb0ff020

Branch: refs/heads/master
Commit: cb0ff020f93fa071589722a44ce5aeaa823f9dd3
Parents: 463c948
Author: Andrew Stitcher <as...@apache.org>
Authored: Tue Oct 31 18:17:13 2017 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Thu Nov 9 22:23:35 2017 -0500

----------------------------------------------------------------------
 tools/cmake/Modules/WindowsC99CheckDef.cmake | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/cb0ff020/tools/cmake/Modules/WindowsC99CheckDef.cmake
----------------------------------------------------------------------
diff --git a/tools/cmake/Modules/WindowsC99CheckDef.cmake b/tools/cmake/Modules/WindowsC99CheckDef.cmake
index 0855d93..fb3a5cb 100644
--- a/tools/cmake/Modules/WindowsC99CheckDef.cmake
+++ b/tools/cmake/Modules/WindowsC99CheckDef.cmake
@@ -26,6 +26,9 @@
 
 set(obj_dir ${CMAKE_CURRENT_BINARY_DIR}/qpid-proton.dir/${CMAKE_CFG_INTDIR})
 
-add_custom_command(TARGET qpid-proton PRE_LINK COMMAND ${PYTHON_EXECUTABLE}
-        ${CMAKE_MODULE_PATH}WindowsC99SymbolCheck.py ${obj_dir}
-        COMMENT "Checking for dangerous use of C99-violating functions")
+add_custom_command(
+    TARGET qpid-proton
+	PRE_LINK
+    COMMAND ${PYTHON_EXECUTABLE}
+	    ${CMAKE_MODULE_PATH}WindowsC99SymbolCheck.py $<TARGET_FILE_DIR:qpid-proton>
+    COMMENT "Checking for dangerous use of C99-violating functions")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


[2/2] qpid-proton git commit: NO-JIRA: Remove disable warnings flag that causes a warning on Windows - And doesn't seem to matter on any platform I tried

Posted by as...@apache.org.
NO-JIRA: Remove disable warnings flag that causes a warning on Windows
- And doesn't seem to matter on any platform I tried


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e2cacf7f
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e2cacf7f
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/e2cacf7f

Branch: refs/heads/master
Commit: e2cacf7f5c190596e413aacb8cb6e964344ba186
Parents: cb0ff02
Author: Andrew Stitcher <as...@apache.org>
Authored: Thu Nov 2 16:44:37 2017 -0400
Committer: Andrew Stitcher <as...@apache.org>
Committed: Thu Nov 9 22:23:45 2017 -0500

----------------------------------------------------------------------
 proton-c/bindings/python/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/e2cacf7f/proton-c/bindings/python/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/CMakeLists.txt b/proton-c/bindings/python/CMakeLists.txt
index b7b7ce0..28fed01 100644
--- a/proton-c/bindings/python/CMakeLists.txt
+++ b/proton-c/bindings/python/CMakeLists.txt
@@ -27,7 +27,7 @@ include_directories (${PYTHON_INCLUDE_PATH})
 set_source_files_properties(cproton.i PROPERTIES CPLUSPLUS NO)
 
 # Suppress warnings in swig generated code.
-set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w")
+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
 
 # Set Compiler extra flags for Solaris when using SunStudio
 if (CMAKE_C_COMPILER_ID STREQUAL "SunPro")


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org