Wrong compile date
When compiling PeTrack the information of the compile date will be saved in compilerInforation.h
in COMPILE_TIMESTAMP
. But as we use __TIMESTAMP__
only the modification date of that particular file will be displayed (see https://stackoverflow.com/a/25813/9601068).
This can lead to misinformation, as the compile date lies behind the commit date:
Commit date: Mon Jul 5 13:49:35 2021
Build from branch: 52-about-names
Compile date: Fri Jun 18 16:50:50 2021
Build with: g++ (11.1.0)
Possible solution:
const std::string COMPILE_TIMESTAMP = __DATE__ ", " __TIME__;
which leads to:
Compile date: Jul 5 2021, 14:03:13