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: Thu, 14 Apr 2005 15:28:24 -0400 (EDT)

On Thu, 14 Apr 2005, Werner LEMBERG wrote:

> >
> > > > > Because the FreeType code does some tricks which fail if strict
> > > > > aliasing is active.  Fixing this is *not* trivial (and probably
> > > > > not worth the trouble).
> > > >
> > > > I may be quite wrong, but I think adding some casts to (void *)
> > > > do solve the problem.
> > >
> > > Please go ahead and provide patches!
> >
> > Attached!  It was much easier than I thought.  Drops all 323
> > warnings for me.  The idea is that by casting to (void *),
> > compiler knows that it should turn off strict aliasing for this
> > item...
>
> Thanks!  But this is for FreeType 1 while we are talking about
> FreeType 2.

Shoot!  Ignore my other message asking about otlayout code too!
I checked out the whole freetype CVS the other they, ...

I'll send the correct one as soon as I get home.

>     Werner

--behdad
http://behdad.org/




reply via email to

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