Subject: [Boost-bugs] [Boost C++ Libraries] #3908: using boost::gil fails when upgrading to libpng-1.4.0
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-02-08 04:05:34
#3908: using boost::gil fails when upgrading to libpng-1.4.0
-------------------------------------+--------------------------------------
Reporter: greg.r.rogers@⦠| Owner: hljin
Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: GIL
Version: Boost 1.42.0 | Severity: Problem
Keywords: |
-------------------------------------+--------------------------------------
libpng version 1.4.0 (up from 1.2.40) removes several macros such as the
following:
#define png_infopp_NULL NULL
Which GIL was using.
Fix:
Replacing the symbols png_infopp_NULL and int_p_NULL with NULL in the
files boost/gil/extension/io/png_io_private.hpp and
boost/gil/extension/io/png_dynamic_io.hpp seems to fix the problem.
Note: I have only compiled, I have not actually used the functions which
use these symbols.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3908> 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:50:02 UTC