--- a/libs/type_safe/external/debug_assert/debug_assert.hpp 2019-09-01 18:30:08.678602564 +1000 +++ b/libs/type_safe/external/debug_assert/debug_assert.hpp 2018-11-26 02:45:47.000000000 +1100 @@ -53,11 +53,7 @@ #ifndef DEBUG_ASSERT_PURE_FUNCTION #ifdef __GNUC__ -#if (__GNUC__ > 8) -#define DEBUG_ASSERT_PURE_FUNCTION [[gnu::pure]] -#else #define DEBUG_ASSERT_PURE_FUNCTION __attribute__((pure)) -#endif #else /// Hint to the compiler that a function is pure. #define DEBUG_ASSERT_PURE_FUNCTION