[Poppler-bugs] [Bug 40478] New: Can't compile pngwriter with libpng 1.5

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 30 00:21:00 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40478

           Summary: Can't compile pngwriter with libpng 1.5
           Product: poppler
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
        AssignedTo: poppler-bugs at lists.freedesktop.org
        ReportedBy: mkbosmans at gmail.com


This is the error I get:

  CXX    PNGWriter.lo
PNGWriter.cc: In member function 'virtual bool PNGWriter::init(FILE*, int, int,
int, int)':
PNGWriter.cc:115:102: error: invalid conversion from 'char*' to
'png_const_bytep {aka const unsigned char*}' [-fpermissive]
/usr/i686-w64-mingw32/sys-root/mingw/include/libpng15/png.h:2189:1: error:  
initializing argument 5 of 'void png_set_iCCP(png_structp, png_infop,
png_const_charp, int, png_const_bytep, png_uint_32)' [-fpermissive]

(Note that this is with libpng 1.5 and mingw cross-compiling)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Poppler-bugs mailing list