AnsweredAssumed Answered

CodeWariror 8- & 16-bit tools: Compiler warning: "SP debug ..."

Question asked by Marc Paquette Employee on Jan 27, 2006
To help you find solutions to problems that have already been solved, we have posted this message. It contains an entire topic ported from a separate forum. The original message and all replies are in this single message.
Posted: Nov 01, 2005 - 02:02 PM   
I been using codewarrior version 3.1 for hc12 controller series. When working with a project i got 5 compiler warnings with the following message:
"SP debug info incorrect because of optimization or inline assember"
Any ideas how to fix this?
Posted: Nov 01, 2005 - 06:42 PM   
I don't remember offhand, but look in the compiler manual and search for the error ID. The error description will list common causes and ways to avoid it.
Posted: Nov 02, 2005 - 07:12 AM   
This warning is generated when an optimization or inline assembly function causes a trouble with the bedug info.
Then the user could met some problem debugging his application.
Refer to the compiler manual to get more info on this warning.
See in the Manual_Compiler_HC12.pdf at \help\pdf
Pascal Irrle 
Posted: Nov 04, 2005 - 09:53 AM   
Alright thanks.
I better check the compiler manual first.