Dear Mike Frysinger,

In message <201003220254.05158.vap...@gentoo.org> you wrote:
> 
> > So if a C compiler auto-defines something as "arm", or "i386", or
> > "microblaze", then it is NOT standard-conforming - bare with me if I
> > simply call this broken.
> 
> that may be, but if that is what the gcc maintainer has decided, then 
> complaining about it wont fix code like u-boot.  after all, u-boot hasnt told 

Complaining about it might help to accelerate fixes which are already
in the works. GCC documentation reads:

        We are slowly phasing out all predefined macros which are
        outside the reserved namespace. You should never use them in
        new programs, and we encourage you to correct older code to
        use the parallel macros whenever you find it. 

Complaining might make the "slowwly" a little faster.  Not complaining
certainly does not help at all.

> gcc that it wants strict preprocessor behavior (i.e. using something like -
> ansi).  if it did, then gcc wouldnt have output any non-prefixed defines.

Maybe we should do that?

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: w...@denx.de
It is a good thing for an uneducated man to read books of quotations.
                        - Sir Winston Churchill _My Early Life_ ch. 9
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to