Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 686228
Collapse All | Expand All

(-)a/libs/type_safe/external/debug_assert/debug_assert.hpp (-4 lines)
Lines 53-63 Link Here
53
53
54
#ifndef DEBUG_ASSERT_PURE_FUNCTION
54
#ifndef DEBUG_ASSERT_PURE_FUNCTION
55
#ifdef __GNUC__
55
#ifdef __GNUC__
56
#if (__GNUC__ > 8)
57
#define DEBUG_ASSERT_PURE_FUNCTION [[gnu::pure]]
58
#else
59
#define DEBUG_ASSERT_PURE_FUNCTION __attribute__((pure))
56
#define DEBUG_ASSERT_PURE_FUNCTION __attribute__((pure))
60
#endif
61
#else
57
#else
62
/// Hint to the compiler that a function is pure.
58
/// Hint to the compiler that a function is pure.
63
#define DEBUG_ASSERT_PURE_FUNCTION
59
#define DEBUG_ASSERT_PURE_FUNCTION

Return to bug 686228