Glad it worked!
aantono wrote:I'm also attaching a patch.diff of all the changes I had to make to get the thing to compile. Hopefully you won't mind applying them to the code, so I can continue to provide OSX builds in the future.
Thank you. However, I cannot blindly apply your patch to the source tree; what fixes your build may very well break somebody else's. But I will look into each change in detail and decide how to deal with it (for instance, I will likely fix some of your casts in a different way).
aantono wrote:I'm using zlib version 1.2.8 installed via homebrew (pkg mgr for OSX)
Can you post your /usr/include/zlib.h and /usr/include/zconf.h files (preferably tarred or zipped)?
aantono wrote:After making the 'template' changes you suggested, the compiling FINALLY succeeded, and I was able to build a Mac bundle.
According to a bug report in the clang mailing list, my code may be at fault here. I am using a construction that is not completely correct but works under GCC and MSVC. GCC also accepts the correct syntax, but I will try it with MSVC before making the change (you never know when doing things right may get MSVC out of whack).