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)


>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:

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

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

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

libjava uses these #pragmas.  gcjh (the program that generates C++
header files from Java .class files) generates them, too.

Are these uses incorrect?  Can I simply delete them?  I believe we
originally added them for a real reason (link problems), but I haven't
tested removing them in a long time (more than a year for certain).

Tom


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