summaryrefslogtreecommitdiffstats
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-09 13:22:47 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-09 13:32:34 (GMT)
commitf9f46f19ee43f69956035a809e6668f96601f7c3 (patch)
tree2bec0631c996a752e34a44da9b6633a046168dff /CTestCustom.cmake.in
parent0033245e2fe8c418fb2df09ec62e46fc2ac92b6b (diff)
downloadCMake-f9f46f19ee43f69956035a809e6668f96601f7c3.zip
CMake-f9f46f19ee43f69956035a809e6668f96601f7c3.tar.gz
CMake-f9f46f19ee43f69956035a809e6668f96601f7c3.tar.bz2
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.
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in2
1 files changed, 1 insertions, 1 deletions
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")