~/Projects $ size openocd.gcc text data bss dec hex filename 915920 11600 90668 1018188 f894c openocd.gcc ~/Projects $ size openocd.clang text data bss dec hex filename 902754 10684 90572 1004010 f51ea openocd.clang
> -----Original Message----- > From: David Brownell [mailto:davi...@pacbell.net] > Sent: Friday, January 29, 2010 1:35 AM > To: openocd-development@lists.berlios.de > Cc: Austin, Alex > Subject: Re: [Openocd-development] Other compilers > > On Thursday 28 January 2010, Austin, Alex wrote: > > +#ifndef true > > +#define true -1 > > ANSI-C defines true as "1" not "-1" ... best > to use that for compatibility. > > I suspect I'll merge this portability patch with that change... That makes little sense to me, especially since I've always seen TRUE defined as -1. Oh well. Either way shouldn't matter. > > > > +#define false 0 > > +#endif > > By the way, were those object sizes "size" output (which > removes all kinds of extraneous stuff)? > > > - Dave _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development