Boost logo

Boost Testing :

From: Victor A. Wagner Jr. (vawjr_at_[hidden])
Date: 2005-06-02 07:26:11


At 10:59 2005-06-01, Bronek Kozicki wrote:
>Victor A. Wagner Jr. wrote:
>>seems to be no reason for it. I'd certainly like to hear a defense of
>>the decision to cause a program failure if the date being output is
>>before 1970.
>
>maybe because they have better function and type for wider range of times,
>namely localtime64 and __time64_t ? Moreover, this limitation applies also
>to older versions of MSVC, see following comment from localtim.c :
>
>(3) It is assumed that time_t is a 32-bit long integer representing
>the number of seconds since 00:00:00, 01-01-70 (UTC) (i.e., the
>Posix/Unix Epoch. Only non-negative values are supported.
>
>Above comment is present in CRT sources of both MSVC6 and MSVC71. I do not
>know how this relates to standards in *nix world.

One has to wonder why the test functions in 7.1 then and fails in
8.0. Surely you don't imply that the older libraries were "better".

>B.

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
               "There oughta be a law"


Boost-testing list run by mbergal at meta-comm.com