bugpng++, a C++ wrapper for libpng - Bugs: bug #39543, Missing string header included

 
 

bug #39543: Missing string header included

Submitted by:  None
Submitted on:  Sun 21 Jul 2013 01:39:04 PM 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 25 Oct 2015 02:42:42 PM UTC, comment #1:

Well, better later than never.

I don't know which version of png++ you were using, but this problem has been long fixed (for Win32, but that doesn't really matter):

r119 | alexshulgin | 2011-01-24 10:06:26 +0100 (Mo, 24 Jan 2011) | 1 line

Added #include <string> for error.hpp: fix compilation on Win32.

Verified that it works with current versions of g++ and clang++ just now.

Alexander Shulgin <alexshulgin>
Project Administrator
Sun 21 Jul 2013 01:39:04 PM UTC, original submission:

It looks like there should be included string header file in png++/png.hpp. In attached file image_wrapper.h when I comment out #include <string> I get following errors:

With gcc version 4.9.0 20130630 (experimental) if everything ok.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28634:  image_wrapper.h added by None (1KiB - application/octet-stream)

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 25 Oct 2015 02:42:42 PM UTCalexshulginStatusNone=>Works For Me
      Open/ClosedOpen=>Closed
    Sun 21 Jul 2013 01:39:04 PM UTCNoneAttached File-=>Added image_wrapper.h, #28634

    Back to the top


    Powered by Savane 3.1-cleanup1