[iostreams] zlib name clashes
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
Robert Bielik wrote:
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
You may wish to create a ticket for this at: http://svn.boost.org/trac/boost/
participants (2)
-
eg
-
Robert Bielik