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

Parents
  • Maybe it needs to be differently configured?

    Do a grep through all the sources to find the definitions, and what controls them...

    ST do like to change the way they do things between revisions - meaning that you can't just drop the new library into an old project.

    :-(

Reply
  • Maybe it needs to be differently configured?

    Do a grep through all the sources to find the definitions, and what controls them...

    ST do like to change the way they do things between revisions - meaning that you can't just drop the new library into an old project.

    :-(

Children