freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Bug on PowerPC: Illegal Intruction in FT_Get_Name_Index (


From: Behdad Esfahbod
Subject: Re: [ft-devel] Bug on PowerPC: Illegal Intruction in FT_Get_Name_Index (worksforme)
Date: Wed, 25 May 2005 04:59:37 -0400 (EDT)

On Wed, 25 May 2005, Werner LEMBERG wrote:

> > You don't get these two with -pedantic?
>
> Yep.  This seems to be a buglet in gcc which has been fixed in later
> versions.

That's weird.  The fact probably is that assigning function
pointers to data pointers is indeed forbidden in ISO C, and
that's all gcc was saying.


Anyway, I think I've found a solution: use a union.  Patch
attached.

[...]
>     Werner

--behdad
http://behdad.org/

Attachment: freetype2-function-pointer.patch
Description: Text document


reply via email to

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