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
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
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
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