Internal compiler error in `rest_of_compilation', at toplev.c :441 5

gschmidt@pinball-wizard.mit.edu gschmidt@pinball-wizard.mit.edu
Fri Dec 17 09:56:00 GMT 1999


> 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



More information about the Cygwin mailing list