Boost logo

Ublas :

From: Gunter Winkler (guwi17_at_[hidden])
Date: 2007-03-02 04:40:34


On Thursday 01 March 2007 02:05, Joe Gottman wrote:
> I am getting some annoying warnings when I compile ublas code under MSVC
> 7.1. Given the following code:
>
> c:\code\boost\numeric\ublas\traits.hpp(42) : warning C4267: 'argument' :
> conversion from 'size_t' to 'const unsigned int', possible loss of data

Are you using 64-bit Windows? Otherwise size_t should have same size as int. I
don't get these warnings with 64-bit gcc. Do you use any custom allocators or
redefine size_t somewhere in your headers?

mfg
Gunter