bugGNUstep - Bugs: bug #36487, dev-libs/XCode can't be used under...

Group
 
 

bug #36487: dev-libs/XCode can't be used under apple-apple-apple

Submitter:  Graham Lee <leeg>
Submitted:  Thu 17 May 2012 04:37:42 PM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  gcasa
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 30 Oct 2020 12:11:30 PM UTC, comment #3: 

I have applied the provided patch and pushed, please reopen this if it remains an issue.  I haven't tested on macOS.

Gregory John Casamento <gcasa>
Group administrator
Mon 17 Feb 2014 02:01:16 PM UTC, comment #2: 

Fred, everything in dev-libs/xcode imports PBXCommon.h, as it contains the stuff common to everything in the library. Therefore including GNUstep.h there means a simple change to have the ASSIGN etc. macros available throughout the library.

Graham Lee <leeg>
Thu 26 Dec 2013 04:00:52 PM UTC, comment #1: 

I don't see how the solution you siggested would resolve the issue. Instead I think we need to include GNUstep.h in all the files where ASSIGN or one of the other GNUstep macros gets used.

Fred Kiefer <FredKiefer>
Group Member
Thu 17 May 2012 04:37:42 PM UTC, original submission:  

It doesn't include the GNUStepBase extensions header, so at runtime my program tries to link symbols like _ASSIGN (because they weren't expanded as macros). Here's a patch against current trunk/modules/dev-libs/XCode.


Index: PBXCommon.h
===================================================================
--- PBXCommon.h (revision 35156)
+++ PBXCommon.h (working copy)
@@ -0,0 +1 @@
+#include <GNUstepBase/GNUstep.h>
Index: PBXCoder.m
===================================================================
--- PBXCoder.m (revision 35156)
+++ PBXCoder.m (working copy)
@@ -1,5 +1,6 @@
 #import "PBXCoder.h"
 #import "PBXContainer.h"
+#import "PBXCommon.h"
 
 #import <stdlib.h>
 #import <unistd.h>

Graham Lee <leeg>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gcasa (Updated the item)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  • -email is unavailable- added by leeg (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-10-30 gcasa StatusNone Fixed
        Open/ClosedOpen Closed
    2020-07-03 gcasa Assigned toNone gcasa

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code