summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestUpdateHandler.h8
-rw-r--r--Source/cmGeneratedFileStream.h8
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.h8
-rw-r--r--Source/cmStandardIncludes.h8
-rw-r--r--Source/cmSystemTools.cxx3
-rw-r--r--Source/kwsys/CommandLineArguments.cxx4
-rw-r--r--Source/kwsys/SystemTools.cxx3
-rw-r--r--Source/kwsys/testhash.cxx4
8 files changed, 46 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.h b/Source/CTest/cmCTestUpdateHandler.h
index 3f418580de..019ee571b1 100644
--- a/Source/CTest/cmCTestUpdateHandler.h
+++ b/Source/CTest/cmCTestUpdateHandler.h
@@ -22,6 +22,10 @@
#include "cmCTestGenericHandler.h"
#include "cmListFileCache.h"
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma set woff 1375 /* base class destructor not virtual */
+#endif
+
/** \class cmCTestUpdateHandler
* \brief A class that handles ctest -S invocations
*
@@ -54,4 +58,8 @@ private:
int DetermineType(const char* cmd, const char* type);
};
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma reset woff 1375 /* base class destructor not virtual */
+#endif
+
#endif
diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h
index 90ea51e837..6706164a55 100644
--- a/Source/cmGeneratedFileStream.h
+++ b/Source/cmGeneratedFileStream.h
@@ -19,6 +19,10 @@
#include "cmStandardIncludes.h"
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma set woff 1375 /* base class destructor not virtual */
+#endif
+
// This is the first base class of cmGeneratedFileStream. It will be
// created before and destroyed after the ofstream portion and can
// therefore be used to manage the temporary file.
@@ -128,4 +132,8 @@ public:
void SetCompression(bool compression);
};
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma reset woff 1375 /* base class destructor not virtual */
+#endif
+
#endif
diff --git a/Source/cmLocalUnixMakefileGenerator2.h b/Source/cmLocalUnixMakefileGenerator2.h
index 65f03b0e7e..61ea95010e 100644
--- a/Source/cmLocalUnixMakefileGenerator2.h
+++ b/Source/cmLocalUnixMakefileGenerator2.h
@@ -19,6 +19,10 @@
#include "cmLocalGenerator.h"
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma set woff 1375 /* base class destructor not virtual */
+#endif
+
class cmCustomCommand;
class cmDependInformation;
class cmDepends;
@@ -278,4 +282,8 @@ private:
std::set<cmStdString> m_ObjectFiles;
};
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma reset woff 1375 /* base class destructor not virtual */
+#endif
+
#endif
diff --git a/Source/cmStandardIncludes.h b/Source/cmStandardIncludes.h
index f2184552b2..52eff2a37f 100644
--- a/Source/cmStandardIncludes.h
+++ b/Source/cmStandardIncludes.h
@@ -181,6 +181,10 @@ inline bool operator==(std::string const& a, const char* b)
{ return (a==std::string(b)); }
# endif // end CM_SGI_CC_720
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma set woff 1375 /* base class destructor not virtual */
+#endif
+
// use this class to shrink the size of symbols in .o files
// std::string is really basic_string<....lots of stuff....>
// when combined with a map or set, the symbols can be > 2000 chars!
@@ -306,4 +310,8 @@ public:
typedef Superclass::const_iterator const_iterator;
};
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma reset woff 1375 /* base class destructor not virtual */
+#endif
+
#endif
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 5f4454311e..0cde6c807e 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -45,6 +45,9 @@
#include <sys/stat.h>
+#if defined(__sgi) && !defined(__GNUC__)
+# pragma set woff 1375 /* base class destructor not virtual */
+#endif
bool cmSystemTools::s_RunCommandHideConsole = false;
bool cmSystemTools::s_DisableRunCommandOutput = false;
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx
index e6185f5c7a..e0d0edcd03 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 7678601b00..5d4825b0ca 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 dc3c660155..b8cdab1496 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>;