This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: INTEGER_ONLY (macro)?
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Toralf Lund <toralf at procaptura dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Fri, 22 Oct 2004 12:45:04 -0400
- Subject: Re: INTEGER_ONLY (macro)?
- References: <4178D842.3080406@procaptura.com>
Toralf Lund wrote:
Can someone please remind me, what happens when I define INTEGER_ONLY
during newlib build? I have set this flag in an old build setup, but
I've forgotten what exactly it does, and it's not easy to understand it
directly from the sources. It has something to do with printf(), but...
- Toralf
Toralf,
This flag is used internally to build vfiprintf and _vfiprintf_r from
vfprintf.c. As you probably know, they are the versions of printf that do not
support floating-point and thus have a smaller size footprint when linked in. If
one wants to make vfprintf and _vfprintf_r equivalent to vifprintf and
_vfiprintf_r so application code doesn't have to change, there is the
configuration option: --disable-newlib-io-float.
-- Jeff J.