This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/4507] __attribute__((stdcall)) is ignored on methods defined inside the class declaration
- From: "boaz at hishome dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Aug 2003 13:15:12 -0000
- Subject: [Bug c++/4507] __attribute__((stdcall)) is ignored on methods defined inside the class declaration
- References: <20011008122601.4507.malte.starostik@t-online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4507
------- Additional Comments From boaz at hishome dot net 2003-08-12 13:15 -------
Subject: Re: __attribute__((stdcall)) is ignored on methods
defined inside the class declaration
pinskia at gcc dot gnu dot org wrote:
>PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4507
>
>
>pinskia at gcc dot gnu dot org changed:
>
> What |Removed |Added
>----------------------------------------------------------------------------
> CC| |boaz at hishome dot net
>
>
>------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-12 12:53 -------
>*** Bug 11893 has been marked as a duplicate of this bug. ***
>
>
>
>------- You are receiving this mail because: -------
>You are on the CC list for the bug, or are watching someone who is.
>
>
>
>
Not true. It is not at all the same bug and this one has no work around.
!!!!
I have seen bug #4507. As you can see this bug exposes a situation where
an __stdcall__ implementation is called by a none __stdcall__ pointer
hence causing a SEGFAULT. the Error is not in the code generation of the
__stdcall member function, that one is implemented correctly. The bug is
in not able to define an __stdcall pointer to a function-member and in
allowing an assignment of __stdcall __ function to a none __stdcall__
pointer. Please return the bug. Note that it is marked "critical" since
it breaks (with no way to work a round it) use of COM technology on
Linux. (Wine project)