|
From: John B. <joh...@ho...> - 2015-01-18 09:46:53
|
On Sun, 18 Jan 2015 07:08:37 +0800, ho han keng wrote: > Eli Zaretskii wrote: > >> [description of problem with struct timespec snipped] > > Hello Eli, ... > > I did a simple C++ a.out to test the numeric limits of time_t > for Heisenbug and time_t overflows by the year 2106. So we > may not be around then, not our problem? > Hello ho han keng, The problem is not the date range allowed by long long or time_t. The problem is: >> if the replacement definition ... uses time_t, and the application >> then includes unistd.h, the compilation will fail; for one such problem >> that already happened see >> http://lists.gnu.org/archive/html/bug-gnulib/2015-01/msg00042.html >> There is also a probable incompatibility with pthreads. Regards, John Brown. |