Virtual inheritance & dllimport in GCC 4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Virtual inheritance & dllimport in GCC 4

John E. / TDM

On the off chance that you're A) reading this message, B) a GCC on
Windows hacker, and C) not aware of GCC PR#36654, I'd like to draw your
attention to it. This is an interesting problem that arises in builds of
recent GCC versions for Windows (i.e. Cygwin and MinGW).

Basically, this bug is an ICE that prevents using an inline constructor
or destructor in a class which is declared dllimport and which has
virtual inheritance anywhere in its ancestry. This is something that
works in previous versions of GCC, and I see it as a regression.

You can view the GCC PR at
<>. This bug was first
brought to my attention by bug #2003723 in the TDM-GCC bug tracker

I'm posting this attention getter to the MinGW Users and Cygwin mailing
lists in hopes of attracting some new blood, as there has not been any
progress made on it since the initial bug report on June 27th. I expect
the fix will be a one-liner!

Thanks in advance,
John E.

This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at: