From f4edb8f820a85d5c6d786cf2aea75836cf4bb884 Mon Sep 17 00:00:00 2001 From: Shahbaz Youssefi Date: Tue, 25 Jun 2019 12:09:55 -0400 Subject: [PATCH] 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. --- StandAlone/spirv-remap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StandAlone/spirv-remap.cpp b/StandAlone/spirv-remap.cpp index 998f7428..5e2ed0ae 100644 --- a/StandAlone/spirv-remap.cpp +++ b/StandAlone/spirv-remap.cpp @@ -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