freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Devel] Building ft2demos with new header insclusion scheme


From: David Turner
Subject: Re: [Devel] Building ft2demos with new header insclusion scheme
Date: Wed, 21 Mar 2001 14:49:38 +0100

Hi Tom,

Tom Kacvinsky a écrit :
> 
> Hi all,
> 
> I have in the process of modifying the ft2demo source to use the new header
> inclusion scheme.  Here is the "head" of ftdump.c:
> 
> #include <ft2build.h>
> 
>   /* the following header shouldn't be used in normal programs */
> #include FT_INTERNAL_DEBUG_H
> 
>   /* showing driver name */
> #include FT_CONFIG_MODULES_H
> #include FT_INTERNAL_OBJECTS_H
> #include FT_INTERNAL_DRIVER_H
> 
> Here is what I get for ftdump.c when I compile:
> 
> "/dsk1/scratch/src/freetype2/include/freetype/config/ftmodule.h", line 2: 
> syntax error before or at: FT_USE_MODULE
> "/dsk1/scratch/src/freetype2/include/freetype/config/ftmodule.h", line 3: 
> identifier redefined: FT_USE_MODULE
>         current : function() returning int
>         previous: function(int) returning int : 
> "/dsk1/scratch/src/freetype2/include/freetype/config/ftmodule.h", line 1
> 
> I am working on this right now, but if you have any ideas, I'd appreciate
> hearing them...
> 

Yes, you should not be including FT_CONFIG_MODULES_H but FT_MODULE_H :-)

Regards,

- David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]