This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: #pragma interface (was Re: ia64 c++ abi exception handling)
- To: Benjamin Kosnik <bkoz at redhat dot com>
- Subject: Re: #pragma interface (was Re: ia64 c++ abi exception handling)
- From: Jason Merrill <jason at redhat dot com>
- Date: 16 Mar 2001 00:25:53 +0000
- Cc: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com
- References: <200103152043.f2FKhfq12024@fillmore.constant.com>
>>>>> "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