This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Need help understanding decl_handle_format_arg_attribute


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")


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