Re: libxml 1-2-3



Le sam, aoû 18, 2001, à 05:40:11 +0200, Hans Breuer a écrit:
Hi Cyrille,
your recent libxml changes introduce a problem (which is
probably long-time built-in in libxml). Why does a single
library need two names ?

In dia_xml.c you are referencing the libxml headers as
<libxml/tree.h> but there are many places which just
#include "tree.h".

the <libxml/tree.h> seems to me to be a leftover from older times. In fact
libxml1 itself is a leftover...

Really fixing it isn't allowed, because AFAIK at least
gnome install libxml (1.8.x) headers under <gnome-xml/*

It does ; but it also does include a /usr/include/gnome-xml/libxml -> .
symlink. 

I think that switching every #include to the form <tree.h> would make sense
(since we have to include $(XML_CFLAGS) on modules which require <tree.h>
and friends). Regardless of the version used, $XML_CFLAGS will provide the
correct -I 

Also many of your new prop_*.* files do include xml
headers in .h _and_ .c. Is this a feature ?

An oversight, most certainly. 

What do you suggest ?

Clean up what you can't tolerate, or what stops your compilation... 

Different topic: how do the .sheet/.sheet.in changes affect the win32 build ? 

        -- Cyrille

-- 
Grumpf.





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