Boost C++ Libraries: Ticket #13505: graph/detail/array_binary_tree.hpp:45:18: error: unknown template name 'iterator' https://svn.boost.org/trac10/ticket/13505 <p> Discovered this when building <a class="ext-link" href="https://github.com/dealii/dealii"><span class="icon">​</span>deal.II</a> against boost 1.67.0.b1 with Apple's Clang 9.1.0: </p> <pre class="wiki"> 2449 In file included from /Users/davydden/spack/opt/spack/darwin-highsierra-x86_64/clang-9.1.0-apple/boost-1.67.0.b1-hfpvj4kx4lur5l6i2uhlp6kwlai5rbln/include/boost/graph/cuthill_mckee_ordering.hpp:15: 2450 In file included from /Users/davydden/spack/opt/spack/darwin-highsierra-x86_64/clang-9.1.0-apple/boost-1.67.0.b1-hfpvj4kx4lur5l6i2uhlp6kwlai5rbln/include/boost/graph/detail/sparse_ordering.hpp:18: 2451 In file included from /Users/davydden/spack/opt/spack/darwin-highsierra-x86_64/clang-9.1.0-apple/boost-1.67.0.b1-hfpvj4kx4lur5l6i2uhlp6kwlai5rbln/include/boost/pending/mutable_queue.hpp:20: &gt;&gt; 2452 /Users/davydden/spack/opt/spack/darwin-highsierra-x86_64/clang-9.1.0-apple/boost-1.67.0.b1-hfpvj4kx4lur5l6i2uhlp6kwlai5rbln/include/boost/graph/detail/array_binary_tree.hpp:45:18: error: unknown template name 'iterator' 2453 : boost::iterator&lt;std::bidirectional_iterator_tag, ArrayBinaryTreeNode, 2454 ^ </pre><p> I can not use any lower version due to other issues. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13505 Trac 1.4.3 Michel Morin Fri, 30 Mar 2018 21:00:37 GMT component changed; owner set https://svn.boost.org/trac10/ticket/13505#comment:1 https://svn.boost.org/trac10/ticket/13505#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Jeremiah Willcock</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">graph</span> </li> </ul> <p> What happens if you add <code>#include &lt;boost/iterator.hpp&gt;</code> to <code>boost/graph/detail/array_binary_tree.hpp</code>? </p> Ticket Denis Davydov <davydden@…> Fri, 30 Mar 2018 22:20:29 GMT <link>https://svn.boost.org/trac10/ticket/13505#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13505#comment:2</guid> <description> <p> this fixed the issue for me, thanks! </p> </description> <category>Ticket</category> </item> <item> <author>Denis Davydov <davydden@…></author> <pubDate>Sat, 31 Mar 2018 06:12:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13505#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13505#comment:3</guid> <description> <p> p.s. i think the issue would have been fixed by this PR from Jan 2018 <a class="ext-link" href="https://github.com/boostorg/graph/pull/101"><span class="icon">​</span>https://github.com/boostorg/graph/pull/101</a> Hopefully, it will be merged before <code>1.67.0</code> stable release. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Michel Morin</dc:creator> <pubDate>Sat, 31 Mar 2018 08:32:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13505#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13505#comment:4</guid> <description> <blockquote class="citation"> <p> p.s. i think the issue would have been fixed by this PR </p> </blockquote> <p> Right, since <code>boost/iterator.hpp</code> is deprecated, that PR is a better fix. But I'm 95% sure that the PR will not be merged for Boost 1.67; the changeset is a bit too large to be merged within the Boost 1.67 timeframe (and the development of Boost.Graph is not so active these days). </p> <p> If this is critical for the dealii project, I would recommend the following: </p> <ul><li>First, submit a PR to <a class="ext-link" href="https://github.com/boostorg/graph"><span class="icon">​</span>Boost.Graph</a> that <code>#include</code>s the missing header. </li><li>Then, post a message to <a class="ext-link" href="https://lists.boost.org/mailman/listinfo.cgi/boost"><span class="icon">​</span>the Boost developers' ML</a> (you need to describe the ML to post a message) with a subject something like "[1.67] Missing include in Boost.Graph" and say <ul><li>dealii cannot be built without your PR (if this is a regression, please say so). </li><li>also mention that boostorg/graph <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/101" title="#101: Support Requests: regex performance issue (closed: Works For Me)">#101</a> would be a better fix. </li></ul></li></ul> </description> <category>Ticket</category> </item> <item> <author>Denis Davydov <davydden@…></author> <pubDate>Sat, 31 Mar 2018 08:50:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13505#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13505#comment:5</guid> <description> <p> thanks for the suggestion, I have done all in the above. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Michel Morin</dc:creator> <pubDate>Sat, 31 Mar 2018 10:24:28 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13505#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13505#comment:6</guid> <description> <p> Thanks Denis! Let's see if it goes to Boost 1.67. (Your first post to the boost-dev ML will be sent after moderators authorize it.) </p> </description> <category>Ticket</category> </item> </channel> </rss>