Boost C++ Libraries: Ticket #10282: Compilation error in py_nonblocking.cpp https://svn.boost.org/trac10/ticket/10282 <p> I'm getting the following compilation error on the git master branch on the mpi/src/python/py_nonblocking.cpp when using tip-of-trunk clang and libc++ under <a class="missing wiki">MacOs</a> 10.9.4 when compiling in c++11/c++1y modes: </p> <p> libs/mpi/src/python/py_nonblocking.cpp:166:14: error: no viable conversion from 'optional&lt;(anonymous namespace)::py_call_output_iterator&lt;boost::mpi::status, std::__1::__wrap_iter&lt;boost::mpi::python::request_with_value *&gt; &gt; &gt;' to 'bool' </p> <blockquote> <p> return test_all(requests.begin(), requests.end(), </p> </blockquote> <blockquote> <blockquote> <p> <sup><del></del><del></del><del></del><del></del><del></del><del></del><del></del><del></del><del></del><del></del>~ </sup></p> </blockquote> </blockquote> <p> 1 error generated. </p> <p> Compilation used: </p> <p> "clang++" -x c++ -Wl,-flat_namespace -stdlib=libc++ -nostdinc++ -std=c++1y -I/Users/gnzlbg/src/env/include/libcxx -O3 -O3 -finline-functions -Wno-inline -Wall -DBOOST_ALL_NO_LIB=1 -DBOOST_MPI_DYN_LINK=1 -DBOOST_MPI_PYTHON_DYN_LINK=1 -DBOOST_PYTHON_DYN_LINK=1 -DNDEBUG -I"." -I"/Users/gnzlbg/src/env/include" -I"/usr/local/Cellar/python/2.7.5/Frameworks/Python.framework/Versions/2.7/include/python2.7" -c -o "/Users/gnzlbg/src/env/boost_build/boost/bin.v2/libs/mpi/build/clang-darwin-4.2.1/release/threading-multi/python/py_nonblocking.o" "libs/mpi/src/python/py_nonblocking.cpp" </p> <p> A patch is attached </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10282 Trac 1.4.3 gonzalobg88@… Thu, 31 Jul 2014 09:44:03 GMT attachment set https://svn.boost.org/trac10/ticket/10282 https://svn.boost.org/trac10/ticket/10282 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">py_nonblocking.patch</span> </li> </ul> <p> patches src/python/py_nonblocking.cpp file </p> Ticket anonymous Thu, 19 Feb 2015 16:38:41 GMT <link>https://svn.boost.org/trac10/ticket/10282#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10282#comment:1</guid> <description> <p> Thanks for the patch. I also have this issue. </p> <pre class="wiki">gcc --version gcc (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3 </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 19 Feb 2015 16:40:50 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10282#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10282#comment:1</guid> <description> <p> Thanks for the patch. I also have this issue. </p> <pre class="wiki">gcc --version gcc (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3 </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Fri, 14 Aug 2015 10:37:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10282#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10282#comment:2</guid> <description> <p> Fixed by 1.59.0! </p> </description> <category>Ticket</category> </item> </channel> </rss>