[Cmake-commits] CMake branch, next, updated. v2.8.10.2-1494-g636f4f4
Stephen Kelly
steveire at gmail.com
Tue Jan 8 14:37:47 EST 2013
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 636f4f4325d21ed078b8fac0c57c24ac58a69271 (commit)
via c77281061c1b931842d5f0a03fc68b3f16999a5b (commit)
from cc381f97661a6cbf0a6a256fcef8c15b1ff2b36c (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=636f4f4325d21ed078b8fac0c57c24ac58a69271
commit 636f4f4325d21ed078b8fac0c57c24ac58a69271
Merge: cc381f9 c772810
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Tue Jan 8 14:37:46 2013 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Jan 8 14:37:46 2013 -0500
Merge topic 'use-wundef' into next
c772810 Add the -Wundef flag when compiling CMake.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c77281061c1b931842d5f0a03fc68b3f16999a5b
commit c77281061c1b931842d5f0a03fc68b3f16999a5b
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Mon Jan 7 16:07:49 2013 +0100
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Tue Jan 8 20:35:23 2013 +0100
Add the -Wundef flag when compiling CMake.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ad9587..e84f898 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -588,10 +588,10 @@ if(NOT CMake_VERSION_IS_RELEASE)
NOT "${CMAKE_C_COMPILER_VERSION}" VERSION_LESS 4.2)
set(C_FLAGS_LIST -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts
-Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security
- -Wmissing-format-attribute -fno-common
+ -Wmissing-format-attribute -fno-common -Wundef
)
set(CXX_FLAGS_LIST -Wnon-virtual-dtor -Wcast-align -Wchar-subscripts -Wall -W
- -Wshadow -Wpointer-arith -Wformat-security
+ -Wshadow -Wpointer-arith -Wformat-security -Wundef
)
foreach(FLAG_LANG C CXX)
-----------------------------------------------------------------------
Summary of changes:
CMakeLists.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list