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)



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


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