[Poppler-bugs] [Bug 60095] utils/pdfunite.cc fails to build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 5 13:08:57 PST 2013


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

--- Comment #15 from Adrian Johnson <ajohnson at redneon.com> ---
It is not one file that is the problem. Any file that causes off_t to be
defined (which is any file including stdio.h directly or indirectly) needs
config.h.

Including config.h at the start of every file is the way config.h is meant to
be used.
http://inaugust.com/post/68

The problem with this bug is there is no compile error for a particular file to
indicate config.h is missing. The problem only occurs at the linking stage on a
32-bit machine. At that point there is no indication of which file caused the
problem. The bug will also not be noticed on a 64-bit machine. So without
including config.h in all files it is easy to re-introduce the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130205/78f9a448/attachment.html>


More information about the Poppler-bugs mailing list