Boost logo

Ublas :

From: Max Weinberg (max.weinberg_at_[hidden])
Date: 2005-05-03 14:30:27


> 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).

Yes, that it. Now I remember that I have reported this already a half year ago.
Sorry, I should have noticed that before. Then I wrote: "the type deduction
generates lots of warnings when compiled on VC7.1 with /Wp64 on. (Which means
64bit compatibility check)" The solution would be to include the
std::difference_type std::size_t etc. along with the other types in
returntypededuction.h. The std:: types are internally defined as e.g. "__w64
unsigned". The /Wp64 warning is switched on by default in VC7.1/8.0.

Max