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/CommandLineArguments.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/CommandLineArguments.cxx')
-rw-r--r-- | Source/kwsys/CommandLineArguments.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index 9f43a47..ece88ae 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx @@ -592,7 +592,7 @@ void CommandLineArguments::GenerateHelp() // Create format for that string char format[80]; - sprintf(format, " %%-%ds ", static_cast<unsigned int>(maxlen)); + sprintf(format, " %%-%us ", static_cast<unsigned int>(maxlen)); maxlen += 4; // For the space before and after the option |