diff options
author | Brad King <brad.king@kitware.com> | 2005-05-03 18:58:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-05-03 18:58:13 (GMT) |
commit | bac564356b52b6ef1782615ad704d07bd7b8edd6 (patch) | |
tree | 5f707f502e4b8e3a522afb8c95d491ca420b7ba3 /Source/CTest/cmCTestUpdateHandler.h | |
parent | c7a75e92c992c9750f677177f550a32da6725ff8 (diff) | |
download | CMake-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/CTest/cmCTestUpdateHandler.h')
-rw-r--r-- | Source/CTest/cmCTestUpdateHandler.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/CTest/cmCTestUpdateHandler.h b/Source/CTest/cmCTestUpdateHandler.h index 3f41858..019ee57 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 |