This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]