[U-Boot] davinci_emac.c:*: warning: duplicate `volatile'
wd at denx.de
Mon Aug 17 22:03:48 CEST 2009
Dear ksi at koi8.net,
In message <Pine.LNX.4.64ksi.0908171235440.10312 at home-gw.koi8.net> you wrote:
> > I was playing with old tool chains actually. That was with gcc 3.3.x.
> Ah, that's ancient... I don't think we need to something for this. I betcha
> it won't compile at all with something like 2.x.x but who cares? :)
Indeed gcc 2.95 dies with a "unrecognized option `-MQ'" error message
when attempting to generate the dependencies...
> > Thanks for the confirmation! Much appreciated. Could you please send
> > an Ack-by or Tested-by for that patch? Thanks in advance.
> Sure I will.
Thanks a lot.
> > davinci_emac.c:496: warning: duplicate `volatile'
> Once again -- I don't think it requires any action. It builds without a
> single warning with newer compilers, even with 4.2.x less for 4.4.1...
Yes, I know. But I still would like to hush up this gcc 3.x warning,
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 at denx.de
You can observe a lot just by watching. - Yogi Berra
More information about the U-Boot