From 58e8552da08e602753b42c727748c0117fb3f071 Mon Sep 17 00:00:00 2001 From: Rob Agar Date: Mon, 10 Dec 2018 20:48:09 +0000 Subject: [PATCH] Get rid of reproducible build warning by removing build date & time from flatc version (#5086) * disable reproducible build warning due to date/time macros * wrapped GCC pragmas in #ifdef _GNUC_ * removed __DATE__ and __TIME__ macros from flatc.cpp --- src/flatc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flatc.cpp b/src/flatc.cpp index c4ec80512..88ace63eb 100644 --- a/src/flatc.cpp +++ b/src/flatc.cpp @@ -18,7 +18,7 @@ #include -#define FLATC_VERSION "1.10.0 (" __DATE__ " " __TIME__ ")" +#define FLATC_VERSION "1.10.0" namespace flatbuffers {