新手上路
- 积分
- 41
- 金钱
- 41
- 注册时间
- 2020-6-4
- 在线时间
- 7 小时
|
1金钱
今天换了Keil版本,编译一大堆错误啊。帮忙指点指点
..\..\USER\Bsp\mpu6050\mllite\results_holder.c: 6 warnings, 30 errors
compiling mpl.c...
..\..\USER\Bsp\mpu6050\driver\include\log.h(340): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\..\USER\Bsp\mpu6050\driver\include\log.h(340): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\..\USER\Bsp\mpu6050\mllite\mpl.h(16): warning: #12-D: parsing restarts here after previous syntax error
inv_error_t inv_init_mpl(void);
..\..\USER\Bsp\mpu6050\mllite\mpl.c(34): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_init_start_manager());
..\..\USER\Bsp\mpu6050\mllite\mpl.c(37): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_init_data_builder());
..\..\USER\Bsp\mpu6050\mllite\mpl.c(39): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_enable_results_holder());
..\..\USER\Bsp\mpu6050\mllite\mpl.c(66): warning: #223-D: function "__print_result_location" declared implicitly
INV_ERROR_CHECK(inv_execute_mpl_start_notification());
..\..\USER\Bsp\mpu6050\mllite\mpl.c: 6 warnings, 1 error
compiling start_manager.c...
..\..\USER\Bsp\mpu6050\driver\include\log.h(340): warning: #260-D: explicit type is missing ("int" assumed)
static inline void __print_result_location(int result,
..\..\USER\Bsp\mpu6050\driver\include\log.h(340): error: #65: expected a ";"
static inline void __print_result_location(int result,
..\..\USER\Bsp\mpu6050\driver\include\mltypes.h(109): error: #20: identifier "int8_t" is undefined
|
|