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
Hi!

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
<http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36654>. This bug was first
brought to my attention by bug #2003723 in the TDM-GCC bug tracker
(<http://sourceforge.net/tracker2/?func=detail&aid=2003723&group_id=200665&atid=974439>).

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
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users