[求助] 瑞萨程序经常出现的问题

chonglanger   2015-8-2 10:52 楼主
编译时总是出错,不知道这个数组出现了什么问题,请大家帮忙。





inv_mpu_dmp_motion_drivera.c(391) : CC78K0R error E0737: Undeclared structure/union/enum tag
inv_mpu_dmp_motion_drivera.c(392) : CC78K0R error E0301: Syntax error
inv_mpu_dmp_motion_drivera.c(392) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(393) : CC78K0R error E0323: Missing ','
inv_mpu_dmp_motion_drivera.c(393) : CC78K0R error E0301: Syntax error
inv_mpu_dmp_motion_drivera.c(393) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(394) : CC78K0R error E0323: Missing ','
inv_mpu_dmp_motion_drivera.c(394) : CC78K0R error E0301: Syntax error
inv_mpu_dmp_motion_drivera.c(394) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(395) : CC78K0R error E0323: Missing ','
inv_mpu_dmp_motion_drivera.c(395) : CC78K0R error E0301: Syntax error
inv_mpu_dmp_motion_drivera.c(395) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(396) : CC78K0R error E0323: Missing ','
inv_mpu_dmp_motion_drivera.c(396) : CC78K0R error E0301: Syntax error
inv_mpu_dmp_motion_drivera.c(396) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(397) : CC78K0R error E0323: Missing ','
inv_mpu_dmp_motion_drivera.c(397) : CC78K0R error E0301: Syntax error
inv_mpu_dmp_motion_drivera.c(397) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(398) : CC78K0R error E0750: Initializer syntax
inv_mpu_dmp_motion_drivera.c(398) : CC78K0R error E0757: Too many structure initializers
inv_mpu_dmp_motion_drivera.c(398) : CC78K0R error E0751: Illegal initialization

回复评论 (1)

跟编译器没关系。你查查你的数组定义及声明
点赞  2015-8-2 14:45
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复