[Zlib-devel] WINAPIV under gcc 2.8.1

Dmitriy Anisimkov anisimkov at omsknet.ru
Sat Mar 22 20:30:01 EST 2003


There is a problem with compilation ZLib 1.2.0.1 under gcc 2.8.1 in Win32
platform.

zlib.h:898: parse error before `gzprintf'

I guess it is becouse 2.8.1 know nothing about WINAPIV macros,
i did preprocess of the zlib.h and see

extern  int WINAPIV    gzprintf  (gzFile file, const char *format, ...)  ;

Could we avoid WINAPIV usage ?

ZLib 1.1.4 is compiled fine under gcc 2.8.1.

I have to use gcc 2.8.1 becouse public version of Ada95 compiler GNAT is GCC
2.8.1 based.






More information about the Zlib-devel mailing list