KDS project import issue - Conflicting types error

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

KDS project import issue - Conflicting types error

889 次查看
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 回复

869 次查看
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 项奖励