Re: [xml] [PATCH] Compile failure using libxml/globals.h from latest GIT head



On Thu, Sep 03, 2009 at 02:46:22PM -0400, Paul Smith wrote:
Looking at libxml/globals.h I see this at that line:

LIBXML_DLL_IMPORT extern void * xmlStructuredErrorContext;

This is incorrect on my system, because LIBXML_DLL_IMPORT is #defined to
be XMLPUBVAR, which is defined to be extern, so this resolves to:

extern extern void * xmlStructuredErrorContext;

and hence the error.  I'm assuming, from the surrounding code, this
should have been XMLPUBVAR void * ....  Attached is a patch to that
effect.

  Right, patch pushed to git, thanks for the report and the patch !

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel veillard com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]