Re: [xml] IN_LIBXML define



On Tue, Jan 15, 2002 at 08:08:01PM +0100, Igor Zlatkovic wrote:
This IN_LIBXML thing should be defined at all times when compiling libxml2,
never when compiling any client code. A proper place would then be the
compiler's -D switch and the project file or the makefile takes care of
that.

The presence of #define IN_LIBXML in libxml.h is therefore a mistake. I

  No ! libxml.h is solely intended to libxml2 compilation stage
  This is not a published include file and must not be exported to client
code for compilation ! Your platform simply lacks a "make install" stage
I'm afraid ...

orchis:~/XSLT -> grep 'libxml\.h' /usr/include/libxml2/libxml/*
orchis:~/XSLT -> 

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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