gnustep-dev
[Top][All Lists]
Advanced

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

Re: Cocoa compatability header file


From: Fred Kiefer
Subject: Re: Cocoa compatability header file
Date: Tue, 20 Apr 2004 11:56:07 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.2) Gecko/20040220

Kazunobu Kuriyama wrote:
Fred Kiefer wrote:

I would like to add a new header file to the GNUstep GUI module, which would be placed in a subdirectory Cocoa and would help with porting stuff from Apple to GNUstep. In this file we could put all the extensions we don't want to see in the GNUstep headers. My current working copy of this file is attached. I don't see any problem for the rest of GNUstep here, but as some GNustepers are rather Cocoa sceptic I would like to give these a chance to oppose this addition.

The general idea looks ok. But are you sure the proposed header can live with C99 and (reportedly coming) ObjC++? I mean, the typedef and the following define's
seem to be problematic.


No, I am not sure. If you have any suggestions on how to make this header file safer against upcoming compiler changes these are very welcome. But I am rather sure that Apple must use similar definitions, this is why Cocoa code wont compile with GNUstep in the moment. And personally I would always recomment not to include this header into your own code. It is just there for the porting from Cocoa!






reply via email to

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