[Bug target/27067] Compile errors with multiple inheritance where the stdcall attribute is applied to virtual functions.
dannysmith at users dot sourceforge dot net
gcc-bugzilla@gcc.gnu.org
Wed May 16 20:35:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list