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: Mumit Khan <khan at nanotech dot wisc dot edu>
- Subject: Re: Workaround for virtual function/dllimport bug, also patch guidance request
- From: Jason Merrill <jason at cygnus dot com>
- Date: 13 Dec 1999 20:26:55 -0800
- Cc: geoff schmidt <gschmidt at MIT dot EDU>, gcc at gcc dot gnu dot org, jason at cygnus dot com
- References: <199912120222.UAA27602@mercury.xraylith.wisc.edu>
Do you think it's better to handle dll*port this way rather than the way MS
does? We've been trying to use the same rules for both dll*port and
intra-shared object heuristics, which doesn't really make sense.
WRT virtuals, you need to wait to check DECL_VINDEX until the class is
complete. But it looks like that could be fixed; it would just be a matter
of running check_for_override earlier, perhaps in grokclassfn.
Jason