discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Porting autogsdoc to OSX


From: Marcus Müller
Subject: Re: Porting autogsdoc to OSX
Date: Tue, 26 Feb 2002 13:02:00 +0100

On Tuesday, February 26, 2002, at 12:07 PM, Nicola Pero wrote:


The last thing, which is somewhat odd, is that every #imports in
GNUstep* are written as #includes. I think that this was done merely
because nobody wants an #import statement (which is compiler specific)
when the same can be achieved with an #include and additional checks in
the included file preventing duplicate includes, right? While this might
be feasible from a theoretical standpoint (personally, I don't know
whether this is the case) it's pretty contra-productive in real life. OS X's headers don't have such constructs and hence don't prevent duplicate
includes - which caused the compiles to fail several times.

GNUstep uses #include because usage of #import is strongly deprecated by
the same authors of GCC (Apple engineers included)

Thanks for clarifying that point. However, it leaves us in an awkward position: What's the best idea to cope with this discrepancy (theory vs. reality) now and in the future?

Just to make my point straight: at present, the headers shipped with Apple's Foundation do not reflect the point of view of their gcc engineers.

Cheers,

  Marcus

--
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com




reply via email to

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