[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Re: [avr-gcc-list] Poll: Who uses itoa() & co with ba

From: Daniel O'Connor
Subject: Re: [avr-libc-dev] Re: [avr-gcc-list] Poll: Who uses itoa() & co with base != {2, 8, 10, 16}?
Date: Sat, 19 Nov 2005 22:51:14 +1030
User-agent: KMail/1.8.2

On Sat, 19 Nov 2005 21:04, Russell Shaw wrote:
> > 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?

No, they don't, otherwise you'd run out of flash space all the time :)

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

Attachment: pgp5licLv8cde.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]