Boost C++ Libraries: Ticket #1522: bit_range friend decl in bit_aligned_pixel_reference.hpp needs to be fully qualified for gcc 4.3 mainline https://svn.boost.org/trac10/ticket/1522 <p> GCC 4.3 Mainline gives: </p> <p> /usr/include/boost/gil/bit_aligned_pixel_reference.hpp:162: error: declaration of ‘const boost::gil::bit_range&lt;boost::gil::bit_aligned_pixel_reference&lt;C, L, M&gt;::bit_size, <a class="missing wiki">IsMutable</a>&gt;&amp; boost::gil::bit_aligned_pixel_reference&lt;C, L, M&gt;::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&lt;boost::gil::bit_aligned_pixel_reference&lt;C, L, M&gt;::bit_size, <a class="missing wiki">IsMutable</a>&gt;’ </p> <p> See <a class="ext-link" href="http://gcc.gnu.org/ml/gcc/2007-09/msg00482.html"><span class="icon">​</span>http://gcc.gnu.org/ml/gcc/2007-09/msg00482.html</a> </p> <p> Solution is to change: </p> <p> typedef bit_range&lt;bit_size,<a class="missing wiki">IsMutable</a>&gt; bit_range_t; </p> <p> to </p> <p> typedef boost::gil::bit_range&lt;bit_size,<a class="missing wiki">IsMutable</a>&gt; bit_range_t; </p> <p> (patch attached) </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1522 Trac 1.4.3 chris.fairles@… Tue, 11 Dec 2007 16:38:01 GMT attachment set https://svn.boost.org/trac10/ticket/1522 https://svn.boost.org/trac10/ticket/1522 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-gil-gcc43-change-meaning-of-bit_range.patch</span> </li> </ul> <p> Patch for GCC 4.3 error in bit_aligned_pixel_reference.hpp </p> Ticket chris.fairles@… Tue, 11 Dec 2007 16:39:36 GMT <link>https://svn.boost.org/trac10/ticket/1522#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1522#comment:1</guid> <description> <p> Description is wrong, its not a friend decl. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Hailin Jin</dc:creator> <pubDate>Tue, 11 Mar 2008 17:30:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1522#comment:2 https://svn.boost.org/trac10/ticket/1522#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed with the new GCC 4.3.0 release </p> Ticket