From: SourceForge.net <no...@so...> - 2003-01-04 17:14:24
|
Bugs item #646004, was opened at 2002-11-30 06:31 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=646004&group_id=2435 Category: gcc >Group: component package Status: Open Resolution: None Priority: 5 Submitted By: Krzysztof Foltman (kfoltman) Assigned to: Danny Smith (dannysmith) Summary: __thiscall not supported Initial Comment: __thiscall calling convention (used, for example, in Buzz machine interface) is not implemented. This calling convention is used automatically by VC++ for method calls when __fastcall is used as standard calling convention. The difference between __thiscall and __fastcall is that __fastcall passes two arguments in registers (ECX and EDX, IIRC) while __thiscall passes only 'this' pointer in ECX, and the rest is pushed on the stack. The lack of __thiscall can be worked around by using __thiscall and adding a dummy 'int' argument in front of other arguments (which would reserve EDX so that the next arguments are pushed on stack) - but it would be nicer to have this built in. ---------------------------------------------------------------------- >Comment By: Earnie Boyd (earnie) Date: 2003-01-04 12:15 Message: Logged In: YES user_id=15438 Danny, do you have a comment for this? Earnie. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=646004&group_id=2435 |