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 viboes, 10 years ago

Component: Nonedynamic_bitset
Owner: set to jsiek

comment:2 by acharles, 9 years ago

Owner: changed from jsiek to acharles
Status: newassigned

comment:4 by acharles, 9 years ago

Severity: CosmeticProblem

comment:5 by acharles, 9 years ago

Milestone: To Be DeterminedBoost 1.56.0

comment:6 by acharles, 9 years ago

Resolution: fixed
Status: assignedclosed

Fix is in master.

Note: See TracTickets for help on using tickets.