Subject: Re: Xft.h syntax errors in abiword make again
To: Art Lemasters <slemas1@mindspring.com>
From: Vincent <10.50@free.fr>
List: current-users
Date: 02/17/2004 10:23:32
Art Lemasters <slemas1@mindspring.com> dixit :

> >>   During abiword includes, the sytax error messages are showing
> >>from Xft.h again.  I'm running current, 1.6ZK, xsrc from cvs,
> >>yesterday.  Is anyone else seeing this?  Is it an upstream (abiword
> >>development) thing again?

> In file included from ../../../../src/af/xap/unix/xap_UnixFont.h:41,
> 		from ../../../../src/af/xap/unix/xap_UnixFontManager.h:32,
> 		from ../../../../src/af/xap/unix/xap_nixFontPreview.h:27,
> 		from ev_UnixToolbar.cpp:46:
> /usr/pkg/include/X11/Xft/Xft.h:58: error: syntax error before `;'
> token
> /usr/pkg/include/X11/Xft/Xft.h:92: error: `FT_UInt' is used as a type,
> but is

I had that before. One of the file above, I think it is
xap_UnixFontManager, lacks a:

#include <freetype2/freetype/freetype.h>
it should  go more smoothly.

Vincent