From: Martin L. <le...@di...> - 2005-03-10 16:40:05
|
Hi All. I'm trying to compile some code generated by nescc (for TinyOS) using sdcc. This code uses the keywords "static inline", and that seems to fail for sdcc. I can't seem to find anything on the web relating to whether this is intentional (maybe not ansi-C?), unsupported or simply a bug.. Anyway.. Trying to the error that I get is the following: leopold@malthe$ sdcc app.filter.c app.filter.c:37: syntax error: token -> 'unt8_t' ; column 20 And the corresponding code: ... 2 typedef unsigned char uint8_t; ... 36 }; 37 static inline unt8_t rcombine(uint8_t r1, uint8_t r2); 38 ... Any clues or do I just need to live without static inline? -- Regards Martin Leopold. Dept. of Computer Science, University of Copenhagen |