#pragma interface and #pragma implementation

Matt Austern austern@apple.com
Wed Jun 2 04:49:00 GMT 2004


On Jun 1, 2004, at 5:10 PM, Joe Buck wrote:

> On Tue, Jun 01, 2004 at 03:42:42PM -0400, Steven T. Hatton wrote:
>
>> I've been experimenting with the #pragma directives ...
>
> I would advise against the use of #pragma interface and #pragma
> implementation.  They are perhaps not quite obsolete, but they are
> little-used today.

Is there a good reason for us not to just declare them obsolete and
remove them?  I hate having to maintain little-used features that do
nothing but duplicate functionality we already have a better
mechanism for.  It's confusing, ugly, and inefficient.

(And no, #pragma interface/implementation aren't the only thing
I"m thinking of.  Like the Lord High Executioner, I've got a little 
list.)

			--Matt




More information about the Gcc mailing list