freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] A few problems i've found in the latest code from cvs


From: David Turner
Subject: Re: [ft-devel] A few problems i've found in the latest code from cvs
Date: Wed, 11 Mar 2009 23:00:30 +0100

Ah ah, the error is the comma after the last pcursor declaration, it should be a semi-column.
I applaud Werner's attempt to make the ft2demos code build with really really old compilers, but I wonder if this is needed :-)

2009/3/11 Oran Agra <address@hidden>
Hi,
Regarding the compilation error in ft2demos, it happens with the latest source from CVS (I've just verified that again).

Here's the relevant part of common.c, the error happens in the #else meaning __STDC__ is not defined.
The strange thing is that this is not the first occurrence of that pattern in that file, and I don’t know why it doesn’t fail on the first one.

 extern int
#ifdef __STDC__
 utf8_next( const char** pcursor,
            const char*  end )
#else
 utf8_next( pcursor, end )
   const char** pcursor,
   const char*  end;
#endif
 {

-----Original Message-----
From: Werner LEMBERG [mailto:address@hidden]
Sent: Wednesday, March 11, 2009 7:57 AM
To: address@hidden
Cc: address@hidden
Subject: Re: [ft-devel] A few problems i've found in the latest code from cvs


> The jam file at freetype2\src\base\Jamfile seems to be including
> both ftadvanc.c and ftbase.c (which already includes ftadvanc.c)

Fixed in CVS, thanks.

> When I compile ft2demos with the jam system and vs2005 I get an
> error:
> common.c
> src\common.c(250) : error C2059: syntax error : 'const'
> src\common.c(252) : error C2449: found '{' at file scope
>                                  (missing function header?)
> src\common.c(300) : error C2059: syntax error : '}'

I think I've fixed this a week ago in the CVS.  Are you using the
current CVS?  I've found some other problems if compiling with a C++
compiler too.

> I've also found a typo in:
> http://freetype.sourceforge.net/freetype2/docs/design/design-5.html
> The explanation about module_interface is referring module_requires
> by mistake.

Fixed, thanks.  Note that the `design' documents are not up to date.
For example, they are referring to the `autohint' module which has
been replaced with `autofit'.


   Werner




_______________________________________________
Freetype-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/freetype-devel


reply via email to

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