Can I just recompile my 32-bit program on a 64-bit compiler to fix the problem?

It depends (among other things) on the targeted hardware and the nature of the program, but usually the answer is no. Any places in the code where the time in seconds is copied to a 32-bit integer will likely break or do something unexpected. The chance of simply recompiling a program to fix all Y2038 issues is remote.

Was this answer helpful ? Yes / No

Author: John Lange

Owner of