[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype-devel
Subject: [ft-devel] Re: Compilation problem with sample FTDUMP.c on FreeType
From: "MakeAFP TechLine" <TechLine () ddt1 ! com ! my>
Date: 2006-05-22 3:16:52
Message-ID: 000401c67d90$29fc6fd0$1e3ebb09 () ipmwin
[Download RAW message or body]
Hi Werner,
Thanks.
But after made the following changes (I also tested with your CVS version):
> @@ -104,7 +104,7 @@
> void
> Print_Type( FT_Face face )
> {
> - FT_ModuleRec* module;
> + FT_Module module;
I got following error message with VC 6.0 compiler:
F:\freetype-2.2.1-demo\src\ftdump.c(17) : error C2006: #include expected a
filename, found 'identifier'
F:\freetype-2.2.1-demo\src\ftdump.c(21) : error C2006: #include expected a
filename, found 'identifier'
F:\freetype-2.2.1-demo\src\ftdump.c(22) : error C2006: #include expected a
filename, found 'identifier'
F:\freetype-2.2.1-demo\src\ftdump.c(112) : error C2037: left of 'root'
specifies undefined struct/union 'FT_DriverRec_'
F:\freetype-2.2.1-demo\src\ftdump.c(113) : error C2037: left of 'clazz'
specifies undefined struct/union 'FT_ModuleRec_'
Error executing cl.exe.
Best Regards
Mark
----- Original Message -----
From: "Werner LEMBERG" <wl@gnu.org>
To: <TechLine@ddt1.com.my>
Cc: <freetype-devel@nongnu.org>
Sent: Monday, May 22, 2006 2:55 AM
Subject: Re: Compilation problem with sample FTDUMP.c on FreeType V2.2.1
>
> > I used your FreeType since V2.0, but I got compilation problem with
> > your latest release V2.2.1, I generated LIBs with VC 6.0 without any
> > problem, but I got following error messages with your demo program
> > FTDUMP:
> >
> > F:\freetype-2.2.1-demo\test\ftdump.c(107) : error C2065:
> > 'FT_ModuleRec' : undeclared identifier
>
> You've found a bug. Below is a fix which is now in the CVS. Thanks
> for the report.
>
>
> Werner
>
>
> ======================================================================
>
>
> --- ftdump.c.old 2006-05-07 06:28:13.000000000 +0200
> +++ ftdump.c 2006-05-21 20:52:53.000000000 +0200
> @@ -104,7 +104,7 @@
> void
> Print_Type( FT_Face face )
> {
> - FT_ModuleRec* module;
> + FT_Module module;
>
>
> printf( "font type entries\n" );
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic