Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: Volatile Keyword

$
0
0

TI Compiler Experts,

                                    I am using a global "volatile" variable which is not referenced in any functions or anywhere in my program. After I compile the program with C6000 compiler, the map file generated contains no mention of the global variable. But when I add line of dummy code to make use of the volatile variable inside a function, after compilation I am able to find the variable in global symbol section of the map file.

My question is why is compiler ignoring volatile keyword used with variable declaration?

Thanks

Anish

Signalogic 


Viewing all articles
Browse latest Browse all 91752

Trending Articles