Boost logo

Boost Users :

From: Robert Bielik (robert.bielik_at_[hidden])
Date: 2008-04-27 11:27:25


I have an application where I need the zlib iostreams filter, however, the zlib part of the application is compiled
with Z_PREFIX (which prepends all zlib functions with z_ via defines).

Since Z_PREFIX prepends via defines, the zlib_base functions that are named the same as their zlib counterpart are
"renamed" so the compiler cannot find the functions z_* in zlib_base.

My suggestion is to rename the zlib_base functions so that they won't be redefined if Z_PREFIX is defines.

/R


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net