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: tromey at redhat dot com, gcc-patches at gcc dot gnu dot org, jason at redhat dot com
- Subject: Re: #pragma interface (was Re: ia64 c++ abi exception handling)
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 16 Mar 2001 09:49:41 -0800
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