Daniel O'Connor wrote:
On Sat, 19 Nov 2005 19:20, Russell Shaw wrote:
I'd rather use something like
#define _USE_FULL_ITOA
#include <stdlib.h>
... itoa(x, s, 13);
That won't save any library space tho. If the reduced version is faster
and saves a lot of space, then it could be worthwhile having a compile-time
option.
It will if it's implemented correctly, eg in stdlib.h
#ifdef _USE_FULL_ITOA
#define itoa _itoa_full
#else
#define itoa _itoa_small
#endif
Even if functions are unused in a library that is linked, don't they still
end up in the final binary?
_______________________________________________
AVR-GCC-list mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list