summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-13 22:57:28 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-09-13 22:57:28 (GMT)
commit184087cef1b41679305db3e0b7f42fdadd318b2d (patch)
tree3ea553a0667389b0749ff58d3ee1e7135e99c18c /Source
parentc8fa6581428dd1899298034f93720882ac95488c (diff)
downloadCMake-184087cef1b41679305db3e0b7f42fdadd318b2d.zip
CMake-184087cef1b41679305db3e0b7f42fdadd318b2d.tar.gz
CMake-184087cef1b41679305db3e0b7f42fdadd318b2d.tar.bz2
ERR: Fix IOS namespace
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/CommandLineArguments.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx
index 054956f..a85902c 100644
--- a/Source/kwsys/CommandLineArguments.cxx
+++ b/Source/kwsys/CommandLineArguments.cxx
@@ -259,7 +259,7 @@ int CommandLineArguments::Parse()
}
else
{
- cerr << "Got unknown argument type: \"" << cs->VariableType << "\"" << endl;
+ kwsys_ios::cerr << "Got unknown argument type: \"" << cs->VariableType << "\"" << kwsys_ios::endl;
return 0;
}
}
@@ -278,7 +278,7 @@ int CommandLineArguments::Parse()
}
else
{
- cerr << "Got unknown argument: \"" << arg.c_str() << "\"" << endl;
+ kwsys_ios::cerr << "Got unknown argument: \"" << arg.c_str() << "\"" << kwsys_ios::endl;
return 0;
}
}
@@ -523,7 +523,7 @@ void CommandLineArguments::GenerateHelp()
CommandLineArguments::Internal::SetOfStrings::iterator sit;
for ( sit = mpit->second.begin(); sit != mpit->second.end(); sit++ )
{
- str << endl;
+ str << kwsys_ios::endl;
char argument[100];
sprintf(argument, sit->c_str());
switch ( this->Internals->Callbacks[*sit].ArgumentType )
@@ -579,7 +579,7 @@ void CommandLineArguments::GenerateHelp()
}
}
str.write(ptr, skip);
- str << endl;
+ str << kwsys_ios::endl;
ptr += skip;
len -= skip;
cnt ++;