Boost logo

Ublas :

From: Michael Stevens (mail_at_[hidden])
Date: 2005-11-01 14:34:34


On Thursday, 20. October 2005 11:40, Markus Schöpflin wrote:
> 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.)

I take it you mean this is another report of the same bug and not that this
same bug occures in another location?

> cxx: Warning:
> /house/schoepf/boost/regression/boost/boost/numeric/ublas/detail/concepts.h
>pp, 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.)

Although the code in concepts.hpp is never executed, I assume the warnings get
in the way rather.

Michael