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

 
 

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

Submitter:  None
Submitted:  Sun 01 Jun 2014 03:43:43 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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

I think this has been fixed in trunk?

Alexander Shulgin <alexshulgin>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by alexshulgin (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-29 alexshulgin Open/ClosedOpen Closed
    2015-06-29 alexshulgin StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code