From: Stephane Conversy (Stephane.Conversy@lri.fr)
Date: Mon Aug 30 1999 - 07:51:10 EDT
Daniel Veillard wrote:
> On Mon, Aug 30, 1999 at 11:16:02AM +0200, Stephane Conversy wrote:
> > compiling the lib on sgi gives the warnings I quoted at the end of the mail
> > (just to mention them).
> > A problem: when compiling something that uses libxml with a c++ compiler, I
> > get these errors:
>
> Ok, thanks,
>
> I applied the suggested changes and modified the point raising warnings,
> one of them was an actual bug !
maybe you should try compiling with -Wall to catch possible bugs.
I have some warnings left, essentialy 'enumerated type mixed with another type',
a simple cast may be enough. Not really useful, but cleaner when compiled...
However it may prevent ease of bug tracking if a bug ever comes from this...
stef
WARNINGS:
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.6.1\" -g -c -DPIC SAX.c
-o .libs/SAX.lo
cc-1185 cc: WARNING File = SAX.c, Line = 346
An enumerated type is mixed with another type.
name, type, def, defaultValue, tree);
^
cc-1185 cc: WARNING File = SAX.c, Line = 346
An enumerated type is mixed with another type.
name, type, def, defaultValue, tree);
^
cc-1185 cc: WARNING File = SAX.c, Line = 378
An enumerated type is mixed with another type.
name, type, content);
^
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.6.1\" -g -c -DPIC
HTMLparser.c -o .libs/HTMLparser.lo
cc-1552 cc: WARNING File = HTMLparser.c, Line = 2222
The variable "node_info" is set but never used.
htmlParserNodeInfo node_info;
^
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLIBXML_VERSION=\"1.6.1\" -g -c -DPIC
valid.c -o .libs/valid.lo
cc-1185 cc: WARNING File = valid.c, Line = 397
An enumerated type is mixed with another type.
ret->type = type;
^
-- Stéphane Conversy http://www-ihm.lri.fr/~conversy/ mailto:conversy@lri.fr---- Message from the list xml@rufus.w3.org Archived at : http://rufus.w3.org/veillard/XML/messages to unsubscribe: echo "unsubscribe xml" | mail majordomo@rufus.w3.org
This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:46 EDT