summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/hashtable.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-05-12 13:37:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-05-12 13:37:42 (GMT)
commit0b5288849f5c8a12e31ae38c1f25b69296bc87e9 (patch)
treeb09ced338f542dcb3b937e5e2dfd44e5215efe2a /Source/kwsys/hashtable.hxx.in
parent38cabcd9ff34dae427ef86b0a24ca4e56cffd746 (diff)
downloadCMake-0b5288849f5c8a12e31ae38c1f25b69296bc87e9.zip
CMake-0b5288849f5c8a12e31ae38c1f25b69296bc87e9.tar.gz
CMake-0b5288849f5c8a12e31ae38c1f25b69296bc87e9.tar.bz2
Silence warnings on sgi compiler.
Diffstat (limited to 'Source/kwsys/hashtable.hxx.in')
-rw-r--r--Source/kwsys/hashtable.hxx.in4
1 files changed, 4 insertions, 0 deletions
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 >