Subject: [Boost-bugs] [Boost C++ Libraries] #10054: [gil] Duplicate typedef in pnm's scanline_read.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-05-15 18:44:28
#10054: [gil] Duplicate typedef in pnm's scanline_read.hpp
-------------------------------------------+---------------------
Reporter: William Gallafent <william@â¦> | Owner: hljin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: GIL
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------------+---------------------
At the top of the âscanline_readerâ template in
boost/gil/extension/io/formats/pnm/scanline_read.hpp the are the following
lines of code:
{{{
â¦
private:
typedef scanline_reader< Device
, pnm_tag
> this_t;
public:
typedef pnm_tag tag_t;
typedef reader_backend < Device, tag_t > backend_t;
typedef scanline_reader< Device, tag_t > this_t;
â¦
}}}
This typdefs this_t twice, preventing compilation (using clang of Apple
Xcode 5.1). Removing the first typedef fixes this problem.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10054> 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:16 UTC