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.
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