From: "Reuben Bond" <reuben.bond@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Fwd: MinGW/GCC __thiscall compatibility with MSVC++
Date: Tue, 11 Dec 2007 12:42:00 -0000 [thread overview]
Message-ID: <3565b8d90712110442h20669c4ewb7b085344090aa15@mail.gmail.com> (raw)
In-Reply-To: <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
parent reply other threads:[~2007-12-11 12:42 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <3565b8d90712110441x41d37ad2nfad9c9506b109c3e@mail.gmail.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3565b8d90712110442h20669c4ewb7b085344090aa15@mail.gmail.com \
--to=reuben.bond@gmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).