Remove __DATE__ and __TIME__ usage

These macros result in a non-deterministic build.  In chromium, these
macros are specifically set to empty, resulting in a compile error.
This commit is contained in:
Shahbaz Youssefi 2019-06-25 12:09:55 -04:00 committed by Shahbaz Youssefi
parent 4e6b9ea329
commit f4edb8f820

View File

@ -227,7 +227,7 @@ namespace {
}
}
else if (arg == "--version" || arg == "-V") {
std::cout << basename(argv[0]) << " version 0.97 " << __DATE__ << " " << __TIME__ << std::endl;
std::cout << basename(argv[0]) << " version 0.97" << std::endl;
exit(0);
} else if (arg == "--input" || arg == "-i") {
// Collect input files