[RFC] PR6015, snprintf, glibc2.3 and all that...

Paolo Carlini pcarlini@unitus.it
Thu Apr 4 00:14:00 GMT 2002


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.




More information about the Libstdc++ mailing list