[Cmake-commits] CMake branch, next, updated. v3.4.1-1808-ga314171

Brad King brad.king at kitware.com
Mon Dec 21 09:51:47 EST 2015


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  a314171669df6f6b8584eec9554b68b542841ba2 (commit)
       via  8b627550ef91e12a0952e8ed271a4f90a8da1aaa (commit)
      from  4631633ebf7cf92bc1ed03c24d51d74e00519fcb (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=a314171669df6f6b8584eec9554b68b542841ba2
commit a314171669df6f6b8584eec9554b68b542841ba2
Merge: 4631633 8b62755
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Mon Dec 21 09:51:46 2015 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Dec 21 09:51:46 2015 -0500

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


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8b627550ef91e12a0952e8ed271a4f90a8da1aaa
commit 8b627550ef91e12a0952e8ed271a4f90a8da1aaa
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: Mon Dec 21 09:49:00 2015 -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..634d22a 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -21,6 +21,7 @@ list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
   "Utilities.cmcurl"
   "Utilities.cmexpat."
   "Utilities.cmlibarchive"
+  "warning: declaration of .single. shadows a global declaration"
   "/usr/include.*warning.*shadowed declaration is here"
   "/usr/bin/ld.*warning.*-..*directory.name.*bin.*does not exist"
   "Redeclaration of .send..... with a different storage class specifier"

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

Summary of changes:
 CTestCustom.cmake.in |    1 +
 1 file changed, 1 insertion(+)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list