Re: [xml] RE: [xslt] small fix needed for win32

On Tue, Mar 12, 2002 at 04:28:17AM +1100, Robert Collins wrote:

-----Original Message-----
From: Vakoc, Mark [mailto:Mark_Vakoc jdedwards com] 
Sent: Tuesday, March 12, 2002 4:16 AM
To: 'xml gnome org'; 'xslt gnome org'
Subject: [xslt] small fix needed for win32

The utitlites in libxml2 (xmllint, test*) and libxslt 
(xsltproc) won't build on win32 straight out of the box due 
to linking errors of unresolved items.

In libxml.h, which is included by the libxml utilities 
contains the line #define IN_LIBXML 

This should only be defined when building libxml2, not the 
utilites that link against it.

Correct, and Daniel indicated that this file should not be included by
the utilities.... see

And yes, defining this only as a preprocessor will break Cygwin builds.
As I understand it, it should not have broken MSVC builds though.

  xmllint.c actually includes "libxml.h", but I din't changed that 
in the last 2 months.
  If Igor could look at this and see if this or what need patching
that would be the best.


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml Gnome XML XSLT toolkit | Rpmfind RPM search engine

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