diff options
author | Brad King <brad.king@kitware.com> | 2011-11-01 14:48:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-11-01 14:49:25 (GMT) |
commit | 13d19468d03bfea1b886c5473e8fcafa09cf2e3a (patch) | |
tree | 573fac2cdc8219c2f7e9b24362b6df3bcdbbf7c7 /Source/kwsys/SystemTools.cxx | |
parent | 5e1c2f81a76943cce994f133fca71966aa35c1b4 (diff) | |
download | CMake-13d19468d03bfea1b886c5473e8fcafa09cf2e3a.zip CMake-13d19468d03bfea1b886c5473e8fcafa09cf2e3a.tar.gz CMake-13d19468d03bfea1b886c5473e8fcafa09cf2e3a.tar.bz2 |
KWSys: Address Intel compiler remarks
CommandLineArguments.cxx:
remark #181: argument is incompatible with corresponding format
string conversion
SystemInformation.cxx:
remark #193: zero used for undefined preprocessing identifier "_WIN32"
warning #177: variable "Regebx" was declared but never referenced
SystemTools.cxx(375):
remark #444: destructor for base class "std::vector<char*>" is not virtual
class kwsysDeletingCharVector : private kwsys_stl::vector<char*>
Author: Hans Johnson <hans-johnson@uiowa.edu>
Change-Id: Ibc899c3ba14990158ef7bbabace4b435b22495c3
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index 695949a..1bf19c0 100644 --- a/Source/kwsys/SystemTools.cxx +++ b/Source/kwsys/SystemTools.cxx @@ -371,6 +371,10 @@ bool SystemTools::GetEnv(const char* key, kwsys_stl::string& result) } } +#ifdef INTEL_COMPILER +#pragma warning disable 444 +#endif + class kwsysDeletingCharVector : public kwsys_stl::vector<char*> { public: @@ -399,6 +403,10 @@ bool SystemTools::PutEnv(const char* value) return ret == 0; } +#ifdef INTEL_COMPILER +#pragma warning restore 444 +#endif + const char* SystemTools::GetExecutableExtension() { |