Boost logo

Ublas :

From: Georg Baum (Georg.Baum_at_[hidden])
Date: 2005-05-03 09:26:40


Am Dienstag, 3. Mai 2005 15:54 schrieb Max Weinberg:
> > Are you storing 'size_t' as a ublas::vector element? i.e. is this cause
> > by a type ublas::vector<size_t> or similar?
>
> No, I am using compressed double vectors. You should hopefully be able to
> reproduce the warnings by:
>
> #include <boost/numeric/ublas/vector.hpp>
> #include <boost/numeric/ublas/vector_sparse.hpp>
> int main()
> {
> boost::numeric::ublas::compressed_vector<double> v1, v2;
> v1 = v1-v2;
> }

Not on 32 bit Linux with gcc 3.3.4. I guess this is a warning that only pops
up on 64 bit platforms where sizeof(size_t) != sizeof(unsigned int).

BTW, I need the attached patch to shut up gcc 4.0 unused parameter warnings in
nondebug builds. I don't understand why gcc 3.3.4 does not issue these
warnings.

Georg