FSF GCC, #import and #pragma once

Mike Stump mrs@apple.com
Mon Jul 21 21:19:00 GMT 2003


On Monday, July 21, 2003, at 02:04 AM, Nicola Pero wrote:
> FYI, after Zack announced #import would be dropped from future 
> releases of
> GCC

Has Zack succeeded in changing the language definition to not include 
#import?  I suspect not.  Is there still a significant majority still 
using #import?  I suspect so.  This makes as much sense as removing the 
preprocessor from C++.  Sounds like a nice idea, but, in reality, isn't 
such a good idea.

> I turned on the GCC warnings against #import on gnustep-make on March
> 4th, so in the last nearly 6 months every GNUstep user/developer has 
> been
> verbosely warned whenever he was using #import.

And what % of Objective-C users does the above represent? 90%, 99%?  I 
suspect not.

I think #import removal has to be OKed by Stan and Zem before it is 
done.  And, I suspect they'd say, no.  So, I don't see any point in 
pretending that it can happen or would be OKed.



More information about the Gcc mailing list