[Zlib-devel] zlib 1.2.3.9 is out

glennrp at comcast.net glennrp at comcast.net
Fri Feb 26 23:18:01 EST 2010


A pngcrush tester reported this:

inftrees.c
gcc -c -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow trees.c
trees.c: In function '_tr_stored_block':
trees.c:874: warning: declaration of 'eof' shadows a global declaration
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/io.h:296:
warning: shadowed declaration is here
trees.c: In function '_tr_flush_block':
trees.c:928: warning: declaration of 'eof' shadows a global declaration
c:\mingw\bin\../lib/gcc/mingw32/4.4.0/../../../../include/io.h:296:
warning: shadowed declaration is here
gcc -c -I. -O3 -funroll-loops -fomit-frame-pointer -Wall -Wshadow

Not a big deal, just change the name of eof to something less
likely to experience a collision, like z_eof.

Glenn

----- Original Message -----
From: "Mark Adler" <madler at alumni.caltech.edu>
To: zlib-devel at zlib.net
Sent: Sunday, February 21, 2010 8:24:52 PM GMT -05:00 US/Canada Eastern
Subject: Re: [Zlib-devel] zlib 1.2.3.9 is out





More information about the Zlib-devel mailing list