Preprocessor __DATE__ directive produces an invalid date:
Posted: Wed Aug 22, 2007 1:14 pm
The following code exhibits the problem:
A fix has been applied to the preprocessor which should resolve this issue:
http://www.z88dk.org/forum/viewtopic.php?id=1506
Code: Select all
#include <stdio.h>
main()
{
printf("compiled at %s / %s\n)", __DATE__, __TIME__); /* -> year is: "20:7" */
}
http://www.z88dk.org/forum/viewtopic.php?id=1506