[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #36650] -base tries to include <objc/blocks_runtime.h> with Apple r

From: Graham Lee
Subject: [bug #36650] -base tries to include <objc/blocks_runtime.h> with Apple runtime
Date: Wed, 13 Jun 2012 16:11:04 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8) AppleWebKit/536.15 (KHTML, like Gecko) Version/6.0 Safari/536.16


                 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



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)
-#    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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]