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)


Tom Tromey <tromey@redhat.com> writes:

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

Well, new code shouldn't use those #pragmas. I think, they can go away
relatively simply.  And any effort in that direction is awesome.

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


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