summaryrefslogtreecommitdiff
path: root/Source/cmGeneratedFileStream.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-03 14:58:13 -0400
committerBrad King <brad.king@kitware.com>2005-05-03 14:58:13 -0400
commitbac564356b52b6ef1782615ad704d07bd7b8edd6 (patch)
tree5f707f502e4b8e3a522afb8c95d491ca420b7ba3 /Source/cmGeneratedFileStream.h
parentc7a75e92c992c9750f677177f550a32da6725ff8 (diff)
downloadcmake-bac564356b52b6ef1782615ad704d07bd7b8edd6.tar.gz
COMP: Added pragma directives for SGI compilers to avoid useless warnings.
Diffstat (limited to 'Source/cmGeneratedFileStream.h')
-rw-r--r--Source/cmGeneratedFileStream.h8
1 files changed, 8 insertions, 0 deletions
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