[Cmake-commits] CMake branch, next, updated. v2.8.1-1355-g592258c

Brad King brad.king at kitware.com
Wed Jun 9 09:33:30 EDT 2010


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  592258cc954b01f9bd30f22da21c9695844d0a23 (commit)
       via  f9f46f19ee43f69956035a809e6668f96601f7c3 (commit)
      from  ff9a1c13cd2a9e99c18609f3e2775d06a25458e6 (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=592258cc954b01f9bd30f22da21c9695844d0a23
commit 592258cc954b01f9bd30f22da21c9695844d0a23
Merge: ff9a1c1 f9f46f1
Author: Brad King <brad.king at kitware.com>
Date:   Wed Jun 9 09:32:58 2010 -0400

    Merge branch 'suppress-sgi-warning-3968' into next


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f9f46f19ee43f69956035a809e6668f96601f7c3
commit f9f46f19ee43f69956035a809e6668f96601f7c3
Author: Brad King <brad.king at kitware.com>
Date:   Wed Jun 9 09:22:47 2010 -0400

    Suppress SGI MIPSpro warning 3968
    
    The warning appears everywhere we use static_cast to explicitly truncate
    an integer width.  It appears in the form
    
      cc-3968 CC: WARNING File = ..., Line = ...
        implicit conversion of a 64-bit integral type to a smaller
        integral type (potential portability problem)
          static_cast<...>(...);
          ^
    
    which is strange because a "static_cast" is not implicit.  It also
    appears in system library code.

diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
index ca8f986..d5789ed 100644
--- a/CTestCustom.cmake.in
+++ b/CTestCustom.cmake.in
@@ -39,7 +39,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
   "warning:.*is.*very unsafe.*consider using.*"
   "warning:.*is.*misused, please use.*"
   "CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
-  "cc-3968 CC: WARNING File.*/usr/include/CC/fstream"
+  "cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
   )
 
 IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")

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

Summary of changes:
 CTestCustom.cmake.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list