GNOME Bugzilla – Bug 720088
gsf-libxml: mark some functions G_GNUC_PRINTF
Last modified: 2013-12-14 02:28:10 UTC
Picked up by clang...
Created attachment 263780 [details] [review] gsf-libxml: mark some functions G_GNUC_PRINTF Mark these functions as accepting printf-style format strings, so that when they pass their arguments on to g_logv() the compiler knows not to complain.
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. For reference: that patch didn't work for me. The attribute can only be put on a declaration, not on function definition.
Indeed, this is the second time I've heard that. Thanks for the fix!