This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Workaround for virtual function/dllimport bug, also patch guidance request
- To: geoff schmidt <gschmidt at MIT dot EDU>
- Subject: Re: Workaround for virtual function/dllimport bug, also patch guidance request
- From: Mumit Khan <khan at nanotech dot wisc dot edu>
- Date: Sat, 27 Nov 1999 00:08:08 -0600
- cc: gcc at gcc dot gnu dot org
Geoff,
I forgot the following that should fixe the `_=' symbol name in vtables
of imported classes (which shouldn't be emitted in the first place):
Fri Nov 26 20:15:07 1999 Mumit Khan <khan@xraylith.wisc.edu>
* decl2.c (import_export_class): Don't emit vtables for imported
classes.
Index: gcc/cp/decl2.c
===================================================================
RCS file: /homes/khan/src/CVSROOT/gcc-2.95.2/gcc/cp/decl2.c,v
retrieving revision 1.2
diff -u -3 -p -r1.2 decl2.c
--- gcc/cp/decl2.c 1999/11/05 06:15:59 1.2
+++ gcc/cp/decl2.c 1999/11/27 02:14:51
@@ -2622,11 +2622,6 @@ import_export_class (ctype)
}
}
-#ifdef MULTIPLE_SYMBOL_SPACES
- if (import_export == -1)
- import_export = 0;
-#endif
-
if (import_export)
{
SET_CLASSTYPE_INTERFACE_KNOWN (ctype);
Regards,
Mumit