[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ft] Last piece of strict aliasing warnings
From: |
Ismail Dönmez |
Subject: |
[ft] Last piece of strict aliasing warnings |
Date: |
Sun, 21 Jan 2007 22:39:04 +0200 |
User-agent: |
KMail/1.9.5 |
Hi,
First congratulations on greate 2.3.0 release! Here is the last piece of
strict aliasing warnings, it would rock if those could be fixed so -O2 can be
safely enabled.
src/sfnt/ttmtx.c: In function 'tt_face_load_hmtx':
src/sfnt/ttmtx.c:130: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/sfnt/ttmtx.c:131: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/sfnt/ttmtx.c:145: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/sfnt/ttmtx.c:146: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/sfnt/ttmtx.c: In function 'tt_face_load_hhea':
src/sfnt/ttmtx.c:286: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/sfnt/ttmtx.c: In function 'tt_face_get_metrics':
src/sfnt/ttmtx.c:419: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/pshinter/pshmod.c: In function 'ps_hinter_init':
src/pshinter/pshmod.c:61: warning: type-punning to incomplete type might break
strict-aliasing rules
src/pshinter/pshmod.c:64: warning: type-punning to incomplete type might break
strict-aliasing rules
In file included from /src/cache/ftcache.c:25:
src/cache/ftccache.c: In function 'ftc_node_mru_link':
src/cache/ftccache.c:49: warning: dereferencing type-punned pointer will break
strict-aliasing rules
src/cache/ftccache.c: In function 'ftc_node_mru_unlink':
src/cache/ftccache.c:60: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from /src/cache/ftcache.c:26:
src/cache/ftccmap.c: In function 'FTC_CMapCache_Lookup':
src/cache/ftccmap.c:363: warning: dereferencing type-punned pointer will break
strict-aliasing rules
In file included from /src/cache/ftcache.c:30:
src/cache/ftcbasic.c: In function 'FTC_ImageCache_Lookup':
src/cache/ftcbasic.c:357: warning: dereferencing type-punned pointer will
break strict-aliasing rules
src/cache/ftcbasic.c: In function 'FTC_SBitCache_Lookup':
src/cache/ftcbasic.c:625: warning: dereferencing type-punned pointer will
break strict-aliasing rules
Of course any howto on fixing those warnings correctly would be appreciated
too.
Regards,
ismail
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ft] Last piece of strict aliasing warnings,
Ismail Dönmez <=