This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
CCS 7.2.0.00013
TI v16.9.3.LTS
I have a static bool variable in a file in the project.
I'm trying to declare it as extern bool in two other files.
I am getting linker errors:
Priya Nadathur70 said:I have a static bool variable in a file in the project.
That means this variable is available only within that file. Remove the keyword static, and thus make it global. For more on this topic, please see this general FAQ (not from TI).
Thanks and regards,
-George