|
Boost : |
Subject: Re: [boost] [test] [iostreams] 1.47.0 VC++ 10.0 warnings
From: Stephan T. Lavavej (stl_at_[hidden])
Date: 2011-07-11 18:31:38
[Beman Dawes]
> A build of 1.47.0 using VC++10.0 is producing warnings from only a few
> libraries. It would be great if these were cleared so that this
> popular compiler builds Boost without warnings at the default
> settings.
> libs\iostreams\src\file_descriptor.cpp(265) : warning C4244:
> 'argument' : conversion from 'std::streamsize' to 'DWORD', possible
> loss of data
> libs\iostreams\src\file_descriptor.cpp(281) : warning C4244:
> 'argument' : conversion from 'std::streamsize' to 'DWORD', possible
> loss of data
These warnings are being emitted by VC10 because std::streamsize is now unconditionally 64-bit, for large file support. (Inevitably, we missed one tiny thing in VC10 so large files aren't supported perfectly everywhere - but it's much better than VC9 and already fixed in VC11.)
Stephan T. Lavavej
Visual C++ Libraries Developer
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk