|
Boost : |
From: Kenneth Porter (shiva_at_[hidden])
Date: 2019-07-19 05:00:57
I'm seeing the following block of warnings repeated with several MSVC
compiler versions. I'd suggest changing int to ptrdiff_t or size_t for the
target type.
f:\devel\Boost\boost_1_71_0\libs\locale\src\win32\api.hpp(149): warning
C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
f:\devel\Boost\boost_1_71_0\libs\locale\src\win32\api.hpp(153): warning
C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
f:\devel\Boost\boost_1_71_0\libs\locale\src\win32\api.hpp(153): warning
C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
f:\devel\Boost\boost_1_71_0\libs\locale\src\win32\api.hpp(170): warning
C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
f:\devel\Boost\boost_1_71_0\libs\locale\src\win32\api.hpp(245): warning
C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
f:\devel\Boost\boost_1_71_0\libs\locale\src\win32\api.hpp(249): warning
C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
My build command:
call .\bootstrap.bat --without-python
.\b2 --without-python toolset=msvc-14.2,msvc-14.0,msvc-12.0,msvc-10.0
runtime-link=shared,static address-model=32,64
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk