bugGnash - The GNU Flash player - Bugs: bug #29000, libbase/RTMP.cpp won't compile...

 
 

bug #29000: libbase/RTMP.cpp won't compile with G++ 3.4

Submitted by:  Rob Savoye <rsavoye>
Submitted on:  Wed 24 Feb 2010 04:46:15 PM UTC  
 
Category: RTMP and AMFSeverity: 3 - Normal
Release: NoneStatus: Fixed
Privacy: PublicAssigned to: Benjamin Wolsey <bwy>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 24 Feb 2010 05:15:24 PM UTC, comment #2:

Works now with G++ 3.4.

Rob Savoye <rsavoye>
Project Administrator
Wed 24 Feb 2010 05:06:15 PM UTC, comment #1:

It was the explicit copy constructor.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Wed 24 Feb 2010 04:46:15 PM UTC, original submission:

The new RTMP code, which does compile with G++ 4.x, does not compile with G++ 3.4, which is unfortunately still in common use on some platforms.

./../../../gnash-bzr/trunk/libbase/RTMP.cpp: In function `void gnash::rtmp::<unnamed>::handleClientBW(gnash::rtmp::RTMP&, const gnash::rtmp::RTMPPacket&)':
../../../../gnash-bzr/trunk/libbase/RTMP.cpp:956: warning: converting of negative value `-0x000000001' to `uint8_t'
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_map.h: In member function `_Tp& std::map<_Key, _Tp, _Compare, _Alloc>::operator[](const _Key&) [with _Key = size_t, _Tp = gnash::rtmp::RTMPPacket, _Compare = std::less<size_t>, _Alloc = std::allocator<std::pair<const size_t, gnash::rtmp::RTMPPacket> >]':
../../../../gnash-bzr/trunk/libbase/RTMP.cpp:125: instantiated from here
/usr/lib/gcc/i686-redhat-linux/3.4.6/../../../../include/c++/3.4.6/bits/stl_map.h:339: error: no matching function for call to `gnash::rtmp::RTMPPacket::RTMPPacket(gnash::rtmp::RTMPPacket)'
make[2]: *** [libgnashbase_la-RTMP.lo] Error 1

Rob Savoye <rsavoye>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bwy (Posted a comment)
  • -unavailable- added by rsavoye (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 24 Feb 2010 05:15:24 PM UTCrsavoyeStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Wed 24 Feb 2010 05:06:15 PM UTCbwyStatusNone=>Ready For Test

    Back to the top


    Powered by Savane 3.1-cleanup1