identifier 'int16_t' redeclared

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

identifier 'int16_t' redeclared

1,373件の閲覧回数
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,252件の閲覧回数
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 件の賞賛
返信