Opened 11 years ago
Closed 8 years ago
#6694 closed Bugs (fixed)
cstdint.hpp and integer.hpp don't work correctly on vxWorks 6.3
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.58.0 | Component: | integer |
Version: | Boost 1.49.0 | Severity: | Problem |
Keywords: | Cc: |
Description
cstdint.hpp attempts to figure out how to declare the INT64_C and UINT64_C macros by looking at the values of other declarations like _LLONG_MAX. For _LLONG_MAX, it incorrectly compares against 264, instead of 263. It should also look at _ULLONG_MAX, and compare it to 264.
integer.hpp guards some usages of integer_traits on 64 bit types, but it did not guard it with BOOST_NO_INT64_T.
I have attached a patch to correct both of these issues.
Attachments (1)
Change History (6)
by , 11 years ago
Attachment: | int64.patch added |
---|
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 8 years ago
Milestone: | Boost 1.50.0 → Boost 1.58.0 |
---|
comment:4 by , 8 years ago
Applied cstdint.hpp part in https://github.com/boostorg/config/commit/fada9f5ee2cd044ba0efd3c07bf9fc5070a98f81
comment:5 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Tweaks to integer.hpp and cstdint.hpp