KDS project import issue - Conflicting types error

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

KDS project import issue - Conflicting types error

1,063 Views
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.

 

Labels (1)
0 Kudos
Reply
1 Reply

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