On Wednesday 16 May 2007 18:56:03 you wrote: > > Here is the last piece of strict aliasing warnings, it would rock if > > those could be fixed so -O2 can be safely enabled. [...] > > I think I've now removed all such warnings from the CVS. Please test.
Very nice! Just one aliasing warning with gcc 4.2.0: In file included from /packages/freetype2/src/sfnt/sfnt.c:24: /packages/freetype2/src/sfnt/ttmtx.c: In function 'tt_face_get_metrics': /packages/freetype2/src/sfnt/ttmtx.c:362: warning: dereferencing type-punned pointer will break strict-aliasing rules > > Of course any howto on fixing those warnings correctly would be > > appreciated too. > > Just use an intermediate pointer to avoid the direct casting of a the > `&' operand. Thanks for that :) -- Perfect is the enemy of good
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
