Re: [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-17 Thread Daniele Nicolodi
Gilles Chanteperdrix wrote: Daniele Nicolodi wrote: Daniele Nicolodi wrote: 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. It looks like using -std=gnu99 causes somehow the compilation to fail at

[Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-06 Thread Daniele Nicolodi
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. This simple program demonstrates the problem: #include pthread.h int main(int argc, char **argv) { return 0; } If I

Re: [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-06 Thread Gilles Chanteperdrix
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. This simple program demonstrates the problem: #include pthread.h int main(int argc, char

Re: [Xenomai-help] xenomai/asm/xenomai/syscall.h is not c99 aware

2010-03-06 Thread Daniele Nicolodi
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