This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

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


> 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


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