summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-05-03 18:58:13 (GMT)
committerBrad King <brad.king@kitware.com>2005-05-03 18:58:13 (GMT)
commitbac564356b52b6ef1782615ad704d07bd7b8edd6 (patch)
tree5f707f502e4b8e3a522afb8c95d491ca420b7ba3 /Source/cmSystemTools.cxx
parentc7a75e92c992c9750f677177f550a32da6725ff8 (diff)
downloadCMake-bac564356b52b6ef1782615ad704d07bd7b8edd6.zip
CMake-bac564356b52b6ef1782615ad704d07bd7b8edd6.tar.gz
CMake-bac564356b52b6ef1782615ad704d07bd7b8edd6.tar.bz2
COMP: Added pragma directives for SGI compilers to avoid useless warnings.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 5f44543..0cde6c8 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;