view doc/year2038.texi @ 40246:c34f677e6117 default tip master

_Noreturn: GCC 4.7 does not support [[noreturn]] in C++11 mode * lib/_Noreturn.h, m4/gnulib-common.m4: Don't use [[noreturn]] before GCC 4.8.
author Akim Demaille <akim.demaille@gmail.com>
date Sun, 17 Mar 2019 19:27:20 +0100
parents f12ec780b133
children
line wrap: on
line source

@node Avoiding the year 2038 problem
@section Avoiding the year 2038 problem

The ``year 2038 problem'' denotes unpredictable behaviour of programs
that will likely occur in the year 2038, for programs that use a 32-bit
@samp{time_t} type.  See @url{https://en.wikipedia.org/wiki/Year_2038_problem}
for details.

The gnulib module @samp{year2038} attempts to avoid this problem, by
ensuring that @code{time_t} is a 64-bit type.