All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniele Nicolodi <daniele@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware
Date: Sat, 06 Mar 2010 12:40:06 +0100	[thread overview]
Message-ID: <4B923F16.7010105@domain.hid> (raw)
In-Reply-To: <4B923AC8.3070109@domain.hid>

Gilles Chanteperdrix wrote:
> Daniele Nicolodi wrote:
>> Hello. I'm compiling my programs with the -std=c99 switch. However the
>> inclusion of pthread.h from xenomai distribution causes the compilation
>> to fail with syntax errors.

> What version of Xenomai, what platforms? Chances are that Xenomai
> headers contain inline assembly code and things like that which are
> definitely not ansi, and we even use GNU extensions. I am afraid you
> will have to compile with -std=gnu99.

Sorry. Forgot to include those informations. Xenomai version 2.5.1 on a
debian unstable x86 box with gcc 4.4.3.

> It probably can be made to work. But... do you realy need -std=c99 ?

I didn't know about -std=gnu99. I can certainly use this extension.

Thanks. Cheers,
-- 
Daniele



  reply	other threads:[~2010-03-06 11:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-06 11:05 [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware Daniele Nicolodi
2010-03-06 11:21 ` Gilles Chanteperdrix
2010-03-06 11:40   ` Daniele Nicolodi [this message]
     [not found]     ` <4B9531A3.9040308@domain.hid>
     [not found]       ` <4B9BC623.6020304@domain.hid>
2010-03-17  9:44         ` Daniele Nicolodi

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=4B923F16.7010105@domain.hid \
    --to=daniele@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.