From: Frederik Bayart <frederik_bayart@yahoo.co.uk>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: [Xenomai] include guard trank/posix/pthread.h
Date: Fri, 19 Jun 2015 13:02:22 +0000 (UTC) [thread overview]
Message-ID: <1840957946.1843713.1434718942501.JavaMail.yahoo@mail.yahoo.com> (raw)
Hallo,
I noticed that both /usr/xenomai/include/trank/trank.h and /usr/xenomai/include/trank/posix/pthread.h share the same include guard (_XENOMAI_TRANK_TRANK_H).Can this be an error ? I use compile flags 'xeno-config --skin=native --cflags' and get compile errors. If I change the include guard of pthread.h to _XENOMAI_TRANK_POSIX_PTHREAD_H, the problem seems to be solved.In attachment a diff with my changes.
Frederik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pthread.h.patch
Type: text/x-diff
Size: 509 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20150619/2af7c747/attachment.patch>
next reply other threads:[~2015-06-19 13:02 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 13:02 Frederik Bayart [this message]
2015-06-19 13:07 ` [Xenomai] include guard trank/posix/pthread.h Philippe Gerum
-- strict thread matches above, loose matches on Subject: below --
2015-06-22 9:54 Frederik Bayart
2015-06-22 10:26 ` Philippe Gerum
2015-06-22 12:48 ` Philippe Gerum
2015-06-22 13:41 ` Frederik Bayart
2015-06-22 14:37 ` Frederik Bayart
2015-06-22 14:49 ` Philippe Gerum
2015-06-22 15:20 ` Frederik Bayart
2015-06-22 14:39 ` Philippe Gerum
2015-06-22 15:48 ` Frederik Bayart
2015-06-22 17:53 ` 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=1840957946.1843713.1434718942501.JavaMail.yahoo@mail.yahoo.com \
--to=frederik_bayart@yahoo.co.uk \
--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.