2362010a48
Avoid using, or even mentioning in the comments, __DATE__ and __TIME__ macros as doing this prevents ccache from caching the compilation results by default (i.e. unless CCACHE_SLOPPINESS=time_macros is used). As ccache simply scans for the given literal strings, using "##" token pasting operator is enough to disable this pessimization. Of course, this does mean that using ccache with the code actually using __TDATE__ or __TTIME__ is not going to work correctly, but there should be no reason to do it any longer and these macros are not even documented, so also mention that they shouldn't be used. Finally do add __DATE__ to the only place in our own code where these macros are used to ensure that it is not cached incorrectly. Closes #22156. |
||
---|---|---|
.. | ||
msvc/wx | ||
wx |