identifier 'int16_t' redeclared

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

identifier 'int16_t' redeclared

1,329 次查看
akhilprasad
Contributor III

I am using eclipse based code warrior IDE for MPC5604S controller. When I am building I get lot of warning mentioning that "identifier 'int16_t' redeclared ". I understood that my own project is also having the header files of 'int16_t' which is creating this warning. But I need the header files which I provide and don't want to take from the installation folder. So how can I neglect the header file in the installation folder. Is there any settings in IDE to do this. Kindly provide some input ASAP. 

0 项奖励
回复
1 回复

1,208 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

these data types are declared in typedefs.h file placed in Project_headers folder. So, if you exclude this file from your project and use your own file, where you define your data types, the warning should disappear.

Regards,

Martin

0 项奖励
回复