<div dir="ltr">Hi,<div><br></div><div>we're trying to make our build more deterministic. Several third-party libraries we depend on use __DATE__ and __TIME__, which makes that part of the build nondeterministic. So we'd like to force both of them to a fixed value via some flag.</div><div><br></div><div>-D__DATE__= -D__TIME__= kind of works, but it triggers Wbuiltin-macro-redefined warnings (and it also causes a crash when using them with pchs). Is using -D flags the right approach for this? It seems a bit hacky. Would there be interest in adding a (say) -ffixed-date-time=1997-07-16T19:20+01:00 flag that sets the initial value of __DATE__ and __TIME__ so that we don't have to redefine them?</div><div><br></div><div>Nico</div></div>