On 10/17/10 12:58, Bruno Haible wrote: > +/* Define auxiliary functions for bounds checking of FUNC. > + The FUNC_chk_warn function behaves like the FUNC_chk function but emits a
My kneejerk reaction is that this is way overkill for inttostr. Also, I've had problems with __builtin_object_size not behaving as documented for GCC: it is sometimes not allowed in a constant expression, even though it always returns a constant. I suspect Jim's original proposal is a better way to go. I'll look into one or two possible improvements that don't involve so many changes to the code.