[U-Boot] [PATCH] cmd_test: fix a compile error on Blackfin

Masahiro Yamada yamada.m at jp.panasonic.com
Wed Nov 20 05:29:00 CET 2013


Hello Mans

> > +/*
> > + * Undef true and false here to avoid macro expansion by <stdbool.h>
> > + */
> > +#undef true
> > +#undef false
> 
> This won't work if stdbool.h defines true/false as an enum.  Some
> versions of gcc did this.  The correct fix is to change the code so it

Thanks for your comments.
This patch does not work, so I'd like to retract it.

Best Regards
Masahiro Yamada



More information about the U-Boot mailing list