URL:
<http://savannah.gnu.org/bugs/?36650>
Summary: -base tries to include <objc/blocks_runtime.h> with
Apple runtime
Project: GNUstep
Submitted by: leeg
Submitted on: Wed 13 Jun 2012 04:11:03 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
There is no file <objc/blocks_runtime.h> in the Apple runtime. This problem
can be fixed with the following patch:
$ svn diff
Index: core/base/Headers/GNUstepBase/GSVersionMacros.h
===================================================================
--- core/base/Headers/GNUstepBase/GSVersionMacros.h (revision 35202)
+++ core/base/Headers/GNUstepBase/GSVersionMacros.h (working copy)
@@ -284,7 +284,9 @@
*/
#if __has_feature(blocks)
# if OBJC2RUNTIME
-# include <objc/blocks_runtime.h>
+# ifndef __APPLE__
+# include <objc/blocks_runtime.h>
+# endif
# else
# include <ObjectiveC2/blocks_runtime.h>
# endif
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?36650>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep