[Boost-bugs] [Boost C++ Libraries] #10282: Compilation error in py_nonblocking.cpp

Subject: [Boost-bugs] [Boost C++ Libraries] #10282: Compilation error in py_nonblocking.cpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-07-31 09:43:27


#10282: Compilation error in py_nonblocking.cpp
-------------------------------------+-------------------------
 Reporter: gonzalobg88@… | Owner: troyer
     Type: Bugs | Status: new
Milestone: Boost 1.56.0 | Component: mpi
  Version: Boost Development Trunk | Severity: Showstopper
 Keywords: |
-------------------------------------+-------------------------
 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 MacOs 10.9.4 when compiling in c++11/c++1y modes:

 libs/mpi/src/python/py_nonblocking.cpp:166:14: error: no viable conversion
 from 'optional<(anonymous
 namespace)::py_call_output_iterator<boost::mpi::status,
 std::__1::__wrap_iter<boost::mpi::python::request_with_value *> > >' to
 'bool'
       return test_all(requests.begin(), requests.end(),

              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 1 error generated.

 Compilation used:

 "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"

 A patch is attached

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10282>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC