I have defined one global variable in one .C file and incrementing in in that file. This variable i am reading in other .C file. But when i simulate program in CW it gives above error. How to solve this? I
- Which CPU are you targeting (HC08, HC12, Coldfire, ..)- Which version of CodeWarrior are you using? To retrieve that info: - Start CodeWarrior - Select Help -> About Freescale CodeWarrior - Click on "Install Products" - CodeWarrior version used is displayed on top in the Installed Products dialog.
This message indicates you are attempting to read the variable value before the variable is ever initialized.
There are ways to prevent that but I need to know the answer to above questions to assist.
Retrieving data ...