To make a deterministic build, I'm redefining DATE and TIME.
A build of the utils fails, with complaints about"
| gif2ps.c:71: error: expected ‘,’ or ‘;’ before numeric constant
| gif2epsn.c:83: error: expected ‘,’ or ‘;’ before numeric constant
| gifasm.c:57: error: expected ‘,’ or ‘;’ before numeric constant
| make[2]: [gif2ps.o] Error 1
| gifbg.c:80: error: expected ‘,’ or ‘;’ before numeric constant
| gif2rgb.c:58: error: expected ‘,’ or ‘;’ before numeric constant***
This is on an older version "4.1", using gcc/Linux/OpenEmbedded(Yocto), but it seems VersionStr is defined the same way into 5.x.
Also, using the built-in DATE and TIME, it fails. There seems to be some magic here. Can someone explain?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make a deterministic build, I'm redefining DATE and TIME.
A build of the utils fails, with complaints about"
| gif2ps.c:71: error: expected ‘,’ or ‘;’ before numeric constant
| gif2epsn.c:83: error: expected ‘,’ or ‘;’ before numeric constant
| gifasm.c:57: error: expected ‘,’ or ‘;’ before numeric constant
| make[2]: [gif2ps.o] Error 1
| gifbg.c:80: error: expected ‘,’ or ‘;’ before numeric constant
| gif2rgb.c:58: error: expected ‘,’ or ‘;’ before numeric constant***
This is on an older version "4.1", using gcc/Linux/OpenEmbedded(Yocto), but it seems VersionStr is defined the same way into 5.x.
Also, using the built-in DATE and TIME, it fails. There seems to be some magic here. Can someone explain?