This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

static inline function error

Gentlemen,

I'm getting an error when I declare a function static inline. Could anyone give me a hand and try telling me why. the following function gives an error:

static inline int test(void)
{ return 0x10000;
}

warning: #260-D: explicit type is missing ("int" assumed)
error: #65: expected a ";"

if I remove 'inline' keyword it compiles without errors.

Thanks,
Gil

0