Boost C++ Libraries: Ticket #8411: Boost 1.53.0: libboost_graph_parallel.so fails to build in C++11 mode https://svn.boost.org/trac10/ticket/8411 <p> libboost_graph_parallel.so in Boost 1.53.0 fails to build in C++11 mode. This bug does not occur in Boost 1.52.0. I use GCC 4.7.2. </p> <pre class="wiki">gcc.compile.c++ bin.v2/libs/graph_parallel/build/gcc-4.7/gentoorelease/pch-off/threading-multi/mpi_process_group.o "x86_64-pc-linux-gnu-g++" -ftemplate-depth-128 -march=core2 -O2 -pipe -std=gnu++11 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_GRAPH_DYN_LINK=1 -DBOOST_GRAPH_NO_LIB=1 -DNDEBUG -I"." -I"libs/graph_parallel/src" -c -o "bin.v2/libs/graph_parallel/build/gcc-4.7/gentoorelease/pch-off/threading-multi/mpi_process_group.o" "libs/graph_parallel/src/mpi_process_group.cpp" In file included from libs/graph_parallel/src/mpi_process_group.cpp:14:0: ./boost/graph/distributed/mpi_process_group.hpp: In member function ‘boost::graph::distributed::mpi_process_group::operator bool()’: ./boost/graph/distributed/mpi_process_group.hpp:419:28: error: cannot convert ‘boost::shared_ptr&lt;boost::graph::distributed::mpi_process_group::impl&gt;’ to ‘bool’ in return </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8411 Trac 1.4.3 Jeremiah Willcock Sat, 06 Apr 2013 21:34:08 GMT <link>https://svn.boost.org/trac10/ticket/8411#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8411#comment:1</guid> <description> <p> Does it still fail with the trunk version of Boost? I have seen errors like that from several other libraries that have since been resolved, and I believe the issue was not specific to Boost.Graph. </p> </description> <category>Ticket</category> </item> <item> <author>Arfrever.FTA@…</author> <pubDate>Sun, 07 Apr 2013 19:22:45 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8411#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8411#comment:2</guid> <description> <p> This bug still occurs in Boost trunk. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Sun, 07 Apr 2013 19:37:50 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8411#comment:3 https://svn.boost.org/trac10/ticket/8411#comment:3 <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/83799" title="Added explicit conversion to make code with in C++11 mode; fixes #8411">[83799]</a>) Added explicit conversion to make code with in C++11 mode; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8411" title="#8411: Bugs: Boost 1.53.0: libboost_graph_parallel.so fails to build in C++11 mode (closed: fixed)">#8411</a> </p> Ticket anonymous Sun, 07 Apr 2013 20:18:08 GMT <link>https://svn.boost.org/trac10/ticket/8411#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8411#comment:4</guid> <description> <p> Please backport this change to release branch. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Jeremiah Willcock</dc:creator> <pubDate>Sun, 07 Apr 2013 20:19:30 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8411#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8411#comment:5</guid> <description> <p> I'll try to get it into the next release. Otherwise, you can download the trunk version or I can create a patch to use for now. </p> </description> <category>Ticket</category> </item> <item> <author>Arfrever.FTA@…</author> <pubDate>Sun, 07 Apr 2013 20:32:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8411#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8411#comment:6</guid> <description> <p> The patch works for me. It would be nice if applying additional patch was not needed in Boost 1.54.0. </p> </description> <category>Ticket</category> </item> </channel> </rss>