discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GWorkspace porting troubles


From: LHelldorf
Subject: Re: GWorkspace porting troubles
Date: Mon, 29 Oct 2001 23:57:48 +0100

>LHelldorf@kabel.de wrote:
>
>> 
>> GWorkspace.m: In function `+[GWorkspace gworkspace]':
>> GWorkspace.m:92: `gnustep_global_lock' undeclared (first use in this 
>> function)
>> GWorkspace.m:92: (Each undeclared identifier is reported only once
>> 
>> gnustep_global_lock is defined in NSObject.h (line 178: GS_EXPORT 
>> NSRecursiveLock *gnustep_global_lock;) and initialized in NSObject.m 
(line 
>> 603: gnustep_global_lock = [[NSRecursiveLock alloc] init];). Then 
>> GS_EXPORT also doesn't exist in Cocoa.
>> How do I come out of this situation? How do I "bolt" those GNUstep 
>> extensions onto Cocoa's NSObject?
>> 
>
>
>Um, personnally I don't think GWorkspace should be using 
>gnustep_global_lock. It's really something that should be exclusive to 
>the gnustep libraries. As they say, get your own d*mn lock :-)

Something that I should possibly tell Enrico Sersale, the maintainer of 
GWorkspace. Anyway, I didn't have any response from him concerning my 
porting effort. Does somebody know if he is on discuss-gnustep@gnu.org or 
should I mail him directly?

>
>Anyway, an app that wants to be cross-platform shouldn't use anything 
>within the #ifndef NO_GNUSTEP/#endif sections.

Yes, this would be the right way if you start to design a new app. But 
what, if that app already exists and makes extensive use of the GNUstep 
extensions? Wouldn't it be good to have something that makes porting 
easier?

Greetings, Lars




reply via email to

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