diff --git a/Headers/GNUstepBase/GSVersionMacros.h b/Headers/GNUstepBase/GSVersionMacros.h index 66ec5c796..16d37e031 100644 --- a/Headers/GNUstepBase/GSVersionMacros.h +++ b/Headers/GNUstepBase/GSVersionMacros.h @@ -268,7 +268,7 @@ # endif #endif -#ifdef __clang__ +#if defined(__clang__) && defined(__OBJC__) static inline void gs_consumed(id NS_CONSUMED o) __attribute__ ((unused)); static inline void gs_consumed(id NS_CONSUMED o) { return; } #define GS_CONSUMED(O) gs_consumed(O);