Bug 487073 - Logic error in definition of ATTRIBUTE_PRINTF
Summary: Logic error in definition of ATTRIBUTE_PRINTF
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: libxml2
Version: rawhide
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-24 00:42 UTC by Ignacio Vazquez-Abrams
Modified: 2009-04-17 09:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-04-17 09:10:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to remove excess ATTRIBUTE_PRINTF definitions (1.60 KB, patch)
2009-02-24 00:49 UTC, Ignacio Vazquez-Abrams
no flags Details | Diff

Description Ignacio Vazquez-Abrams 2009-02-24 00:42:55 UTC
libxml2.i386 0:2.7.3-1.fc11

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 1.2.0.2, which I am trying to build for Rawhide.

Comment 1 Ignacio Vazquez-Abrams 2009-02-24 00:49:09 UTC
Created attachment 332994 [details]
Patch to remove excess ATTRIBUTE_PRINTF definitions

I also found another definition after. This patch should fix this issue.

Comment 2 Daniel Veillard 2009-04-17 09:10:41 UTC
Fixed in a completely different way upstream, see
http://mail.gnome.org/archives/xml/2009-April/msg00021.html

thanks,

Daniel


Note You need to log in before you can comment on or make changes to this bug.