bugGNUstep - Bugs: bug #35583, GS_ATTRIB_PRIVATE definition...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #35583: GS_ATTRIB_PRIVATE definition missing led to failure building base

Submitted by:  Graham Lee <leeg>
Submitted on:  Tue 21 Feb 2012 11:23:46 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Thu 01 Mar 2012 07:39:51 PM UTC, comment #1:

Thanks very much .. I applied that fix.

Richard Frith-Macdonald <CaS>
Project Member
Tue 21 Feb 2012 11:23:46 AM UTC, original submission:

Having applied the patch at #35557 to configure GNUstep base extensions with the apple-apple-apple library combo, I then found that I couldn't build the library using svn trunk at r34801. The error was this:

#...
In file included from NSFileHandle+GNUstepBase.m:31:
.././GSNetwork.h: In function ‘GSPrivateSockaddrHost’:
.././GSNetwork.h:102: error: expected declaration specifiers before ‘GS_ATTRIB_PRIVATE’
#...

The patch below addresses this build error. I'm not sure that I #include this file in the correct place in the header for the style guide; please advise if I should correct that.

Index: Source/GSNetwork.h
===================================================================
--- Source/GSNetwork.h (revision 34801)
+++ Source/GSNetwork.h (working copy)
@@ -98,6 +98,8 @@
# endif
#endif

+#import "GSPrivate.h"
+
NSString*
GSPrivateSockaddrHost(struct sockaddr *addr) GS_ATTRIB_PRIVATE;

Graham Lee <leeg>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by leeg (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 01 Mar 2012 07:39:51 PM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1