This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Internal compiler error in `rest_of_compilation', at toplev.c :441 5
- To: Joost Kraaijeveld <JKraaijeveld at Askesis dot nl>
- Subject: Re: Internal compiler error in `rest_of_compilation', at toplev.c :441 5
- From: gschmidt at pinball-wizard dot mit dot edu
- Date: Fri, 17 Dec 1999 12:55:46 EST
- cc: cygwin at sourceware dot cygnus dot com
> I narrowed it down a bit. It seems that compiling an executable with
> __declspec (dllimport) defines for a class is not allowed. See the Bug
> and NoBug version that are attached
dllimport'd virtual function members aren't correctly handled
currently -- the compiler chokes when it tries to generate the vtable.
That's not a disaster, because unlike data, functions don't have to be
declared dllimport for them to be correctly imported.
I posted a workaround patch for this to the list earlier, and some
others with more gcc internals clue than myself are working on a
cleaner and more efficient solution.
geoff schmidt
gschmidt@mit.edu
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com