[#5758] fix build for libopenh323

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5758] fix build for libopenh323

Submitted By: Peter Meerwald

Open Date

2009-12-08 05:59:16     Close Date

2010-06-11 04:57:07

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 libopenh323

Details:

 

newer toolchains seem to be more strict wrt. to C++ namespace

 

diff --git a/lib/libopenh323/src/q931.cxx b/lib/libopenh323/src/q931.cxx

index 8b94cfd..cb8eed7 100644

--- a/lib/libopenh323/src/q931.cxx

+++ b/lib/libopenh323/src/q931.cxx

@@ -642,12 +642,10 @@ BOOL Q931::Encode(PBYTEArray & data) const

   return data.SetSize(offset);

}

 

-typedef long _Ios_Fmtflags;

-

void Q931::PrintOn(ostream & strm) const

{

   int indent = strm.precision() + 2;

-  _Ios_Fmtflags flags = strm.flags();

+  std::_Ios_Fmtflags flags = strm.flags();

 

   strm << "{\n"

        << setw(indent+24) << "protocolDiscriminator = " << protocolDiscriminator << '\n'

 

Follow-ups

 

--- Mike Frysinger                                           2009-12-08 20:50:51

ive added your fix to svn; thanks

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes