[PATCH] Fixing libxml2 deprecated functions.

Derek Atkins warlord at MIT.EDU
Fri Aug 13 13:04:42 EDT 2004


This patch doesn't work for me.  I get compile-time errors:

sixtp.c: In function `sixtp_sax_start_handler':
sixtp.c:440: warning: implicit declaration of function `xmlSAX2GetLineNumber'
sixtp.c:441: warning: implicit declaration of function `xmlSAX2GetColumnNumber'

What version of libxml2 do you have?  I've got 2.5.4.

I suspect you'll need to add some configure glue to determine the
version of libxml2 in order to decide which API to use.  Until then
I cannot apply this patch.

-derek

Priit Laes <amd at tt.ee> writes:

> Hello, 
>
> since I got warnings on the console ("Use of deprecated SAXv1 function %
> s"), I've attached a patch to fix it.
> Check http://cvs.gnome.org/viewcvs/libxml2/legacy.c?rev=1.6&view=auto
> for more information.
>
> -- 
> Priit Laes <amd tt ee>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list