Opened 9 years ago

Closed 4 years ago

#8728 closed Bugs (fixed)

GIL's png scanline_reader: multiple definition of this_t

Reported by: n.sherlock@… Owned by: Stefan Seefeld
Milestone: Boost 1.68.0 Component: gil USE GITHUB
Version: Boost Development Trunk Severity: Problem
Keywords: Cc: mateusz@…

Description

In the SVN head version of boost/gil/extension/io/formats/png/scanline_read.hpp (version 84903), this_t is defined twice, one as a private type:

private:
    typedef scanline_reader< Device
                           , png_tag
                           > this_t;

And once as a different, incompatible public type:

public:
    typedef scanline_reader< Device, tag_t > this_t;

Change History (4)

comment:1 by n.sherlock@…, 9 years ago

(it compiles fine if the private definition is removed)

comment:2 by Mateusz Loskot, 6 years ago

Cc: mateusz@… added

comment:3 by Stefan Seefeld, 5 years ago

Owner: changed from Hailin Jin to Stefan Seefeld

comment:4 by Mateusz Loskot, 4 years ago

Milestone: To Be DeterminedBoost 1.68.0
Resolution: fixed
Status: newclosed

GIL in Boost 1.68 delivers completely re-implemented I/O extensions. The new version does not include the duplicate definition, so the issue should be gone now.

Closing as fixed.

GitHub ref: https://github.com/boostorg/gil/projects/4#card-12368455

Note: See TracTickets for help on using tickets.