This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27067] Compile errors with multiple inheritance where the stdcall attribute is applied to virtual functions.
- From: "dannysmith at users dot sourceforge dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2007 20:34:55 -0000
- Subject: [Bug target/27067] Compile errors with multiple inheritance where the stdcall attribute is applied to virtual functions.
- References: <bug-27067-12491@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from dannysmith at users dot sourceforge dot net 2007-05-16 21:34 -------
(In reply to comment #13)
> Subject: Re: Compile errors with multiple inheritance where
> the stdcall attribute is applied to virtual functions.
>
> rridge at csclub dot uwaterloo dot ca wrote:
> > ------- Comment #11 from rridge at csclub dot uwaterloo dot ca 2007-05-08 12:25 -------
> > MSC includes the calling convention as part of its C++ name mangling. Would
> > this bug be easier to solve if the calling convention was also included as part
> > of the C++ name mangling in GCC, instead of done afterwards? If so, it might
> > be worth this small ABI breaking change in some future release of MinGW.
>
> I think that would be fine, from a C++ perspective.
>
Patch to this effect (without ABI breakage) at:
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01046.html
and a demangled version (ie, as an attachment) of above at
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01047.html
Danny
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067