Opened 9 years ago

Closed 9 years ago

#8495 closed Patches (fixed)

UUID-Library emits Warning C4244 from uuid_generators.hpp

Reported by: Peter Brockamp <p.brockamp@…> Owned by: Andy Tompkins
Milestone: To Be Determined Component: uuid
Version: Boost 1.53.0 Severity: Optimization
Keywords: warning C4244 VS2005 UUID Cc:

Description

Due to some missing casts to smaller datatypes above warning are emitted when including uuid_generators.hpp. Attached is a patch which casts to the correct types, eliminating the warnings.

Attachments (2)

large_arithmetic.hpp.diff (577 bytes ) - added by Peter Brockamp <p.brockamp@…> 9 years ago.
large_arithmetic.hpp
name_generator.hpp.diff (1.5 KB ) - added by Peter Brockamp <p.brockamp@…> 9 years ago.
name_generator.hpp

Download all attachments as: .zip

Change History (5)

by Peter Brockamp <p.brockamp@…>, 9 years ago

Attachment: large_arithmetic.hpp.diff added

large_arithmetic.hpp

by Peter Brockamp <p.brockamp@…>, 9 years ago

Attachment: name_generator.hpp.diff added

name_generator.hpp

comment:1 by Andy Tompkins, 9 years ago

checked in to trunk C84781

comment:2 by Andy Tompkins, 9 years ago

Note - I will not be changing large_arithmetic.hpp as it is not part of the uuid library.

comment:3 by Andrey Semashev, 9 years ago

Resolution: fixed
Status: newclosed

(In [86660]) Merged changes from trunk: warning silencing and support for SSE and C++11. Fixes #8495, #8697, #8509.

Note: See TracTickets for help on using tickets.