Hi all, If my question is totally off-topic, please forgive me.
I've installed FreeType 2 with fink in order to compile some other sources, but I get the following error : > if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/sw/include -DSYS_DARWIN -I../../include > `top_builddir="../.." ../../vlc-config --cflags plugin freetype` -Wsign-compare > -Wall -I/sw/include -no-cpp-precomp -D_INTL_REDIRECT_MACROS -finline-limit-30000 > -pipe -MT libfreetype_plugin_a-freetype.o -MD -MP -MF > ".deps/libfreetype_plugin_a-freetype.Tpo" \ > -c -o libfreetype_plugin_a-freetype.o `test -f 'freetype.c' || echo > './'`freetype.c; \ > then mv -f ".deps/libfreetype_plugin_a-freetype.Tpo" > ".deps/libfreetype_plugin_a-freetype.Po"; \ > else rm -f ".deps/libfreetype_plugin_a-freetype.Tpo"; exit 1; \ > fi > In file included from freetype.c:45: > /usr/X11R6/include/freetype2/freetype/ftglyph.h:104: parse error before "FT_Library" > /usr/X11R6/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon at end of > struct or union > /usr/X11R6/include/freetype2/freetype/ftglyph.h:106: parse error before "format" > /usr/X11R6/include/freetype2/freetype/ftglyph.h:106: warning: type defaults to `int' > in declaration of `format' > /usr/X11R6/include/freetype2/freetype/ftglyph.h:106: warning: data definition has no > type or storage class > /usr/X11R6/include/freetype2/freetype/ftglyph.h:107: parse error before "advance" > /usr/X11R6/include/freetype2/freetype/ftglyph.h:107: warning: type defaults to `int' > in declaration of `advance' > /usr/X11R6/include/freetype2/freetype/ftglyph.h:107: warning: data definition has no > type or storage class > /usr/X11R6/include/freetype2/freetype/ftglyph.h:109: warning: type defaults to `int' > in declaration of `FT_GlyphRec' > /usr/X11R6/include/freetype2/freetype/ftglyph.h:109: warning: data definition has no > type or storage class > /usr/X11R6/include/freetype2/freetype/ftglyph.h:156: parse error before "FT_GlyphRec" > /usr/X11R6/include/freetype2/freetype/ftglyph.h:156: warning: no semicolon at end of > struct or union Is there any reason why gcc will find such parse errors in freetype 2 files? Is this has something to do with the flags I have to send to gcc? I'm using Panther 10.3.5 and xCode 1.5. Thanks for your help, Pejvan -- Pejvan BEIGUI [EMAIL PROTECTED] Cet email comporte une signature electronique au format OpenPGP/MIME. Pour votre propre s�curit�, tout email semblant provenir de cette adresse mais ne comportant pas de signature ou une signature non-valide sera r�put� falsifi�.
signature.asc
Description: OpenPGP digital signature
