[DONE] Can not compile chprintf.c
Posted: Fri Jan 10, 2014 5:22 am
I am trying ChibiOS for a few day. I got the demo project compiled, but when I try to compile my project with chprintf.h included, the compiler reported some errors
My compiler is Keil MDK v4.73.
Can any body tell me how to solve thi problem please?
Thanks & Regards
Code: Select all
compiling chprintf.c...
..\..\..\os\various\chprintf.h(69): warning: #260-D: explicit type is missing ("int" assumed)
static inline void chprintf(BaseSequentialStream *chp, const char *fmt, ...) {
..\..\..\os\various\chprintf.h(69): error: #65: expected a ";"
static inline void chprintf(BaseSequentialStream *chp, const char *fmt, ...) {
..\..\..\os\various\memstreams.h(63): warning: #12-D: parsing restarts here after previous syntax error
};
..\..\..\os\various\chprintf.c: 2 warnings, 1 error
My compiler is Keil MDK v4.73.
Can any body tell me how to solve thi problem please?
Thanks & Regards