[Boost-bugs] [Boost C++ Libraries] #6694: cstdint.hpp and integer.hpp don't work correctly on vxWorks 6.3

Subject: [Boost-bugs] [Boost C++ Libraries] #6694: cstdint.hpp and integer.hpp don't work correctly on vxWorks 6.3
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-16 18:40:00


#6694: cstdint.hpp and integer.hpp don't work correctly on vxWorks 6.3
------------------------------------------+---------------------------------
 Reporter: Ben Craig <ben.craig@…> | Owner: dlwalker
     Type: Bugs | Status: new
Milestone: Boost 1.50.0 | Component: integer
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: |
------------------------------------------+---------------------------------
 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 2^64, instead of 2^63. It
 should also look at _ULLONG_MAX, and compare it to 2^64.

 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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6694>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC