[Bug c++/4507] __attribute__((stdcall)) is ignored on methods defined inside the class declaration
boaz at hishome dot net
gcc-bugzilla@gcc.gnu.org
Tue Aug 12 13:15:00 GMT 2003
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)
More information about the Gcc-bugs
mailing list