This tool isn't evolving particularly much at the moment, so the additional value of knowing when a particular version was built doesn't give much extra value.
Normally, a stripped build of gendef (on Linux) produces a binary with the exact same hash each time. Using __DATE__ breaks that reproducibility, if rebuilt on different days. It is possible to avoid the issue by setting SOURCE_DATE_EPOCH to a fixed value when building, but in this case, I think the printed date doesn't add much value, so we could simply remove it. Most other similar tools don't contain such printouts. Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-tools/gendef/src/gendef.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mingw-w64-tools/gendef/src/gendef.c b/mingw-w64-tools/gendef/src/gendef.c index 4aa9a42ed..92ba50624 100644 --- a/mingw-w64-tools/gendef/src/gendef.c +++ b/mingw-w64-tools/gendef/src/gendef.c @@ -196,7 +196,6 @@ show_usage (void) " By default, the output files are named after their DLL counterparts\n" " gendef MYDLL.DLL Produces MYDLL.def\n" " gendef - MYDLL.DLL Prints the exports to stdout\n"); - fprintf (stderr, "\nBuilt on %s\n", __DATE__); fprintf (stderr, "\nReport bugs to <mingw-w64-public@lists.sourceforge.net>\n"); exit (0); } -- 2.34.1 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public