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

Benjamin Kosnik bkoz@redhat.com
Fri Mar 16 09:49:00 GMT 2001


Hey Tom. 

> 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).

These pragmas are still supported, so your code is fine.

You can delete them and re-arrange your code so that header files
don't contain virtual member function definitions (these should be in
.cc files anyway). That should eliminate the link errors without using
the pragmas. An example of this is here:

http://gcc.gnu.org/ml/gcc-patches/2001-03/msg00873.html

If you need help just let me know and we can take this conversation off-line.

Or you can do nothing.

-benjamin



More information about the Gcc-patches mailing list