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

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

 



Hello:

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.

 May I patch gcc source to do?

			  Thanks


[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