gcc.compile.c++ bin.v2/libs/mpi/build/gcc-4.7/gentoorelease/pch-off/threading-multi/python/py_nonblocking.o "x86_64-pc-linux-gnu-g++" -ftemplate-depth-128 -march=core2 -O2 -fno-ident -frecord-gcc-switches -pipe -Wall -std=gnu++11 -finline-functions -Wno-inline -Wall -pthread -fPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_MPI_DYN_LINK=1 -DBOOST_MPI_PYTHON_DYN_LINK=1 -DBOOST_PYTHON_DYN_LINK=1 -DNDEBUG -I"." -I"/usr/include/python2.6" -c -o "bin.v2/libs/mpi/build/gcc-4.7/gentoorelease/pch-off/threading-multi/python/py_nonblocking.o" "libs/mpi/src/python/py_nonblocking.cpp" In file included from ./boost/python/detail/wrap_python.hpp:50:0, from ./boost/python/detail/prefix.hpp:13, from ./boost/python/args.hpp:8, from ./boost/python.hpp:11, from libs/mpi/src/python/py_nonblocking.cpp:21: /usr/include/python2.6/pyconfig.h:1067:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/x86_64-pc-linux-gnu/bits/os_defines.h:40:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:414, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/bits/stl_algobase.h:60, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/vector:61, from libs/mpi/src/python/py_nonblocking.cpp:17: /usr/include/features.h:168:0: note: this is the location of the previous definition In file included from ./boost/python/detail/wrap_python.hpp:50:0, from ./boost/python/detail/prefix.hpp:13, from ./boost/python/args.hpp:8, from ./boost/python.hpp:11, from libs/mpi/src/python/py_nonblocking.cpp:21: /usr/include/python2.6/pyconfig.h:1079:0: warning: "_XOPEN_SOURCE" redefined [enabled by default] In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/x86_64-pc-linux-gnu/bits/os_defines.h:40:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:414, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/bits/stl_algobase.h:60, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/vector:61, from libs/mpi/src/python/py_nonblocking.cpp:17: /usr/include/features.h:170:0: note: this is the location of the previous definition libs/mpi/src/python/py_nonblocking.cpp: In function ‘std::auto_ptr<std::vector<boost::mpi::python::request_with_value> > {anonymous}::make_request_list_from_py_list(boost::python::api::object)’: libs/mpi/src/python/py_nonblocking.cpp:70:39: warning: ‘auto_ptr’ is deprecated (declared at /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.2/include/g++-v4/backward/auto_ptr.h:87) [-Wdeprecated-declarations] libs/mpi/src/python/py_nonblocking.cpp: In function ‘boost::python::api::object {anonymous}::wrap_wait_any({anonymous}::request_list&)’: libs/mpi/src/python/py_nonblocking.cpp:124:50: error: could not convert ‘std::make_tuple(_Elements&& ...) [with _Elements = {const boost::python::api::object, boost::mpi::status&, long int}; typename std::__decay_and_strip<_Elements>::__type = <type error>]((* & result.std::pair<boost::mpi::status, __gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > >::first), (* & std::distance<__gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > >((& requests)->std::vector<_Tp, _Alloc>::begin<boost::mpi::python::request_with_value, std::allocator<boost::mpi::python::request_with_value> >(), result.std::pair<boost::mpi::status, __gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > >::second)))’ from ‘std::tuple<boost::python::api::object, boost::mpi::status, long int>’ to ‘boost::python::api::object’ libs/mpi/src/python/py_nonblocking.cpp: In function ‘boost::python::api::object {anonymous}::wrap_test_any({anonymous}::request_list&)’: libs/mpi/src/python/py_nonblocking.cpp:140:53: error: could not convert ‘std::make_tuple(_Elements&& ...) [with _Elements = {const boost::python::api::object, boost::mpi::status&, long int}; typename std::__decay_and_strip<_Elements>::__type = <type error>]((* & result.boost::optional<T>::operator-><std::pair<boost::mpi::status, __gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > > >()->std::pair<boost::mpi::status, __gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > >::first), (* & std::distance<__gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > >((& requests)->std::vector<_Tp, _Alloc>::begin<boost::mpi::python::request_with_value, std::allocator<boost::mpi::python::request_with_value> >(), result.boost::optional<T>::operator-><std::pair<boost::mpi::status, __gnu_cxx::__normal_iterator<boost:: mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > > >()->std::pair<boost::mpi::status, __gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > >::second)))’ from ‘std::tuple<boost::python::api::object, boost::mpi::status, long int>’ to ‘boost::python::api::object’ libs/mpi/src/python/py_nonblocking.cpp:143:3: warning: control reaches end of non-void function [-Wreturn-type] libs/mpi/src/python/py_nonblocking.cpp: In function ‘boost::python::api::object {anonymous}::wrap_wait_any({anonymous}::request_list&)’: libs/mpi/src/python/py_nonblocking.cpp:125:3: warning: control reaches end of non-void function [-Wreturn-type]
Created attachment 328382 [details, diff] boost.patch Patch backported from Progress Overlay.
Created attachment 328384 [details, diff] ${FILESDIR}/boost-1.51.0-mpi_c++11.patch Patch copied from Progress Overlay.
C++11 won't be supported just yet.