Re: How to use "thiscall" in g++, compatible with MS C++?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



yansheng si <siyansheng@xxxxxxxxx> writes:
> In GNU/G++, How to build a member function by following call rules, as
> MS C++ "thiscall":
>  Arguments are pushed on the stack in reverse order.
>  The object pointer is passed in ECX.
>  The callee pops arguments when returning.

The upcoming gcc release, 4.6, seems to have support for "__thiscall":

http://gcc.gnu.org/gcc-4.6/changes.html

-miles

-- 
"... The revolution will be no re-run brothers; The revolution will be live."


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux