[Poppler-bugs] [Bug 28587] poppler 0.14 will not compile on Solaris.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jun 21 15:48:04 PDT 2010
https://bugs.freedesktop.org/show_bug.cgi?id=28587
--- Comment #7 from Tim Mooney <Tim.Mooney at ndsu.edu> 2010-06-21 15:48:04 PDT ---
Sorry to reply to a closed bug, but:
- As an alternate to the stdio.h/cstdio switch, just inserting a
using namespace std;
before the inclusion of <cstdio> fixes the issue for ImgWriter.h. I'm
not certain what the thinking is these days on "using namespace std",
so maybe that's less palatable than just switching back to the C headers.
- Brian's patch doesn't completely fix things for me, as goo/gstrtod.cc
fails because of missing prototypes for a few functions:
"gstrtod.cc", line 53: Error, badfunccp: The function "localeconv" must have a
prototype.
"gstrtod.cc", line 54: Error, incomplete: The type "lconv" is incomplete.
"gstrtod.cc", line 55: Error, badfunccp: The function "strlen" must have a
prototype.
"gstrtod.cc", line 96: Error, badfunccp: The function "malloc" must have a
prototype.
"gstrtod.cc", line 99: Error, badfunccp: The function "memcpy" must have a
prototype.
"gstrtod.cc", line 101: Error, badfunccp: The function "memcpy" must have a
prototype.
etc.
If I add a "using namespace std;" before the inclusion of <clocale> in
gstrtod.c, that resolves that issue.
--
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