Internal compiler error in `rest_of_compilation', at toplev.c :441 5
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

Want to unsubscribe from this list?
Send a message to

More information about the Cygwin mailing list