[Boost-bugs] [Boost C++ Libraries] #1522: bit_range friend decl in bit_aligned_pixel_reference.hpp needs to be fully qualified for gcc 4.3 mainline

Subject: [Boost-bugs] [Boost C++ Libraries] #1522: bit_range friend decl in bit_aligned_pixel_reference.hpp needs to be fully qualified for gcc 4.3 mainline
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2007-12-11 16:37:15


#1522: bit_range friend decl in bit_aligned_pixel_reference.hpp needs to be fully
qualified for gcc 4.3 mainline
-------------------------------------+--------------------------------------
 Reporter: chris.fairles_at_[hidden] | Owner: hljin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: GIL
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 GCC 4.3 Mainline gives:

 /usr/include/boost/gil/bit_aligned_pixel_reference.hpp:162: error:
 declaration of ‘const
 boost::gil::bit_range<boost::gil::bit_aligned_pixel_reference<C, L,
 M>::bit_size, IsMutable>& boost::gil::bit_aligned_pixel_reference<C, L,
 M>::bit_range() const’
 /usr/include/boost/gil/bit_aligned_pixel_reference.hpp:46: error: changes
 meaning of ‘bit_range’ from ‘class
 boost::gil::bit_range<boost::gil::bit_aligned_pixel_reference<C, L,
 M>::bit_size, IsMutable>’

 See http://gcc.gnu.org/ml/gcc/2007-09/msg00482.html

 Solution is to change:

 typedef bit_range<bit_size,IsMutable> bit_range_t;

 to

 typedef boost::gil::bit_range<bit_size,IsMutable> bit_range_t;

 (patch attached)

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1522>
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