Opened 10 years ago
Closed 9 years ago
#8344 closed Bugs (fixed)
C4244 in dynamic_bitset.hpp due to std::size_t and std::streamsize type difference
Reported by: | anonymous | Owned by: | acharles |
---|---|---|---|
Milestone: | Boost 1.56.0 | Component: | dynamic_bitset |
Version: | Boost 1.53.0 | Severity: | Problem |
Keywords: | Cc: |
Description
getting warning when using operator<<(std::basic_ostream<CharT, Traits>& os, const dynamic_bitset<Block, Allocator>& b) on a dynamic_bitset instance:
boost\dynamic_bitset\dynamic_bitset.hpp(1432): warning C4244: 'initializing' : conversion from 'std::streamsize' to 'size_t', possible loss of data
(warning translated by myself, since i'm using a german version of visual studio 2012)
Change History (6)
comment:1 by , 10 years ago
Component: | None → dynamic_bitset |
---|---|
Owner: | set to |
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
comment:4 by , 9 years ago
Severity: | Cosmetic → Problem |
---|
comment:5 by , 9 years ago
Milestone: | To Be Determined → Boost 1.56.0 |
---|
Note:
See TracTickets
for help on using tickets.
Proposed fix: https://github.com/boostorg/dynamic_bitset/pull/2