Proposal for printf functionality enchancement

Daniel Jacobowitz drow@false.org
Tue Oct 18 15:32:00 GMT 2005


On Tue, Oct 18, 2005 at 10:51:40AM -0400, James Antill wrote:
> >  So, I'm curious whether there exists any glaring issues which make
> > this impossible or impractical or undesirable. Performance hit? Leaves
> > the API too exposed? Increased code footprint? Just Not Worth
> 
>  Static format checkers, like GCC, see:

It's also a pretty unpleasant optimization barrier.  Compilers can
assume that printf does not modify global data - except for printf
implementations which support user callbacks.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Libc-alpha mailing list