This is the mail archive of the gcc@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: Workaround for virtual function/dllimport bug, also patch guidance request


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


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