This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Fwd: MinGW/GCC __thiscall compatibility with MSVC++
- From: "Reuben Bond" <reuben dot bond at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 11 Dec 2007 23:42:22 +1100
- Subject: Fwd: MinGW/GCC __thiscall compatibility with MSVC++
- References: <3565b8d90712110441x41d37ad2nfad9c9506b109c3e@mail.gmail.com>
Hey, I've a quick question about calling conventions and binary
compatability with MSVCC (based on the context, there's probably only
one question to ask).
How do I get GCC to pass 'this' in %ECX and to not pass it as the
first argument?
Surely there's a #pragma or a way to explicitly specify to use the
MSVC implementation of the calling convention, right?
I'm using MinGW/GCC on Windows.
Anyhow, thanks for any help or suggestions that I receive, I really
don't want to move over to MSVC to maintain compatibility.
Thank you!
--
ViceVirtue