This is the mail archive of the
mailing list for the elfutils project.
Re: [PATCH] Use -Wformat=2 by default for all files.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 30 Jan 2014 17:10:57 +0100
- Subject: Re: [PATCH] Use -Wformat=2 by default for all files.
On Thu, 2014-01-30 at 16:25 +0100, Petr Machata wrote:
> Mark Wielaard <firstname.lastname@example.org> writes:
> > - regtype (const char *setname, int type, const char *fmt, int arg)
> > + regtype (const char *setname, int type, const char *rname, bool nr, int arg)
> Regarding this chunk, actually this can be made simpler by using
> __attribute__ ((format)). I had thought that would be too involved, but
> it's actually pretty clean IMO. What say you?
O, nice. No more silly wrapper functions. Please do push.