diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-12 13:37:42 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2010-05-12 13:37:42 (GMT) |
commit | f88a0a3514cebb36fc1f56e05ef0bfa4aec617ab (patch) | |
tree | b09ced338f542dcb3b937e5e2dfd44e5215efe2a | |
parent | f8593092aeff398c49ff88b19dcfd759633287df (diff) | |
download | CMake-f88a0a3514cebb36fc1f56e05ef0bfa4aec617ab.zip CMake-f88a0a3514cebb36fc1f56e05ef0bfa4aec617ab.tar.gz CMake-f88a0a3514cebb36fc1f56e05ef0bfa4aec617ab.tar.bz2 |
Silence warnings on sgi compiler.
-rw-r--r-- | Source/kwsys/Configure.h.in | 4 | ||||
-rw-r--r-- | Source/kwsys/hashtable.hxx.in | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/Configure.h.in b/Source/kwsys/Configure.h.in index 97b2c5d..15986cf 100644 --- a/Source/kwsys/Configure.h.in +++ b/Source/kwsys/Configure.h.in @@ -28,6 +28,10 @@ # if defined(__INTEL_COMPILER) # pragma warning (disable: 1572) /* floating-point equality test */ # endif +# if defined(__sgi) && !defined(__GNUC__) +# pragma set woff 3970 /* pointer to int conversion */ +# pragma set woff 3968 /* 64 bit conversion */ +# endif #endif /* Whether kwsys namespace is "kwsys". */ diff --git a/Source/kwsys/hashtable.hxx.in b/Source/kwsys/hashtable.hxx.in index 2f337ba..db52fc8 100644 --- a/Source/kwsys/hashtable.hxx.in +++ b/Source/kwsys/hashtable.hxx.in @@ -38,6 +38,7 @@ # pragma warn -8027 /* 'for' not inlined. */ # pragma warn -8026 /* 'exception' not inlined. */ #endif + #ifndef @KWSYS_NAMESPACE@_hashtable_hxx #define @KWSYS_NAMESPACE@_hashtable_hxx @@ -57,6 +58,9 @@ # pragma warning (disable:4786) # pragma warning (disable:4512) /* no assignment operator for class */ #endif +#if defined(__sgi) && !defined(__GNUC__) +# pragma set woff 3970 /* pointer to int conversion */ 3321 3968 +#endif #if @KWSYS_NAMESPACE@_STL_HAS_ALLOCATOR_TEMPLATE # define @KWSYS_NAMESPACE@_HASH_DEFAULT_ALLOCATOR(T) @KWSYS_NAMESPACE@_stl::allocator< T > |