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

yansheng si siyansheng@gmail.com
Thu Feb 17 09:05:00 GMT 2011


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



More information about the Gcc-help mailing list