[Poppler-bugs] [Bug 45407] New: Fails to build with mingw64's latest header
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jan 30 08:30:44 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45407
Bug #: 45407
Summary: Fails to build with mingw64's latest header
Classification: Unclassified
Product: poppler
Version: unspecified
Platform: All
OS/Version: Windows (All)
Status: NEW
Severity: major
Priority: medium
Component: glib frontend
AssignedTo: poppler-bugs at lists.freedesktop.org
ReportedBy: hib at hiberis.nl
Compiling poppler fails with the mingw64 compiler using the latest mingw64
header files from vcs.
The cause for this is that these header files define time_t depending on (among
others) the definition of _FILE_OFFSET_BITS, which is defined in config.h.
Now, config.h is included in poppler-attachment.cc, but not in
poppler-document.cc and poppler-annot.cc, causing a mismatch in the time_t
definition.
Including config.h in poppler-document.cc and poppler-annot.cc fixes this.
Patch will follow.
--
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