Robert Dewar writes:
 > Andrew Haley wrote:
 > 
 > > Yes we can.  gcc is written in ISO C, and ISO C says that the printf
 > > function returns the number of characters transmitted, or a negative
 > > value if an error occurred.  We don't support bootstrapping gcc on
 > > non-ISO systems.
 > 
 > Well ISO C also says that %n works, let's be a bit more pragmatic
 > here I think ... no point in using something we know is widely
 > problematic.

Mmm, but I don't believe that the printf function returning the number
of characters transmitted is problematic.  As far as we know, that
works everywhere.  The only thing to say otherwise is a man page.  My
guess is the man page is wrong.

Andrew.

Reply via email to