[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [xml] some compiler warnings in MSVC
- From: Daniel Veillard <veillard redhat com>
- To: oliverst online de
- Cc: xml gnome org
- Subject: Re: [xml] some compiler warnings in MSVC
- Date: Mon, 9 Feb 2004 07:28:05 -0500
On Mon, Feb 09, 2004 at 12:22:02PM +0100, oliverst online de wrote:
>
> When I compile the libxml2-2.6.5 with MSVC6 I get 4 compiler wranings,
> that are both caused by the same variable.
> It's "xmlParserCtxtPtr->nsTab".
>
> It occurs in parser.c in line 857 in the call of the xmlRealloc
> function. And in parserInternals.c in line 1689 at the call of xmlFree.
> In both cases it says, that the const identifers differ and that the
> pointertype of the first parameter does not match the declaration. I
> guess MSVC says that because the given var is a unsigned char** and not
> a unsigned char* as expected.
>
> I also get a warning in xpath.c in line 8798, saying, that nothing in
> the code refers to "eval_predicates". I checked the code and it's just
> called in LIBXML_XPTR_ENABLED sepcific code. maybe the anchor could also
> be moved in such a define (such a block is just below the anchor, so you
> just have to move it a bit up).
Okay I fixed the 3 warning causes, but you indicate 4 compiler wranings
so I wonder what I'm missing :-)
I will commit those soon, thanks !
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.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]