Re: [xml] minor compile warnings
- From: Daniel Veillard <veillard redhat com>
- To: Hannes Eder <Hannes HannesEder net>
- Cc: xml gnome org
- Subject: Re: [xml] minor compile warnings
- Date: Fri, 23 Nov 2007 05:49:30 -0500
On Thu, Nov 22, 2007 at 11:29:49PM +0100, Hannes Eder wrote:
the attached patch fixes the warnings below in libxml2-2.6.28:
In general it's best to report with the latest versions 2.6.30 ATM
compiler: gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
and yes ... it's cygwin ;)
encoding.c:1706: warning: passing arg 2 of `libiconv' from
incompatible pointer type
Diverging definitions for iconv() . man iconv on Linux states:
size_t iconv(iconv_t cd,
char **inbuf, size_t *inbytesleft,
char **outbuf, size_t *outbytesleft);
so that patch can't be applied, sorry
threads.c:431: warning: unused variable `err'
right unused applied
xmlsave.c:837: warning: unused variable `handler'
Not applicable in current code, already fixed
tree.c:4851: warning: passing arg 1 of pointer to function discards
qualifiers from pointer target type
Not applicable in current code, already fixed
thanks, but try to use recent versions,
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
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]