[Poppler-bugs] [Bug 79762] New: Include stdio.h from poppler-config.h
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jun 7 01:14:57 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=79762
Priority: medium
Bug ID: 79762
Assignee: poppler-bugs at lists.freedesktop.org
Summary: Include stdio.h from poppler-config.h
Severity: normal
Classification: Unclassified
OS: All
Reporter: hib at hiberis.nl
Hardware: All
Status: NEW
Version: unspecified
Component: general
Product: poppler
In poppler-config.h there is a check for __MINGW_PRINTF_FORMAT,
which is set by stdio.h.
This fixes this warning when compling with the mingw-w64-compiler:
XRef.cc: In member function 'virtual void
XRef::XRefTableWriter::writeEntry(Goffset, int, XRefEntryType)':
XRef.cc:1460:94: warning: unknown conversion type character 'l' in format
[-Wformat=]
outStr->printf("%010lli %05i %c\r\n", (long long)offset, gen,
(type==xrefEntryFree)?'f':'n');
^
XRef.cc:1460:94: warning: format '%i' expects argument of type 'int', but
argument 3 has type 'Goffset {aka long long int}' [-Wformat=]
XRef.cc:1460:94: warning: too many arguments for format [-Wformat-extra-args]
--
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/20140607/fe56ff97/attachment.html>
More information about the Poppler-bugs
mailing list