summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-16 03:36:06 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-16 03:36:06 (GMT)
commitcaa074e8b57907d84977806f189d9d19c8b297df (patch)
treed3f82cd860a768912a899572ec9bae99b6e4095d /Source/cmDocumentation.cxx
parenta02574158d178615cf8fd642695e5099b6041049 (diff)
downloadCMake-caa074e8b57907d84977806f189d9d19c8b297df.zip
CMake-caa074e8b57907d84977806f189d9d19c8b297df.tar.gz
CMake-caa074e8b57907d84977806f189d9d19c8b297df.tar.bz2
ERR: Use of std::ios::fmtflags is not portable to older compilers.
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 3167c7f..f88e170 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -229,7 +229,7 @@ void cmDocumentation::PrintUsageSection(std::ostream& os,
const cmDocumentationEntry* section)
{
if(!section) { return; }
- std::ios::fmtflags flags = os.flags();
+ long flags = static_cast<long>(os.flags());
os.setf(flags | std::ios::left);
for(const cmDocumentationEntry* op = section; op->brief; ++op)
{