[Cmake-commits] CMake branch, next, updated. v2.8.6-1845-g7da8317
Brad King
brad.king at kitware.com
Sat Nov 12 09:43:34 EST 2011
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 7da83174a168f2f2def9db2e9151d7127b4dd2c5 (commit)
via 22c26a4f6d446f525d1d4580483fb286a64fdb74 (commit)
via 6d12ab3f897310354bbaffd7a07b0458f489a7df (commit)
from 15d232c23dee0ccec86bb1e023a8571afaa035a1 (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 -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7da83174a168f2f2def9db2e9151d7127b4dd2c5
commit 7da83174a168f2f2def9db2e9151d7127b4dd2c5
Merge: 15d232c 22c26a4
Author: Brad King <brad.king at kitware.com>
AuthorDate: Sat Nov 12 09:43:33 2011 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat Nov 12 09:43:33 2011 -0500
Merge topic 'import-KWIML' into next
22c26a4 Merge branch 'upstream-kwiml' into import-KWIML
6d12ab3 KWIML: Suppress printf/scanf format warnings in test
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=22c26a4f6d446f525d1d4580483fb286a64fdb74
commit 22c26a4f6d446f525d1d4580483fb286a64fdb74
Merge: b0c4a71 6d12ab3
Author: Brad King <brad.king at kitware.com>
AuthorDate: Sat Nov 12 09:42:44 2011 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Sat Nov 12 09:42:44 2011 -0500
Merge branch 'upstream-kwiml' into import-KWIML
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6d12ab3f897310354bbaffd7a07b0458f489a7df
commit 6d12ab3f897310354bbaffd7a07b0458f489a7df
Author: Brad King <brad.king at kitware.com>
AuthorDate: Sat Nov 12 09:39:40 2011 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Sat Nov 12 09:39:40 2011 -0500
KWIML: Suppress printf/scanf format warnings in test
KWIML defines format string macros matching the fixed-sized types. This
test checks that they behave as expected and that the arguments match
the *sizes* expected by the format strings.
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index aaff9e9..15816cf 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -18,6 +18,13 @@ set_property(DIRECTORY
"KWIML_HEADER(%)=<${KWIML}/%>"
)
+# 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")
+ endif()
+endforeach()
+
if(KWIML_LANGUAGE_C)
set(test_srcs test.c)
else()
-----------------------------------------------------------------------
Summary of changes:
Utilities/KWIML/test/CMakeLists.txt | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list