I recently picked-up a project created by someone else and am trying to come up to speed on the code. I came across the following line of code which confuses me. The code builds just fine in CW6.3. However this is the only instance of "BOOTLOADER_VERSION" in the project. It's not even declared! Why isn't the compiler complaining about this?
requestedData[i++]=(unsigned char)BOOTLOADER_VERSION;
Background related info:
This project is a combination of two seperate projects (Bootloader code & Application code). The code above was pulled from the Application project. However "BOOTLOADER_VERSION" is initialized (but still never declared) in the Bootloader project.
This is my first experience with the CodeWarrior 6.3 IDE. Why isn't the compiler complaining when I compile the Application code?