[2940] in BarnOwl Developers
Re: [PATCH] Use G_GNUC_PRINTF to get type-checking on our format
daemon@ATHENA.MIT.EDU (Anders Kaseorg)
Sat Feb 26 02:12:47 2011
Date: Sat, 26 Feb 2011 02:12:44 -0500 (EST)
From: Anders Kaseorg <andersk@MIT.EDU>
To: David Benjamin <davidben@mit.edu>
cc: barnowl-dev@mit.edu
In-Reply-To: <1298699533-23979-1-git-send-email-davidben@mit.edu>
On Sat, 26 Feb 2011, David Benjamin wrote:
> Though some preprocessor magic is needed to get around owl_prototypes.h.
Not if you place the attribute correctly, e.g.
void G_GNUC_PRINTF(2, 3) owl_fmtext_appendf_normal(owl_fmtext *f, const char *fmt, ...)
git://andersk.mit.edu/barnowl.git printf
Anders