Opened 8 years ago
Last modified 8 years ago
#10871 new Bugs
Warnings in Boost.System when built on 64 bit system on MSVC
Reported by: | Niall Douglas | Owned by: | Beman Dawes |
---|---|---|---|
Milestone: | To Be Determined | Component: | system |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
.\boost/system/detail/error_code.ipp(384) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data .\boost/system/detail/error_code.ipp(401) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Here's a build log: https://ci.nedprod.com/view/Boost%20Thread-Expected-Permit/job/Boost.Thread%20Build/CPPSTD=c++14,CXX=msvc-12.0,LINKTYPE=shared,label=winphone8/64/console
To reproduce, you'll need VS2013 and the Windows Phone SDK installed:
b2 address-model=64 toolset=msvc-12.0 windows-api=store release -a libs/thread/build link=shared cxxflags=/wd4100
cd libs\system\test
..\..\..\b2 address-model=64 toolset=msvc-12.0 -a cxxflags=-W4 is not producing any warnings.
Please supply instructions to reproduce the problem. What platform macros are defined? What version of the compiler?
--Beman