[vlc-devel] Couple of warnings on extras/contrib libxml

Mark Moriarty mfmbusiness at earthlink.net
Fri Nov 3 12:34:14 CET 2006


Relative to dvdread, thanks, I reverted to mingw-runtime 3.9-3, did a make
clean and am rebuilding the contrib.

The following are miscellaneous warnings I'm seeing on the XML build.  Just
warnings.

On xml, I noticed:
encoding.c:3023: warning: string length `688' is greater than the length
`509' I
SO C89 compilers are required to support
encoding.c:3133: warning: string length `624' is greater than the length
`509' I
SO C89 compilers are required to support 
And:
xmlIO.c: In function `xmlCheckFilename':
xmlIO.c:605: warning: declaration of 'stat_buffer' shadows a previous local
xmlIO.c:593: warning: shadowed declaration is here
xmlIO.c:593: warning: unused variable `stat_buffer'
xmlIO.c: At top level:
xmlIO.c:3441: warning: unused parameter 'ctxt'
And:
 gcc -mno-cygwin -isystem /usr/include/mingw -DHAVE_CONFIG_H -I. -I. -I.
-I./inc
lude -I./include -DHAVE_WIN32_THREADS -D_REENTRANT
-I/home/mfm/vlc-trunk/extras/
contrib/include -mno-cygwin -isystem /usr/include/mingw -mno-cygwin -isystem
/us
r/include/mingw -I/include -DWIN32 -DLIBXML_STATIC -pedantic -W -Wformat
-Wunuse
d -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat
-Wchar-subscr
ipts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align
-Wwrite
-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes
-Wnested-ex
terns -Winline -Wredundant-decls -DLIBXML_STATIC -c uri.c -o uri.o

cc1: warning: -Wuninitialized is not supported without -O 
                   (APPEARS MULTIPLE TIMES WHILE BUILDING)

And:
uri.c: In function `xmlCanonicPath':
uri.c:2408: warning: pointer targets in assignment differ in signedness
uri.c:2411: warning: pointer targets in assignment differ in signedness
uri.c:2412: warning: pointer targets in passing arg 1 of `strncpy' differ in
sig
nedness
uri.c:2412: warning: pointer targets in passing arg 2 of `strncpy' differ in
sig
nedness
uri.c:2414: warning: pointer targets in assignment differ in signedness
uri.c:2415: warning: pointer targets in assignment differ in signedness
uri.c:2351: warning: unused variable `i'

-----Original Message-----
From: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org]
On Behalf Of Rafaël Carré
Sent: Thursday, November 02, 2006 1:44 PM
To: vlc-devel at videolan.org
Cc: mfmbusiness at earthlink.net
Subject: [vlc-devel] Re: Build Error in Extras/Contrib libdvdnav on Cygwin

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list