#pragma interface (was Re: ia64 c++ abi exception handling)

Jason Merrill jason@redhat.com
Thu Mar 15 16:27:00 GMT 2001


>>>>> "Benjamin" == Benjamin Kosnik <bkoz@redhat.com> writes:

> I think it should be clearly marked as deprecated, especially if the
> only reason it's around it to carry legacy code from a single client
> for a chip that's officially dead. (gak: i960)

I'd be surprised if that's the only legacy code that still uses it.  There
was a lot of code that relied on these pragmas several years back; I doubt
it's all been rewritten.

Hey, I'm not a big fan of these #pragmas either, but I'm bothered by the
"all extensions are evil, who cares about the users" attitude as well.

I am, however, in favor of improving the documentation so it doesn't seem
like we're suggesting that people use them in new code.

> ...especially if it's getting in the way of clear linkage
> implementations, or (my pet peeve) a pre-compiled header solution.

Except it isn't.

Jason



More information about the Gcc-patches mailing list