Subject: [Boost-bugs] [Boost C++ Libraries] #13359: windows_intermodule_singleton.hpp line 118, for version 1.62 throws warning error for possible loss of data
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-12-22 18:10:01
#13359: windows_intermodule_singleton.hpp line 118, for version 1.62 throws warning
error for possible loss of data
------------------------------+----------------------
Reporter: anonymous | Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.62.0 | Severity: Cosmetic
Keywords: vs12 warning |
------------------------------+----------------------
It happens for vs12 compiler, for windows_intermodule_singleton.hpp line
118. Fix is simple, just mask it appropriately:
initial_count = boost::uint32_t(caster.addr_uint64 & 0xFFFFFFFF);
-- Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13359> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-12-22 18:18:31 UTC