Subject: [Boost-bugs] [Boost C++ Libraries] #3308: gregorian does not use 32 bit int on 64 bit system
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-01 13:32:55
#3308: gregorian does not use 32 bit int on 64 bit system
---------------------------------------------------------------+------------
Reporter: Andre Vehreschild <andre.vehreschild@â¦> | Owner: az_sw_dude
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: date_time
Version: Boost 1.39.0 | Severity: Showstopper
Keywords: date_time gregorian date 64bit-issue |
---------------------------------------------------------------+------------
The gregorian date datatype is supposed to use a 32-bit integer for
storing the date information. At least this is said so in the
documentation. Unfortunately the implementation uses "unsigned long" which
results in a 64-bit value on 64-bit systems.
I am able to propose attached patch. Please comment and correct!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3308> 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:00 UTC