Red Hat Bugzilla – Bug 487073
Logic error in definition of ATTRIBUTE_PRINTF
Last modified: 2009-04-17 05:10:41 EDT
Line 422 of /usr/include/libxml2/libxml/xmlversion.h checks to see if ATTRIBUTE_PRINTF is not defined. If it is then it falls through to line 429, where it promptly proceeds to redefine it. This causes an issue when a wxGTK app is built since wxGTK defines its own ATTRIBUTE_PRINTF. One example of such an app is xmlcopyeditor 22.214.171.124, which I am trying to build for Rawhide.
Created attachment 332994 [details]
Patch to remove excess ATTRIBUTE_PRINTF definitions
I also found another definition after. This patch should fix this issue.
Fixed in a completely different way upstream, see