[Poppler-bugs] [Bug 38974] New: goo/gtypes.h must #include <stdbool.h>
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 5 05:26:20 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=38974
Summary: goo/gtypes.h must #include <stdbool.h>
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: bunk at stusta.de
Created an attachment (id=48769)
View: https://bugs.freedesktop.org/attachment.cgi?id=48769
Review: https://bugs.freedesktop.org/review?bug=38974&attachment=48769
patch
Since commit ae79fc50 (Make GBool a bool instead of an int) this
header uses "bool".
This patch fixes the following build error I saw with xpdf in Debian:
<-- snip -->
...
cc -g -O2 -march=core2 -I/usr/include/poppler -I/usr/include/poppler/goo
-I/usr/include/poppler/splash -Wno-write-strings -DHAVE_DIRENT_H -c -o
build/parseargs.o build/parseargs.c
In file included from build/parseargs.h:16:0,
from build/parseargs.c:14:
/usr/include/poppler/goo/gtypes.h:31:1: error: unknown type name ‘bool’
...
<-- snip -->
--
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