Opened 8 years ago
Last modified 7 years ago
#10282 new Bugs
Compilation error in py_nonblocking.cpp
Reported by: | Owned by: | Matthias Troyer | |
---|---|---|---|
Milestone: | Boost 1.56.0 | Component: | mpi |
Version: | Boost Development Trunk | Severity: | Showstopper |
Keywords: | Cc: |
Description
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
Attachments (1)
Change History (4)
by , 8 years ago
Attachment: | py_nonblocking.patch added |
---|
comment:1 by , 8 years ago
Thanks for the patch. I also have this issue.
gcc --version gcc (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3
comment:1 by , 8 years ago
Thanks for the patch. I also have this issue.
gcc --version gcc (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3
patches src/python/py_nonblocking.cpp file