Boost C++ Libraries: Ticket #12186: Inclusion order for labeled_graph https://svn.boost.org/trac10/ticket/12186 <p> Hi, </p> <p> It looks like the labeled_graph header has some unmet dependencies. If labeled_graph is the first boost graph include compilation will fail. If it is not the first (e.g. after adjacency_list) compilation suceeds. I am using boost 1.54. Sorry I have no idea if this has been fixed in later versions. </p> <p> Ex. 1 compilation fails </p> <pre class="wiki">#include "boost/graph/labeled_graph.hpp" #include "boost/graph/adjacency_list.hpp" int main(int,char*[]) { } </pre><p> Ex. 2 compilation succeeds with include order swapped. </p> <pre class="wiki">#include "boost/graph/adjacency_list.hpp" #include "boost/graph/labeled_graph.hpp" int main(int,char*[]) { } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12186 Trac 1.4.3 Murray Cumming <murrayc@…> Tue, 09 Aug 2016 08:55:40 GMT <link>https://svn.boost.org/trac10/ticket/12186#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12186#comment:1</guid> <description> <p> What is the compilation error? </p> </description> <category>Ticket</category> </item> <item> <author>scott_paulin@…</author> <pubDate>Wed, 10 Aug 2016 11:47:53 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/12186 https://svn.boost.org/trac10/ticket/12186 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">compilation_error.txt</span> </li> </ul> <p> compilation error for first example </p> Ticket scott_paulin@… Wed, 10 Aug 2016 11:49:27 GMT <link>https://svn.boost.org/trac10/ticket/12186#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12186#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/12186#comment:1" title="Comment 1">Murray Cumming &lt;murrayc@…&gt;</a>: </p> <blockquote class="citation"> <p> What is the compilation error? </p> </blockquote> <p> Just uploaded a it in a file. Let me know if you would prefer it copied into a comment (so you don't need to download it). </p> </description> <category>Ticket</category> </item> </channel> </rss>