This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] PR6015, snprintf, glibc2.3 and all that...
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Thu, 04 Apr 2002 10:15:40 +0200
- Subject: Re: [RFC] PR6015, snprintf, glibc2.3 and all that...
- References: <1017877374.26729.92.camel@akkadia.org>
Ulrich Drepper wrote:
>There is a big misunderstanding. __builtin_printf etc don't actually
>implemented what they are suggesting by their names. Instead they are
>only names for the compiler to convert
>
> printf ("hello world\n");
>
>into
>
> puts ("hello world");
>
>and other tricks like this.
>
I see. Thanks! Indeed I was not sure...
May I ask which are your feelings about this issue at large? Does it
make sense to envisage a "C"-locale only, minimal, snprintf to be used
for low-level (MT-clean, indeed) number formatting in v3?
Ciao, Paolo.