On Mon, 2004-06-14 at 18:36, Colin Marquardt wrote:
Peter Moulder <Peter.Moulder@...38...> writes:
/usr/openwin/include/X11/Xutil.h:117: error: 'Bool' is used as a type, but is [...]
Most likely you will need to include another X11 header before including Xft.h (XFree86's Xutil.h probably includes it automatically, whereas Solaris' does not).
If there's no documentation saying what header needs to be #included before Xutil.h, then please consider filing a bug report with the provider of that Xutil.h file. Also consider filing a bug report against Xft, especially if it can be handled relatively unobtrusively (without #if).
Xutil.h told me to include <X11/Xlib.h> - should I report that against Xft then? I'm not sure if it could do harm to always include it...
In this case I think it should be entirely safe for us to do.
Depending on whether these headers are historically properly armored, it may or may not be safe for Xft to do themselves.
So, fix it in Inkscape, and file a bug with Xft to do with as they will.
(actually, this may soon no longer be an issue, I think the new pango work is removing the usage of Xft altogether)
-mental