|
Boost Users : |
Subject: Re: [Boost-users] Boost.Unordered throws 64-bit portability warnings
From: Daniel James (daniel_james_at_[hidden])
Date: 2009-05-31 11:54:06
2009/5/21 Lindley M French <lfrench1_at_[hidden]>:
> I've noticed on Visual Studio 2005 that I get a slew of warnings from Boost/unordered/detail/hash_table_impl.hpp when I build with "Detect 64-bit portability issues" turned on. In particular at the moment I'm seeing the following warning:
>
> boost/unordered/detail/hash_table_impl.hpp(1569) : warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int', possible loss of data
>
> And the same on lines 1328, 1569, 1541, 1799, and 1763.
This should be fixed in trunk now. I just put in some pragmas as I
can't come up with a reasonable way to make Visual C++ happy.
Daniel
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net