|
From: | Tim Kack |
Subject: | [bug #33708] __has_feature implemented by clang/llvm is not present with normal GCC |
Date: | Mon, 04 Jul 2011 12:47:56 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30 |
URL: <http://savannah.gnu.org/bugs/?33708> Summary: __has_feature implemented by clang/llvm is not present with normal GCC Project: GNUstep Submitted by: tkack Submitted on: Mon 04 Jul 2011 02:47:55 PM CEST Category: Base/Foundation Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Trying to compile GDL2 (r32793) exposes a problem with GNUstepBase/GNUstep.h (r27657): #if GS_WITH_GC || __has_feature(objc_arc) I assume this was implemented for CLang compatibility, but there needs to be a replacement macro be a preceding the test if llvm/clang is not used: #ifndef __has_feature #define __has_feature(x) 0 #endif _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?33708> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |