Need help understanding decl_handle_format_arg_attribute

Tim Hollebeek tim@hollebeek.com
Thu Aug 9 05:55:00 GMT 2001


On Thu, Aug 09, 2001 at 02:11:38PM +0200, Philipp Thomas wrote:
>
> Thanks for the explanation. But could we possibly change the message to
> make it a bit less cryptic? Someting like:
> 
>   error("operand number for format string, passed to format_arg, is invalid")

Never use "invalid" when you can say why instead.  Something along the
lines of:

error("arguments of format_arg must be integer constants")



More information about the Gcc mailing list