From: Philippe Gerum <rpm@xenomai.org>
To: Ronny Meeus <ronny.meeus@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] xenomai-forge: Interface change of copperplate_init
Date: Fri, 08 Mar 2013 16:06:20 +0100 [thread overview]
Message-ID: <5139FE6C.7030407@xenomai.org> (raw)
In-Reply-To: <5139FDB3.5010207@xenomai.org>
On 03/08/2013 04:03 PM, Philippe Gerum wrote:
> On 03/08/2013 03:16 PM, Ronny Meeus wrote:
>> Hello
>>
>> I see that the interface of copperplate_init has been changed from:
>>
>> void copperplate_init(int argc, char *const argv[]);
>> to
>> void copperplate_init(int *argcp, char *const **argvp);
>>
>> This is disturbing if I have an application that needs to be run on
>> the 2 versions of xenomai.
>> Is there any construction (for example a define) I can use in my code
>> to call this function in a correct way?
>>
>
> Nope, and don't expect any. The -forge interface is still in a state of
> flux, albeit dust has settled a lot since it was all started. There
> won't be any effort toward backward compat until 3.x is officially out.
> No ETA.
>
>
If you happen to use autoconf, then you could run AC_TRY_COMPILE to
figure out which syntax is the right one, and define a config symbol you
could test in your code accordingly.
--
Philippe.
next prev parent reply other threads:[~2013-03-08 15:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 14:16 [Xenomai] xenomai-forge: Interface change of copperplate_init Ronny Meeus
2013-03-08 15:03 ` Philippe Gerum
2013-03-08 15:06 ` Philippe Gerum [this message]
2013-03-08 16:00 ` Ronny Meeus
[not found] ` <CAAXf6LVQG2RDwZZfxepJKFxeiLjJAW=Ua1z1PbWVDfOuV7tEAQ@mail.gmail.com>
2013-03-08 18:35 ` Philippe Gerum
[not found] ` <CAAXf6LUa8t37Vz+A6+0Kcq-MMzHWbBe_rx1EzjRrxHVC-O91bA@mail.gmail.com>
2013-03-22 18:16 ` Philippe Gerum
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=5139FE6C.7030407@xenomai.org \
--to=rpm@xenomai.org \
--cc=ronny.meeus@gmail.com \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.