[Cmake-commits] CMake branch, next, updated. v3.8.0-rc1-633-g13e3401

Brad King brad.king at kitware.com
Tue Feb 28 09:43:36 EST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  13e34019b22fb5930919401599c4623d2c65508c (commit)
       via  4ca77bb6db34edc7cae2313c82c769f564fb02ea (commit)
      from  2a8c67ccc306ab592098adb218610d2b39062633 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=13e34019b22fb5930919401599c4623d2c65508c
commit 13e34019b22fb5930919401599c4623d2c65508c
Merge: 2a8c67c 4ca77bb
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Tue Feb 28 09:43:35 2017 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Feb 28 09:43:35 2017 -0500

    Merge topic 'kwiml-test-gcc-format-security' into next
    
    4ca77bb6 KWIML: Add -Wno-format-security to tolerate -Werror=format-security


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=4ca77bb6db34edc7cae2313c82c769f564fb02ea
commit 4ca77bb6db34edc7cae2313c82c769f564fb02ea
Author:     Orion Poplawski <orion at cora.nwra.com>
AuthorDate: Mon Feb 27 11:24:39 2017 -0700
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Mon Feb 27 13:47:00 2017 -0500

    KWIML: Add -Wno-format-security to tolerate -Werror=format-security
    
    When compiling KWIML tests with `-Werror=format-security` we get
    
        error: -Wformat-security ignored without -Wformat
    
    Therefore we should disable both `format` and `format-security`
    together.

diff --git a/Utilities/KWIML/test/CMakeLists.txt b/Utilities/KWIML/test/CMakeLists.txt
index 4f6f37b..1bf93bb 100644
--- a/Utilities/KWIML/test/CMakeLists.txt
+++ b/Utilities/KWIML/test/CMakeLists.txt
@@ -10,7 +10,7 @@ endif()
 # Suppress printf/scanf format warnings; we test if the sizes match.
 foreach(lang C CXX)
   if(KWIML_LANGUAGE_${lang} AND CMAKE_${lang}_COMPILER_ID STREQUAL "GNU")
-    set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format")
+    set(CMAKE_${lang}_FLAGS "${CMAKE_${lang}_FLAGS} -Wno-format -Wno-format-security")
   endif()
 endforeach()
 

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list