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: Werner LEMBERG
Subject: Re: [ft-devel] Bug on PowerPC: Illegal Intruction in FT_Get_Name_Index (worksforme)
Date: Thu, 14 Apr 2005 18:30:59 +0200 (CEST)

> 
> > > > 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.


    Werner




reply via email to

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