COMP: Added pragma directives for SGI compilers to avoid useless warnings.
This commit is contained in:
parent
c7a75e92c9
commit
bac564356b
|
@ -22,6 +22,10 @@
|
||||||
#include "cmCTestGenericHandler.h"
|
#include "cmCTestGenericHandler.h"
|
||||||
#include "cmListFileCache.h"
|
#include "cmListFileCache.h"
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma set woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
/** \class cmCTestUpdateHandler
|
/** \class cmCTestUpdateHandler
|
||||||
* \brief A class that handles ctest -S invocations
|
* \brief A class that handles ctest -S invocations
|
||||||
*
|
*
|
||||||
|
@ -54,4 +58,8 @@ private:
|
||||||
int DetermineType(const char* cmd, const char* type);
|
int DetermineType(const char* cmd, const char* type);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma reset woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
#include "cmStandardIncludes.h"
|
#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
|
// This is the first base class of cmGeneratedFileStream. It will be
|
||||||
// created before and destroyed after the ofstream portion and can
|
// created before and destroyed after the ofstream portion and can
|
||||||
// therefore be used to manage the temporary file.
|
// therefore be used to manage the temporary file.
|
||||||
|
@ -128,4 +132,8 @@ public:
|
||||||
void SetCompression(bool compression);
|
void SetCompression(bool compression);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma reset woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -19,6 +19,10 @@
|
||||||
|
|
||||||
#include "cmLocalGenerator.h"
|
#include "cmLocalGenerator.h"
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma set woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
class cmCustomCommand;
|
class cmCustomCommand;
|
||||||
class cmDependInformation;
|
class cmDependInformation;
|
||||||
class cmDepends;
|
class cmDepends;
|
||||||
|
@ -278,4 +282,8 @@ private:
|
||||||
std::set<cmStdString> m_ObjectFiles;
|
std::set<cmStdString> m_ObjectFiles;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma reset woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -181,6 +181,10 @@ inline bool operator==(std::string const& a, const char* b)
|
||||||
{ return (a==std::string(b)); }
|
{ return (a==std::string(b)); }
|
||||||
# endif // end CM_SGI_CC_720
|
# 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
|
// use this class to shrink the size of symbols in .o files
|
||||||
// std::string is really basic_string<....lots of stuff....>
|
// std::string is really basic_string<....lots of stuff....>
|
||||||
// when combined with a map or set, the symbols can be > 2000 chars!
|
// when combined with a map or set, the symbols can be > 2000 chars!
|
||||||
|
@ -306,4 +310,8 @@ public:
|
||||||
typedef Superclass::const_iterator const_iterator;
|
typedef Superclass::const_iterator const_iterator;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma reset woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -45,6 +45,9 @@
|
||||||
|
|
||||||
#include <sys/stat.h>
|
#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_RunCommandHideConsole = false;
|
||||||
bool cmSystemTools::s_DisableRunCommandOutput = false;
|
bool cmSystemTools::s_DisableRunCommandOutput = false;
|
||||||
|
|
|
@ -40,6 +40,10 @@
|
||||||
# pragma warning (disable: 4786)
|
# pragma warning (disable: 4786)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma set woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace KWSYS_NAMESPACE
|
namespace KWSYS_NAMESPACE
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,9 @@
|
||||||
# pragma warning (disable: 4786)
|
# pragma warning (disable: 4786)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__sgi) && !defined(__GNUC__)
|
||||||
|
# pragma set woff 1375 /* base class destructor not virtual */
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -29,6 +29,10 @@
|
||||||
# pragma warning (disable:4786)
|
# pragma warning (disable:4786)
|
||||||
#endif
|
#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_map<const char*, int>;
|
||||||
template class kwsys::hash_set<int>;
|
template class kwsys::hash_set<int>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue