oliv__a at users.sourceforge.net
Tue Oct 5 15:06:45 UTC 2004
> Havoc Pennington [Sat, 02 Oct 2004]:
> On Fri, 2004-10-01 at 20:41 +0200, Olivier Andrieu wrote:
> > Hi,
> > dbus_set_error uses a printf-like format string but does not have a
> > DBUS_GNUC_FORMAT in its prototype. The definition of DBUS_GNUC_*
> > macros has to be moved a bit for this to work.
> > OK to commit ?
> The problem is we're putting these underscore-prefixed macros in
> the public API, which has two issues, one is they are
> underscore-prefixed which is a little unkosher in public API since
> we couldn't fix them if the C lib decided to use those names, and
> two people might use these macros.
Ah, I didn't notice it was a private API (thought it was like the ones
in glib). Nevermind, I'll just fix the format string bug.
More information about the dbus