This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Proposal for printf functionality enchancement


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]