AnsweredAssumed Answered

Warning: C12056

Question asked by Joern Katzorke on Aug 6, 2010
Latest reply on Aug 6, 2010 by CompilerGuru

Hi,

 

i get more than one time the compiler warning at function returns:

 

Warning: C12056: SP debug info incorrect because of optimization or inline assembler

 

Codewarrior 4.7 with compiler options -Cf -CPUHCS12 -Mb -TD4LD4LLD4

 

uc: 9S12DP512DGV

 

i got a really big structure with 100 elements (ram address 0x874 - 0xe51) and incresed the stack to 512 byte, which solved some ram messup :smileyhappy:

 

i think i saw the warnings the first time i included math.h but im not sure about that.

 

fact is that im not using any inline assembly where the warnings occour.

 

may the warning be risin by the math.h?

or the big size of my structure?

 

grtz

Outcomes