Re: [xml] FW: SAXHandler is not reset
- From: Daniel Veillard <veillard redhat com>
- To: Alexei Snisarenko <alexei snisarenko gmail com>
- Cc: xml gnome org
- Subject: Re: [xml] FW: SAXHandler is not reset
- Date: Fri, 6 May 2005 07:34:25 -0400
On Fri, May 06, 2005 at 03:22:18PM +0400, Alexei Snisarenko wrote:
Once I used your compilation options for gcc I've got the following:
/usr/lib/libxml2.a(SAX.o)(.text+0x1760): In function `startElement':
: multiple definition of `startElement'
/tmp/ccIwDgGo.o(.text+0x0):/home/alex/code_testing/test_c/tst.c:10: first defined here
/usr/bin/ld: Warning: size of symbol `startElement' changed from 101 to 1035 in /usr/lib/libxml2.a(SAX.o)
collect2: ld returned 1 exit status
haha, it all make sense then ! And due to ABI compatibility constraints
I cannot rename all the existing SAX(2) handlers like startElement or simply
make them static. It's a mistake I made long ago but that I cannot fix.
I deprecated the function (it's in legacy.c now) but still around.
Daniel
--
Daniel Veillard | Red Hat Desktop team http://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]