From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Victor Hiairrassary <victor.hiairrassary.ml@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] xenomai "does not" ISO C, C99 and C++ standard
Date: Sun, 28 Apr 2013 01:22:59 +0200 [thread overview]
Message-ID: <517C5DD3.3060809@xenomai.org> (raw)
In-Reply-To: <5176410F.1060100@gmail.com>
On 04/23/2013 10:06 AM, Victor Hiairrassary wrote:
> Hello all,
>
> We use xenomai 2.6.2.1 with g++ 4.7.2 from buildroot on a Armadeus apf27
> board. This works really fine, but if we add "-W -Werror -Wall -pedantic
> -pedantic-errors" in compiler command line, g++ detects some warnings for
> a code as simple as :
>
> #include <native/task.h>
> int main() {
> return 0;
> }
>
> The complete log of the compilation is attached with this email.
>
> The compiler complains about various things, in differents files. I have
> not
> tested other xenomai's headers like native/queue.h, etc. yet.
>
> Do you have any plans to fix them?
Hi Victor,
I have tried and fix this issue in Xenomai repository
(git://xenomai.org/xenomai-2.6.git), the errors disappeared completely
for the native and posix skins headers in C. The modifications made to
the posix headers for C do not seem to work for C++. It would be
interesting if you could download and try it.
Without "-pedantic-errors", including posix headers in a C++ program
simply triggers warning.
Regards.
--
Gilles.
next prev parent reply other threads:[~2013-04-27 23:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-23 8:06 [Xenomai] xenomai "does not" ISO C, C99 and C++ standard Victor Hiairrassary
2013-04-23 8:21 ` Gilles Chanteperdrix
2013-04-23 19:09 ` Gilles Chanteperdrix
2013-04-27 23:22 ` Gilles Chanteperdrix [this message]
2013-04-28 14:12 ` Victor Hiairrassary
2013-04-28 13:11 ` Gilles Chanteperdrix
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=517C5DD3.3060809@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=victor.hiairrassary.ml@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.