This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem with "bool" type

Hello,
I have used an example project as a base for my project(SysTick for STM32Discovery). I wrote some additional code using some variable of boolean type. Compiler doesnt show any errors in this project. Then I wanted to create the same project outside of the example folder. I have copied all the files into new project's folder, I have also set the same setting of Flash tool configuration, but the compiler writes an error :
#20: identifier "bool" is undefined or error: #20: identifier "TRUE" is undefined
Could anybody help me or tell what is wrong? Is there some kind of settings for compiler that it would recognize boolean type?
Thanks for reply

0