Some compiler vendors provide a special keyword @bool to specify that a function returns a boolean value:
@bool int foo(void);
Because this special keyword is not supported, remove @bool or use a define such as this:
#define _BOOL /*@bool*/
_BOOL int foo(void);