This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Year 2038 problem


Hello,

since time_t is usually defined as long in Newlib and thus 32-bit on most 32-bit targets, we are affected by the year 2038 problem:

http://en.wikipedia.org/wiki/Year_2038_problem

Since have a system that should operate for 30 years we have to address this problem somehow.

What do you think about adding a configure option to define _TIME_T_ to long long in "libc/include/machine/types.h" if requested?

Kind regards,
    Sebastian

--
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]