bugpng++, a C++ wrapper for libpng - Bugs: bug #53731, error.hpp should #include...

 
 

bug #53731: error.hpp should #include <string>

Submitter:  None
Submitted:  Mon 23 Apr 2018 09:40:29 PM 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
   

Sat 20 Jul 2019 09:48:01 AM UTC, comment #2: 

The latest released version doesn't have this issue.

Alexander Shulgin <alexshulgin>
Group administrator
Tue 24 Apr 2018 04:00:20 PM UTC, comment #1: 

For my own record, it is version 0.2.5. -Alex

Anonymous
Mon 23 Apr 2018 09:40:29 PM UTC, original submission:  

The following code did not build on my Mac until I edited /usr/local/include/png++/error.hpp and added an #include <string> directive.
------------------------------
#include "png++/png.hpp"
int main(int argc, char **argv) {
  png::image< png::rgb_pixel > image("48-go-down.png");
}
------------------------------

Here's my compiler info.  I'm using whatever version of png++ you get from
homebrew install png++ (run on 23-04-2018).

stevescott@stevens-mbp:~/code/DAI$ c++ --version
Apple LLVM version 9.1.0 (clang-902.0.39.1)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

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
    2019-07-20 alexshulgin StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code