[GnomeMeeting-devel-list] Compile problem with gnomemeeting
- From: Ghiora Drori <drori edrori com>
- To: gnomemeeting-devel-list gnome org
- Subject: [GnomeMeeting-devel-list] Compile problem with gnomemeeting
- Date: Sat, 17 Jan 2004 22:27:07 +0200
Hi,
I compiled : gnomemeeting-0.98.0 under (gentoo)
Got an error on the line below in xdap.c
using gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r1, propolice
dap.c: In function `parseonly':
xdap.c:162: incompatible types in assignment
In gnomemeeting-0.98.0/lib/xdap/xdap.c
line 162:
Shouldn't this :
sax = xmlDefaultSAXHandler; /* Copy original handler */
be something like this:
memset (&sax, 0, sizeof sax); /* Copy original handler */
The code snippet:
xmlDocPtr
parseonly (char *filename, xmlEntityPtr (*getent) (void *, const xmlChar *),
xmlEntityPtr (**oldgetent) (void *, const xmlChar *), int noerr)
{
xmlDocPtr xp;
xmlSAXHandler sax;
/* sax = xmlDefaultSAXHandler; /* Copy original handler */
memset (&sax, 0, sizeof sax); /* Copy original handler */
....
Thanks Ghiora
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]