|
Ublas : |
From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2005-10-20 04:40:23
Michael Stevens wrote:
>>cxx: Warning: /vol2/boost/boost/boost/numeric/ublas/vector_sparse.hpp, line
>>1760: #504-D
> Interesting, which compiler picked this up?
>> nonstandard form for taking the address of a member function
>> sorted_ = sorted_filled_ = filled;
>>---------------------------------------^
CXX on Tru64.
I just looked through the rest of the warning, and there are two more
interesting things:
cxx: Warning:
/house/schoepf/boost/regression/boost/boost/numeric/ublas/matrix_sparse.hpp,
line 4307: #504-D
nonstandard form for taking the address of a member function
sorted_ = sorted_filled_ = filled;
---------------------------------------^
(This is another occurence of the bug reported.)
cxx: Warning:
/house/schoepf/boost/regression/boost/boost/numeric/ublas/detail/concepts.hpp,
line 528: #549-D
variable "sp" is used before its value is set
scalar_expression_type s = *sp;
----------------------------------------^
(This file is full of warnings like that. Probably an initialization of the
pointer to 0 should be added.)
Markus