Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
caa074e8
Commit
caa074e8
authored
Feb 15, 2003
by
Brad King
💬
Browse files
ERR: Use of std::ios::fmtflags is not portable to older compilers.
parent
a0257415
Changes
1
Show whitespace changes
Inline
Side-by-side
Source/cmDocumentation.cxx
View file @
caa074e8
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment