[Poppler-bugs] [Bug 43558] New: goo/PNGWriter.cc incorrectly relies on png.h to #include <string.h>
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 6 14:15:20 PST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=43558
Bug #: 43558
Summary: goo/PNGWriter.cc incorrectly relies on png.h to
#include <string.h>
Classification: Unclassified
Product: poppler
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: general
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: jbowler at acm.org
The summary says it all; here's the error with libpng 1.6.0:
/PNGWriter.cc: In member function ‘void PNGWriter::setICCProfile(const char*,
unsigned char*, int)’:
/home/work-tmp/root/portage/app-text/poppler-0.18.1/work/poppler-0.18.1/goo/PNGWriter.cc:47:29:
error: ‘memcpy’ was not declared in this scope
/home/work-tmp/root/portage/app-text/poppler-0.18.1/work/poppler-0.18.1/goo/PNGWriter.cc:49:24:
error: ‘strdup’ was not declared in this scope
libpng 1.6.0 is in alpha development but can be obtained from the sourceforge
GIT archive (branch libpng16)
--
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