[pkg-boost-devel] Bug#811651: FTBFS with GCC 6: cannot convert x to y
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 00:38:43 UTC 2016
Package: boost1.58
Version: 1.58.0+dfsg-4.1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-cannot-convert
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> bols-on/link-static/threading-multi/intercommunicator.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/mpi_datatype_cache.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/mpi_datatype_oarchive.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/packed_iarchive.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/packed_oarchive.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/packed_skeleton_iarchive.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/packed_skeleton_oarchive.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/point_to_point.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/request.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/text_skeleton_oarchive.o" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/timer.o"
> "/usr/bin/ranlib" "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/libboost_mpi.a"
>
> common.copy stage/lib/libboost_mpi.a
>
> cp "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/link-static/threading-multi/libboost_mpi.a" "stage/lib/libboost_mpi.a"
>
> gcc.compile.c++ bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/threading-multi/python/py_nonblocking.o
>
> "g++" -ftemplate-depth-128 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-local-typedefs -O3 -finline-functions -Wno-inline -Wall -g -Wdate-time -D_FORTIFY_SOURCE=2 -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/python3.4m" -I"/usr/lib/openmpi/include" -I"/usr/lib/openmpi/include/openmpi" -c -o "bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/threading-multi/python/py_nonblocking.o" "libs/mpi/src/python/py_nonblocking.cpp"
>
> In file included from /usr/lib/openmpi/include/mpi.h:253:0,
> from ./boost/mpi/config.hpp:20,
> from ./boost/mpi/allocator.hpp:15,
> from ./boost/mpi.hpp:22,
> from libs/mpi/src/python/py_nonblocking.cpp:24:
> /usr/lib/openmpi/include/mpi_portable_platform.h:374:34: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> _STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATCHLEVEL__)
> ^
>
> /usr/lib/openmpi/include/mpi_portable_platform.h:374:63: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
> _STRINGIFY(__GNUC__)"."_STRINGIFY(__GNUC_MINOR__)"."_STRINGIFY(__GNUC_PATCHLEVEL__)
> ^
>
> In file included from ./boost/bind/mem_fn.hpp:25:0,
> from ./boost/mem_fn.hpp:22,
> from ./boost/function/detail/prologue.hpp:18,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/get_pointer.hpp:27:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> template<class T> T * get_pointer(std::auto_ptr<T> const& p)
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/python/detail/is_xxx.hpp:8:0,
> from ./boost/python/detail/is_auto_ptr.hpp:9,
> from ./boost/python/detail/copy_ctor_mutates_rhs.hpp:8,
> from ./boost/python/detail/value_arg.hpp:7,
> from ./boost/python/object/forward.hpp:13,
> from ./boost/python/object/pointer_holder.hpp:16,
> from ./boost/python/to_python_indirect.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:10,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/python/detail/is_auto_ptr.hpp:17:40: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
> ^
>
> ./boost/detail/is_xxx.hpp:20:4: note: in definition of macro 'BOOST_DETAIL_IS_XXX_DEF'
> qualified_name< BOOST_PP_ENUM_PARAMS_Z(1, nargs, T) > \
> ^~~~~~~~~~~~~~
>
> ./boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro 'BOOST_PYTHON_IS_XXX_DEF'
> BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
> ^~~~~~~~~~~~~~~~~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/python/converter/arg_to_python.hpp:10:0,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/python/to_python_indirect.hpp: In static member function 'static PyObject* boost::python::detail::make_owning_holder::execute(T*)':
> ./boost/python/to_python_indirect.hpp:90:24: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> typedef std::auto_ptr<T> smart_pointer;
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/smart_ptr/shared_ptr.hpp:28:0,
> from ./boost/shared_ptr.hpp:17,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/detail/shared_count.hpp: At global scope:
> ./boost/smart_ptr/detail/shared_count.hpp:395:33: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/shared_ptr.hpp:17:0,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/shared_ptr.hpp:242:65: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/shared_ptr.hpp:17:0,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/shared_ptr.hpp:441:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> explicit shared_ptr( std::auto_ptr<Y> & r ): px(r.get()), pn()
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/shared_ptr.hpp:17:0,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/shared_ptr.hpp:454:22: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> shared_ptr( std::auto_ptr<Y> && r ): px(r.get()), pn()
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/shared_ptr.hpp:17:0,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/shared_ptr.hpp:520:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> shared_ptr & operator=( std::auto_ptr<Y> & r )
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/shared_ptr.hpp:17:0,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/shared_ptr.hpp:529:34: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> shared_ptr & operator=( std::auto_ptr<Y> && r )
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/shared_ptr.hpp:17:0,
> from ./boost/python/converter/shared_ptr_to_python.hpp:10,
> from ./boost/python/converter/arg_to_python.hpp:15,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/smart_ptr/shared_ptr.hpp: In member function 'boost::shared_ptr<T>& boost::shared_ptr<T>::operator=(std::auto_ptr<_Up>&&)':
> ./boost/smart_ptr/shared_ptr.hpp:531:38: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> this_type( static_cast< std::auto_ptr<Y> && >( r ) ).swap( *this );
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/python/object/function_handle.hpp:10:0,
> from ./boost/python/converter/arg_to_python.hpp:19,
> from ./boost/python/call.hpp:15,
> from ./boost/python/object_core.hpp:14,
> from ./boost/python/args.hpp:25,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/python/object/py_function.hpp: At global scope:
> ./boost/python/object/py_function.hpp:167:18: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> mutable std::auto_ptr<py_function_impl_base> m_impl;
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/python.hpp:41:0,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> ./boost/python/make_constructor.hpp: In member function 'void boost::python::detail::install_holder<T>::dispatch(U*, mpl_::true_) const':
> ./boost/python/make_constructor.hpp:48:16: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> std::auto_ptr<U> owner(x);
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> In file included from ./boost/scoped_ptr.hpp:14:0,
> from ./boost/python/suite/indexing/detail/indexing_suite_detail.hpp:10,
> from ./boost/python/suite/indexing/indexing_suite.hpp:12,
> from ./boost/python/suite/indexing/vector_indexing_suite.hpp:9,
> from libs/mpi/src/python/py_nonblocking.cpp:23:
> ./boost/smart_ptr/scoped_ptr.hpp: At global scope:
> ./boost/smart_ptr/scoped_ptr.hpp:68:31: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_NOEXCEPT : px( p.release() )
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> libs/mpi/src/python/py_nonblocking.cpp:68:8: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> std::auto_ptr<request_list> make_request_list_from_py_list(object iterable)
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> 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:10: warning: 'template<class> class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
> std::auto_ptr<request_list> result(new request_list);
> ^~~~~~~~
>
> In file included from /usr/include/c++/6/memory:81:0,
> from ./boost/function/function_base.hpp:16,
> from ./boost/function/detail/prologue.hpp:17,
> from ./boost/function/function_template.hpp:13,
> from ./boost/function/detail/maybe_include.hpp:13,
> from ./boost/function/function0.hpp:11,
> from ./boost/python/errors.hpp:13,
> from ./boost/python/handle.hpp:11,
> from ./boost/python/args_fwd.hpp:10,
> from ./boost/python/args.hpp:10,
> from ./boost/python.hpp:11,
> from libs/mpi/src/python/py_nonblocking.cpp:21:
> /usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
> template<typename> class auto_ptr;
> ^~~~~~~~
>
> libs/mpi/src/python/py_nonblocking.cpp: In function 'bool {anonymous}::wrap_test_all({anonymous}::request_list&, boost::python::api::object)':
> libs/mpi/src/python/py_nonblocking.cpp:167:63: error: cannot convert 'boost::optional<{anonymous}::py_call_output_iterator<boost::mpi::status, __gnu_cxx::__normal_iterator<boost::mpi::python::request_with_value*, std::vector<boost::mpi::python::request_with_value> > > >' to 'bool' in return
> status_value_iterator(py_callable, requests.begin()));
> ^
>
> ...failed gcc.compile.c++ bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/threading-multi/python/py_nonblocking.o...
> gcc.compile.c++ bin.v2/libs/mpi/build/gcc-6.0.0/release/debug-symbols-on/threading-multi/python/module.o
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
More information about the pkg-boost-devel
mailing list