Created attachment 6693 [details] proposed patch with -std=c++11 instead of BOOST_UBLAS_INLINE template <size_t N> we should write template <size_t N> BOOST_UBLAS_INLINE see also similar patch at https://github.com/uBLAS/ublas/commit/19eb8cf30af812c8434dfc7e5f0c6c7ded5477d0 --- /usr/include/boost/numeric/ublas/storage.hpp~ 2016-04-02 11:34:46.000000000 +0000 +++ /usr/include/boost/numeric/ublas/storage.hpp 2016-04-19 13:07:41.126116952 +0000 @@ -777,9 +777,9 @@ BOOST_UBLAS_INLINE shallow_array_adaptor (size_type size, pointer data): size_ (size), own_ (false), data_ (data, leaker<value_type> ()) {} - BOOST_UBLAS_INLINE + template <size_t N> - shallow_array_adaptor (T (&data)[N]): + BOOST_UBLAS_INLINE shallow_array_adaptor (T (&data)[N]): size_ (N), own_ (false), data_ (data, leaker<value_type> ()) {} BOOST_UBLAS_INLINE @@ -833,14 +833,14 @@ void resize (size_type size, pointer data, value_type init) { resize_internal (size, data, init, true); } - BOOST_UBLAS_INLINE + template <size_t N> - void resize (T (&data)[N]) { + BOOST_UBLAS_INLINE void resize (T (&data)[N]) { resize_internal (N, data, value_type (), false); } - BOOST_UBLAS_INLINE + template <size_t N> - void resize (T (&data)[N], value_type init) { + BOOST_UBLAS_INLINE void resize (T (&data)[N], value_type init) { resize_internal (N, data, init, true); }
blocks removal of boost 1.57 - rebuild of libompl fails w/o this patch.
found the same bug in bugs.archlinux.org: https://bugs.archlinux.org/task/45356
ping я бы и сам NMU выложил, да acl у меня нету :( может, @qa добавить?
boost-1:1.58.0-alt4 -> sisyphus: * Thu May 12 2016 Igor Vlasenko <viy@altlinux> 1:1.58.0-alt4 - NMU: added patch37 (closes: #32001)