[Cmake-commits] CMake branch, next, updated. v2.8.8-2816-gd6ff0a7

Rolf Eike Beer eike at sf-mail.de
Sat May 5 17:21:15 EDT 2012


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  d6ff0a7ecad91b20dfb219cc17ab33dd1a940a09 (commit)
       via  c4eff024497062676f7ca82783f3a2df3e2781a9 (commit)
       via  98ff9dfc5a2beabfa803694e238bbb54ea844c71 (commit)
      from  0b3eef43429aea54b6c35d73e45a40d598fa7c0f (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=d6ff0a7ecad91b20dfb219cc17ab33dd1a940a09
commit d6ff0a7ecad91b20dfb219cc17ab33dd1a940a09
Merge: 0b3eef4 c4eff02
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sat May 5 17:21:11 2012 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Sat May 5 17:21:11 2012 -0400

    Merge topic 'clang-compiler-flags' into next
    
    c4eff02 Check{C,CXX}CompilerFlag: detect flags unknown to Clang (#13194)
    98ff9df CMake Nightly Date Stamp


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c4eff024497062676f7ca82783f3a2df3e2781a9
commit c4eff024497062676f7ca82783f3a2df3e2781a9
Author:     Rolf Eike Beer <eike at sf-mail.de>
AuthorDate: Sat May 5 23:17:32 2012 +0200
Commit:     Rolf Eike Beer <eike at sf-mail.de>
CommitDate: Sat May 5 23:17:32 2012 +0200

    Check{C,CXX}CompilerFlag: detect flags unknown to Clang (#13194)
    
    Patch suggested by Jared Boone.

diff --git a/Modules/CheckCCompilerFlag.cmake b/Modules/CheckCCompilerFlag.cmake
index 90d04ac..d34220b 100644
--- a/Modules/CheckCCompilerFlag.cmake
+++ b/Modules/CheckCCompilerFlag.cmake
@@ -31,6 +31,7 @@ MACRO (CHECK_C_COMPILER_FLAG _FLAG _RESULT)
      FAIL_REGEX "command line option .* is valid for .* but not for C" # GNU
      FAIL_REGEX "unrecognized .*option"                     # GNU
      FAIL_REGEX "unknown .*option"                          # Clang
+     FAIL_REGEX "warning: argument unused during compilation:"  # Clang
      FAIL_REGEX "ignoring unknown option"                   # MSVC
      FAIL_REGEX "warning D9002"                             # MSVC, any lang
      FAIL_REGEX "option.*not supported"                     # Intel
diff --git a/Modules/CheckCXXCompilerFlag.cmake b/Modules/CheckCXXCompilerFlag.cmake
index 19963ea..b5b7239 100644
--- a/Modules/CheckCXXCompilerFlag.cmake
+++ b/Modules/CheckCXXCompilerFlag.cmake
@@ -31,6 +31,7 @@ MACRO (CHECK_CXX_COMPILER_FLAG _FLAG _RESULT)
      FAIL_REGEX "command line option .* is valid for .* but not for C\\\\+\\\\+" # GNU
      FAIL_REGEX "unrecognized .*option"                     # GNU
      FAIL_REGEX "unknown .*option"                          # Clang
+     FAIL_REGEX "warning: argument unused during compilation:"  # Clang
      FAIL_REGEX "ignoring unknown option"                   # MSVC
      FAIL_REGEX "warning D9002"                             # MSVC, any lang
      FAIL_REGEX "option.*not supported"                     # Intel

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

Summary of changes:
 Modules/CheckCCompilerFlag.cmake   |    1 +
 Modules/CheckCXXCompilerFlag.cmake |    1 +
 Source/CMakeVersion.cmake          |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list