Boost C++ Libraries: Ticket #3156: typedef in boost/graph/distributed/adjacency_list.hpp changes meaning of adjacency_iterator https://svn.boost.org/trac10/ticket/3156 <p> iget a compilation error when I try to compile some tests in libs/graph_parallel/test/. GCC 4.3.2 complains about a type definition in boost/graph/distributed/adjacency_list.hpp. In GCC4.3.2 the following definition is invalid, see the discussion in <a class="ext-link" href="http://gcc.gnu.org/ml/gcc-bugs/2009-01/msg00841.html"><span class="icon">​</span>http://gcc.gnu.org/ml/gcc-bugs/2009-01/msg00841.html</a>: </p> <p> boost/graph/distributed/adjacency_list.hpp(line 1420): </p> <p> typedef adjacency_iterator&lt; </p> <blockquote> <p> adjacency_list, vertex_descriptor, out_edge_iterator, </p> <blockquote> <p> typename detail::iterator_traits&lt;base_out_edge_iterator&gt; </p> <blockquote> <p> ::difference_type&gt; </p> </blockquote> </blockquote> </blockquote> <blockquote> <p> adjacency_iterator; </p> </blockquote> <p> to: </p> <p> typedef boost::adjacency_iterator&lt; </p> <blockquote> <p> adjacency_list, vertex_descriptor, out_edge_iterator, </p> <blockquote> <p> typename detail::iterator_traits&lt;base_out_edge_iterator&gt; </p> <blockquote> <p> ::difference_type&gt; </p> </blockquote> </blockquote> </blockquote> <blockquote> <p> adjacency_iterator; </p> </blockquote> <p> fixes the compilation error. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3156 Trac 1.4.3 Jeremiah Willcock Tue, 09 Jun 2009 17:42:05 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/3156#comment:1 https://svn.boost.org/trac10/ticket/3156#comment:1 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/53777" title="Fixed issue from #3156; fixes #3156, refs #3134">[53777]</a>) Fixed issue from <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3156" title="#3156: Bugs: typedef in boost/graph/distributed/adjacency_list.hpp changes meaning ... (closed: fixed)">#3156</a>; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3156" title="#3156: Bugs: typedef in boost/graph/distributed/adjacency_list.hpp changes meaning ... (closed: fixed)">#3156</a>, refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3134" title="#3134: Patches: BGL patches to move into 1.40 (closed: fixed)">#3134</a> </p> Ticket