[Zlib-devel] zlib 1.2.4.1 beta
Vincent Torri
vtorri at univ-evry.fr
Sun Mar 28 16:16:15 EDT 2010
On Sun, 28 Mar 2010, Mark Adler wrote:
> zlibbers,
>
> You can find the 1.2.4.1 beta here:
>
> http://zlib.net/current/beta/
>
> There is a big fat stinking bug in gzseek() and so I will be issuing a zlib 1.2.5 very soon to fix that. (New features will wait until 1.2.6.) Please test this version. Thanks!
1) is it possible to use the toplevel Makefile with MSYS/MinGW to build
the DLL ? Right now, only the static lib is built.
2) in win32/Makefile.gcc, the note line 23 says to change the dll name to
zlib1.dll. But, line 27, the name is zlib1.dll
3) MSYS/MinGW : make -f win32/Makefile.gcc builds static, import and dll
are built flawlessly
4) When i try to compile zlib with Visual Studio Express 2008, all the
projects are ignored. I have to change, in the properties of the solution,
the platform (switched from Itanium to win32). I also have to hack zconf.h
so that unistd.h is not included. In zutil.h, off_t is used (line 166 for
example). Maybe z_off_t should be used instead.
5) with ceGCC (for Windows CE), same problem with off_t. If i replace
off_t by z_off_t, in zutil.h (lines 166 to 170), it compiles without
error.
Note: If I pass to CFLAGS the following flags:
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wwrite-strings -Wcast-align -Wall -W -Wextra -pedantic
I get these warnings on all platforms :
gzlib.c:203: warning: no previous prototype for 'gzopen64'
gzlib.c:274: warning: no previous prototype for 'gzseek64'
gzlib.c:362: warning: no previous prototype for 'gztell64'
gzlib.c:389: warning: no previous prototype for 'gzoffset64'
and:
a) on linux:
minigzip.c:54: warning: redundant redeclaration of 'unlink'
/usr/include/unistd.h:806: note: previous declaration of 'unlink' was here
b) with mingw32ce (didn't try with mingw):
minigzip.c: In function 'main':
minigzip.c:389: warning: implicit declaration of function 'setmode'
Vincent Torri
More information about the Zlib-devel
mailing list