We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I've a basic question about the Keil µVision3 (V3.05e). I would to know if it's possible that the compiler (or linker) show me in the output window (or others views) if there is any function unused in my program. I have a big program and I would quickly check the dead code (if a function is never called). For now, I'm at warnings level 3 and code optimization level 6 for the compiler, and warnings level 2 for the linker.
Thanks in advance.
You could also use the Source Browser: http://www.keil.com/support/man/docs/uv3/uv3_ut_sourcebrowser.htm
Check for Names where the number of uses is zero (or is it 1 - maybe the definition counts as a "use"...?)
Click the column heading to sort by that column
Yeahh Thanks, it's working properly !! The number is 1 for function definied but not used.
You make me win many many times...thanks