This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Year 2038 problem
- From: Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- To: newlib at sourceware dot org
- Date: Mon, 12 Sep 2011 12:12:15 +0200
- Subject: 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.