Opened 9 years ago
Last modified 9 years ago
#9198 new Bugs
boost\boost\crc.hpp warning due to implicit bool cast
Reported by: | Owned by: | Daryle Walker | |
---|---|---|---|
Milestone: | To Be Determined | Component: | crc |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: |
Description
While compiling with Visual Studio 2013 RC, the following warning is issued:
boost\boost\crc.hpp(601): warning C4800: 'unsigned int' : forcing value to bool 'true' or 'false' (performance warning)
Fix: Change line 601 as follows:
bool const quotient = (remainder & high_bit_mask) != 0;
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Component: | None → crc |
---|---|
Owner: | set to |
Note:
See TracTickets
for help on using tickets.
Mistyped my email address