Doesn't zlib already build and work in C++ ? Did you want a C++ -compliant wrapper around zlib or a full recode of zlib into C++ ?
Would C++11 be a more appropriate target?
I've done an Objective-C wrapper around zlib before, see
https://github.com/pixelglow/zipzap .
Cheers
Glen Low
Pixelglow Software