|
Boost : |
Subject: [boost] [test] [iostreams] 1.47.0 VC++ 10.0 warnings
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-07-11 11:48:38
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.
Thanks,
--Beman
boost\test\impl\execution_monitor.ipp(1078) : warning C4702: unreachable code
boost\test\impl\execution_monitor.ipp(1082) : warning C4702: unreachable code
boost\test\utils\named_params.hpp(74) : warning C4702: unreachable code
boost\test\utils\named_params.hpp(78) : warning C4702: unreachable code
boost\test\utils\named_params.hpp(86) : warning C4702: unreachable code
libs\iostreams\src\file_descriptor.cpp(241) : warning C4800: 'int' :
forcing value to bool 'true' or 'false' (performance warning)
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
libs\iostreams\src\mapped_file.cpp(325) : warning C4244: 'argument' :
conversion from 'boost::iostreams::stream_offset' to 'SIZE_T',
possible loss of data
libs\iostreams\src\mapped_file.cpp(59) : warning C4244: 'return' :
conversion from 'const boost::iostreams::stream_offset' to 'size_t',
possible loss of data
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk