
5 Jul
2009
5 Jul
'09
1:33 a.m.
Dear Kumar Gala,
In message 9B5E5AE1-2907-49C2-870F-2D7B2F2DE598@kernel.crashing.org you wrote:
When building the MPC8572DS_config w/gcc-4.4 I get:
sys_eeprom.c: In function do_mac: sys_eeprom.c:323: warning: dereferencing type-punned pointer will > break strict-aliasing rules
...
Should would be turning on -fno-strict-aliasing. The linux kernel has > been doing this for some time.
Should we not rather fix the code that causes these warnings? Usually the required changes are just minimal (which does not mean that it is a trivial task).
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
I think it's a new feature. Don't tell anyone it was an accident. :-)
-- Larry Wall on s/foo/bar/eieio in 10911@jpl-devvax.JPL.NASA.GOV