|
Boost : |
From: Beman Dawes (bdawes_at_[hidden])
Date: 2003-12-19 11:10:58
The ublas regression tests for Win32/Metrowerks 8.3 are reporting the
errors below. I've just tried the 9.2 beta, and the same errors are being
reported.
I'm suspicious that these are Boost rather than Metrowerks errors. Could
someone else please take a look and see what they think?
--Beman
### mwcc Compiler:
# In: ..\boost\numeric\ublas\vector_assign.hpp
# From: ..\libs\numeric\ublas\test3\test31.cpp
# -----------------------------------------------
# 349: ke_debug_functor<typename vector<value_type>::reference,
value_type> (), cv, e);
# Error:
^
# illegal template argument dependent expression
# (point of instantiation: 'test_vector()')
# (instantiating:
'test_my_vector<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>, 3>::operator ()()
const')
# (instantiating:
'test_my_vector<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>, 3>::operator
()<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int,
double>>>(boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>> &,
boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>> &,
boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>> &) const')
# (instantiating: 'boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int,
double>>::sparse_vector<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>>(const
boost::numeric::ublas::vector_expression<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>> &, unsigned int)')
# (instantiating:
'boost::numeric::ublas::vector_assign<boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>>, double>,
boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>,
boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>>(boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>>, double>,
boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>> &, const
boost::numeric::ublas::vector_expression<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>> &)')
# (instantiating:
'boost::numeric::ublas::vector_assign<boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>>, double>,
boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>,
boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>>(boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>>>, double>,
boost::numeric::ublas::sparse_vector<double,
boost::numeric::ublas::map_array<unsigned int, double>> &, const
boost::numeric::ublas::vector_expression<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>> &,
boost::numeric::ublas::sparse_tag)')
### mwcc Compiler:
# 349: ke_debug_functor<typename vector<value_type>::reference,
value_type> (), cv, e);
# Error:
^
# illegal template argument dependent expression
# (point of instantiation: 'test_vector()')
# (instantiating:
'test_my_vector<boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>, 3>::operator ()() const')
# (instantiating:
'test_my_vector<boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>, 3>::operator
()<boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>>(boost::numeric::ublas::compressed_vector<double,
0, boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>> &,
boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>> &,
boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>> &) const')
# (instantiating: 'boost::numeric::ublas::compressed_vector<double,
0, boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>::compressed_vector<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>>(const
boost::numeric::ublas::vector_expression<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>> &, unsigned int)')
# (instantiating:
'boost::numeric::ublas::vector_assign<boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::compressed_vector<double,
0, boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>>, double>,
boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>,
boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>>(boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::compressed_vector<double,
0, boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>>, double>,
boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>> &, const
boost::numeric::ublas::vector_expression<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>> &)')
# (instantiating:
'boost::numeric::ublas::vector_assign<boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::compressed_vector<double,
0, boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>>, double>,
boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>,
boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>>(boost::numeric::ublas::scalar_assign<boost::numeric::ublas::sparse_vector_element<boost::numeric::ublas::compressed_vector<double,
0, boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>>>, double>,
boost::numeric::ublas::compressed_vector<double, 0,
boost::numeric::ublas::unbounded_array<unsigned int>,
boost::numeric::ublas::unbounded_array<double>> &, const
boost::numeric::ublas::vector_expression<boost::numeric::ublas::vector<double,
boost::numeric::ublas::unbounded_array<double>>> &,
boost::numeric::ublas::sparse_tag)')
Errors caused tool to abort.
mwcc -maxerrors 5 -maxwarnings 20 -c -warn on,nounusedexpr,nounused
-cwd include -DNOMINMAX -nowraplines -lang c++ -g -O0 -inline off -prefix
UseDLLPrefix.h -runtime dmd -iso_templates on -iso_templates on
-iso_templates on -I"d:\boost-regr\bin\boost\status" -I-
-I"C:\boost\site" -o
"d:\boost-regr\bin\boost\status\test3.test\cwpro8\debug\test31.obj"
"C:\boost\site\libs/numeric/ublas/test3/test31.cpp"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk