Dear Kumar Gala,

In message <[email protected]> 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: [email protected]
I think it's a new feature. Don't tell anyone it was an accident. :-)
  -- Larry Wall on s/foo/bar/eieio in <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to