Re: [xml] libxml linking using rpms

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Sat Dec 18 1999 - 06:35:52 EST


On Fri, Dec 17, 1999 at 05:09:28PM -0500, Steve Webster wrote:
>
> Daniel,
>
> I have upgraded to libxml 1.8, and I have the following recommendations:
>
> 1) Enclose your HTMLparser.h declarations with the usual c++/c defines.
> This omission was the source of my problems, since I'm writing c++ code.

  Argh, yes I forgot ... done

> 2) Change your variable name, "namespace," to something like "nspace" at
> SAX.h:96 and tree.h:468 since "namespace" is reserved in c++.

  Grumpf, namespace is really a common word in the XML world, oh well ...
Ramiro Estrugo <ramiro@eazel.com> already commited those patches to
the Gnome CVS base so this should be fixed now,

> These two changes allowed me to build my c++ applications successfully.

  Good, they will be in libxml-1.8.1,
 
Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux XML libxml WWW
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Gnome rpm2html rpmfind
 http://www.w3.org/People/all#veillard%40w3.org  | RPM badminton Kaffe
----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:55 EDT