[GnomeMeeting-devel-list] Compile problem with gnomemeeting



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]