R�diger Kuhlmann wrote: > >--[Christian Biere]--<[EMAIL PROTECTED]> > > R�diger Kuhlmann wrote: > > > > I assume this is no different from gettext() but GCC "trusts" the latter > > > > to not mess with format strings. > > > The "trust" is in no way different from checking format strings at all, > > > i.e., a simple __attribute__() thing, > > Which one?
> Here's the documentation according to <info:/gcc-3.3/Function Attributes>: > `format_arg (STRING-INDEX)' [...] > Not particularly hard to find, is it? Not at all, especially in my mail box. Thanks. Now I've seen that GLib provides the macro G_GNUC_FORMAT() for this purpose. -- Christian
pgpZMvpLAN4cN.pgp
Description: PGP signature
