bugpng++, a C++ wrapper for libpng - Bugs: bug #42478, image::write_stream(ostream&)...

 
 

bug #42478: image::write_stream(ostream&) infinite recursion

Submitted by:  None
Submitted on:  Sun 01 Jun 2014 03:43:43 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Works For Me
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 01 Jun 2014 04:04:32 AM UTC, comment #1:

I think this has been fixed in trunk?

Alexander Shulgin <alexshulgin>
Project Administrator
Sun 01 Jun 2014 03:43:43 AM UTC, original submission:

In 0.2.5, <code>image::write_stream(std::ostream& stream)</code> simply calls <code>write_stream(stream)</code>. I think this was intended to call the template version, but instead simply calls itself. Removing the <code>std::ostream</code> version works.

Discovered by trying to do <code>image.write_stream(std::cout)</code> on OS 10.9.3 with XCode 5.1.1 (modified clang 3.4, libc++).

Anonymous

 

(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 alexshulgin (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Jun 2015 05:48:07 AM UTCalexshulginOpen/ClosedOpen=>Closed
    Mon 29 Jun 2015 05:47:54 AM UTCalexshulginStatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup1