Subject: [Boost-bugs] [Boost C++ Libraries] #1870: zlib_base function names must differ from their zlib counterpart
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-04-27 15:56:48
#1870: zlib_base function names must differ from their zlib counterpart
--------------------------------------+-------------------------------------
Reporter: robert.bielik_at_[hidden] | Owner: turkanis
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: iostreams
Version: Boost 1.35.0 | Severity: Problem
Keywords: zlib Z_PREFIX |
--------------------------------------+-------------------------------------
If Z_PREFIX has been used to compile zlib, boost::iostreams must adhere to
that, but because a few names (inflate/deflate/alloc_func/free_func) are
defined in zlib's zconf.h file where Z_PREFIX is used to add a z_ prefix,
boost::iostreams zlib.cpp will fail to compile. Proposed name changes:
zlib_base::inflate -> zlib_base::zlib_inflate
zlib_base::deflate -> zlib_base::zlib_deflate
typedef zlib::alloc_func -> zlib::alloc_function
typedef zlib::free_func -> zlib::free_function
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1870>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC