NO

Author Topic: compiling zlib  (Read 2519 times)

benjamin

  • Guest
compiling zlib
« on: December 09, 2006, 06:22:30 AM »
Humm, so there we have this nice source code, full of pragmas, defines and shit,
what does pellec thinks of functions defined like this:
ZEXTERN int ZEXPORT    gzclose OF((gzFile file));
well it doesnt like too much, any succesfull approach ?

severach

  • Guest
Re: compiling zlib
« Reply #1 on: January 01, 2007, 01:43:32 AM »
Pelles defaults to __stdcall calling format which the ZLIB code is not ready for. You must change the default to __cdecl. CRC32 is the only part of ZLIB that I used and I decided it was easier to rewrite it in clean C than to coax the ZLIB code into working with my list of compilers.