Patch nlohmann/json for GCC 4.8

See https://github.com/nlohmann/json/pull/212 for details
This commit is contained in:
Chris Harris 2018-09-20 11:19:33 -04:00 committed by Henry Fredrick Schreiner
parent e184b6ecf2
commit 99b7c7c8ef
3 changed files with 44 additions and 32 deletions

View file

@ -10,7 +10,7 @@
#error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
#endif
#elif defined(__GNUC__) && !(defined(__ICC) || defined(__INTEL_COMPILER))
#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40900
#if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40800
#error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
#endif
#endif