From: Sasha Khapyorsky <sashak@voltaire.com>
To: "Smith, Stan" <stan.smith@intel.com>
Cc: "ofw@lists.openfabrics.org" <ofw@lists.openfabrics.org>,
'linux-rdma' <linux-rdma@vger.kernel.org>
Subject: Re: [PATCH] osmtest - Add OSM_CDECL to main() declaration
Date: Tue, 13 Oct 2009 00:18:11 +0200 [thread overview]
Message-ID: <20091012221811.GO13830@me> (raw)
In-Reply-To: <3F6F638B8D880340AB536D29CD4C1E1912C896BB9E@orsmsx501.amr.corp.intel.com>
On 14:58 Mon 12 Oct , Smith, Stan wrote:
> >
> >> {
> >> static osmtest_t osm_test;
> >> osmtest_opt_t opt = { 0 };
>
> Sean maintains a separate set of patches applied to IB diags in order to address issues like the x86 requirement for __cdecl on main().
> Since OSM_CDECL was already defined in OFED opensm, it did not seem to be a major concession to prefix main() with it.
> Options:
> 1) utilize OSM_CDECL
> 2) throw an ugly ifdef __WIN__ or ifdef __linux__ around main()
> 3) Create more Windows-only patches required for the Windows implementation of OFED opensm & tools.
Any options for windows compiler about call conventions?
Sasha
next prev parent reply other threads:[~2009-10-12 22:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 17:10 [PATCH] osmtest - Add OSM_CDECL to main() declaration Stan C. Smith
2009-10-12 21:43 ` Sasha Khapyorsky
2009-10-12 21:58 ` Smith, Stan
2009-10-12 22:18 ` Sasha Khapyorsky [this message]
2009-10-12 22:28 ` Smith, Stan
2009-10-15 4:57 ` Sean Hefty
2009-10-15 19:41 ` Smith, Stan
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=20091012221811.GO13830@me \
--to=sashak@voltaire.com \
--cc=linux-rdma@vger.kernel.org \
--cc=ofw@lists.openfabrics.org \
--cc=stan.smith@intel.com \
/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