discuss-gnustep
[Top][All Lists]
Advanced

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

Re: import


From: David Golden
Subject: Re: import
Date: Fri, 21 Dec 2001 19:02:54 +0000

> #import is deprecated - on technical grounds - by any gcc compiler hacker
> we had the chance of talking to, both GNU and Apple folks - they have
> strong views on that point and they keep the warning turned on in the
> compiler by default.
>

As a complete ObjC newbie -
*why* is it deprecated?   Does #import  work anything like the Java import, 
which automagically takes care of namespace merging and stuff that in C 
results in that stupid, annoying, kludgy system of #include+#ifdef XXX_YYY_H ?

If ObjC #import works like Java import, surely it's a massive and stupid  
step backwards to use #include +#ifdefs instead of #import ?

OTOH if it's just a synonym for #include, then fair enough...






reply via email to

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