[Cmake-commits] CMake branch, next, updated. v3.4.1-1866-g4aae449

Brad King brad.king at kitware.com
Thu Jan 7 13:44:56 EST 2016


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  4aae44966324856ff60424e4629681c1840794f7 (commit)
       via  b947fc27d5e8c54b2e4cd58c6c9b22b34a843039 (commit)
      from  da8f980ca6488a3695bd813dec234cdb8b6d7da8 (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=4aae44966324856ff60424e4629681c1840794f7
commit 4aae44966324856ff60424e4629681c1840794f7
Merge: da8f980 b947fc2
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Jan 7 13:44:55 2016 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jan 7 13:44:55 2016 -0500

    Merge topic 'suppress-Wshadow-single' into next
    
    b947fc27 CTestCustom: Suppress -Wshadow warning about Solaris 'single' typedef


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b947fc27d5e8c54b2e4cd58c6c9b22b34a843039
commit b947fc27d5e8c54b2e4cd58c6c9b22b34a843039
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Dec 21 09:48:35 2015 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Jan 7 13:44:46 2016 -0500

    CTestCustom: Suppress -Wshadow warning about Solaris 'single' typedef
    
    On Solaris the system `/usr/include/floatingpoint.h` header contains
    
     typedef float single;
    
    so the GNU compiler warns that uses of the name `single` shadow it.
    Just suppress the warning because our uses of this name would become
    less readable with a different name.

diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index db64559..abef692 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -21,7 +21,8 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
   "Utilities.cmcurl"
   "Utilities.cmexpat."
   "Utilities.cmlibarchive"
-  "/usr/include.*warning.*shadowed declaration is here"
+  "warning: declaration of .single. shadows a global declaration"
+  "/usr/include.*(warning|note).*shadowed declaration is here"
   "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
   "Redeclaration of .send..... with a different storage class specifier"
   "is not used for resolving any symbol"

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

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list