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
This commit is contained in:
Rob Agar 2018-12-10 20:48:09 +00:00 committed by Wouter van Oortmerssen
parent d56a4055da
commit 58e8552da0
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
#include <list>
#define FLATC_VERSION "1.10.0 (" __DATE__ " " __TIME__ ")"
#define FLATC_VERSION "1.10.0"
namespace flatbuffers {