Gilles Chanteperdrix wrote:
> Hi Jan,
> when compiling xenomai v2.4.x for ARM with gcc 4.2.1, I get plenty of
> warnings like:
> xenomai-arm/kernel/xenomai/skins/posix/syscall.c:38:
> xenomai-arm/include/xenomai/rtdm/rtdm_driver.h:206: warning: parameter has 
> incomplete type
> So it seems gcc 4.2.1 does not like the enum being used in function
> prototypes without being defines. So, could we move the enum definition
> before the functions using it ?

We can sort this out with a simple forward declaration.


Xenomai-core mailing list

Reply via email to