identifier 'int16_t' redeclared

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

identifier 'int16_t' redeclared

595 Views
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 Kudos
1 Reply

474 Views
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 Kudos