diff options
Diffstat (limited to 'Source/kwsys')
-rw-r--r-- | Source/kwsys/CommandLineArguments.cxx | 4 | ||||
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 3 | ||||
-rw-r--r-- | Source/kwsys/testhash.cxx | 4 |
3 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index e6185f5..e0d0edc 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx @@ -40,6 +40,10 @@ # pragma warning (disable: 4786) #endif +#if defined(__sgi) && !defined(__GNUC__) +# pragma set woff 1375 /* base class destructor not virtual */ +#endif + namespace KWSYS_NAMESPACE { diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 7678601..5d4825b 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -33,6 +33,9 @@ # pragma warning (disable: 4786) #endif +#if defined(__sgi) && !defined(__GNUC__) +# pragma set woff 1375 /* base class destructor not virtual */ +#endif #include <ctype.h> #include <errno.h> diff --git a/Source/kwsys/testhash.cxx b/Source/kwsys/testhash.cxx index dc3c660..b8cdab1 100644 --- a/Source/kwsys/testhash.cxx +++ b/Source/kwsys/testhash.cxx @@ -29,6 +29,10 @@ # pragma warning (disable:4786) #endif +#if defined(__sgi) && !defined(__GNUC__) +# pragma set woff 1468 /* inline function cannot be explicitly instantiated */ +#endif + template class kwsys::hash_map<const char*, int>; template class kwsys::hash_set<int>; |