[#5759] fix build for pwlib
Submitted By: Peter Meerwald
Open Date
2009-12-08 06:00:30 Close Date
2010-06-11 04:57:32
Priority:
Medium Assignee:
Nobody
Status:
Closed Fixed In Release:
N/A
Found In Release:
snaps Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
09r1-10
App binary format:
N/A
Summary: fix build for pwlib
Details:
_Ios_Fmtflags is in namespace std::
diff --git a/lib/pwlib/src/ptclib/asner.cxx b/lib/pwlib/src/ptclib/asner.cxx
index 7a53ea7..a73bdf3 100644
--- a/lib/pwlib/src/ptclib/asner.cxx
+++ b/lib/pwlib/src/ptclib/asner.cxx
@@ -1272,7 +1272,7 @@ PObject * PASN_BitString::Clone() const
void PASN_BitString::PrintOn(ostream & strm) const
{
int indent = strm.precision() + 2;
- _Ios_Fmtflags flags = strm.flags();
+ std::_Ios_Fmtflags flags = strm.flags();
if (totalBits > 128)
strm << "Hex {\n"
@@ -1433,7 +1433,7 @@ PObject * PASN_OctetString::Clone() const
void PASN_OctetString::PrintOn(ostream & strm) const
{
int indent = strm.precision() + 2;
- _Ios_Fmtflags flags = strm.flags();
+ std::_Ios_Fmtflags flags = strm.flags();
strm << ' ' << value.GetSize() << " octets {\n"
<< hex << setfill('0') << resetiosflags(ios::floatfield)
Follow-ups
--- Mike Frysinger 2009-12-08 20:42:48
should be fixed now, thanks
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found