This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35921] Con/de-structor definition fails to override dllimport declaration
- From: "tdragon at tdragon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 May 2008 22:13:55 -0000
- Subject: [Bug target/35921] Con/de-structor definition fails to override dllimport declaration
- References: <bug-35921-14702@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from tdragon at tdragon dot net 2008-05-29 22:13 -------
(In reply to comment #8)
> Uhh, if you declare a struct as dllimport, then you are declaring that it's
> vtable is defined in a dll. So why is this a bug?
Well, it's a change from mingw32/3.4.5's behavior. At any rate, after thinking
about it I agree that it isn't a bug.
Thanks,
John E.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35921