KDS project import issue - Conflicting types error

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

KDS project import issue - Conflicting types error

1,395件の閲覧回数
kbhat
Contributor II

Hi,

I'm using a MK10FXVLQ12 controller for my project. I imported an error free KDS project from other system to my system. But I get "conflicting types" error for "bool" variables & any function that returns "bool". This error occurs both in the Source .c files, as well as in the Processor expert generated code, wherever "bool" has been used. The same "bool" variable references to "PE_types.h" and "stdbool.h" (where the variable is "extern"ed). Please help.

Thanks in advance.

 

ラベル(1)
0 件の賞賛
返信
1 返信

1,375件の閲覧回数
Omar_Anguiano
NXP TechSupport
NXP TechSupport

Hello

Hope you are well.
It will be helpful if you attach your project to check the source of your error.
What are the steps you are following to import your project? I suggest you clean the project before exporting it.
I believe that this post can be helpful: https://community.nxp.com/t5/CodeWarrior-Development-Tools/Processor-Expert-generating-code-with-err...

I tried to reproduce this issue but my project compiled correctly with bool variables.

If you have more questions do not hesitate to ask me.
Best regards,
Omar

0 件の賞賛
返信