This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: [PATCH] Use -Wformat=2 by default for all files.


On Thu, 2014-01-30 at 16:25 +0100, Petr Machata wrote:
> Mark Wielaard <mjw@redhat.com> 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.

Thanks,

Mark


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