HI, i am writing a program in which there are many do-while loops one inside the other... when i try compile this program... it gives me a error stating.."'{' scope stack overflow.." it point to braces i have used in DO-WHILE an IF statement... plss help me to solve this problem... THANKS...
A compiler is a finite thing so, clearly, you cannot just keep on nesting blocks indefinitely - there has not be some limit.
The 'C' standard specifies minimum limits - look up "Translation Limits" in the standard.
A compiler may, of course, exceed those minimum limits - for details, you must study the Manual for the particular compiler.
eg, http://www.keil.com/support/man/docs/c51/c51_xd.htm - titled, "Compiler Limits"
And, no - it has nothing to do with the amount of RAM in your PC!
THANKS bro... i checked that link.. Is there any solution to overcome this without changing the code... or is there any alternative for this...
View all questions in Keil forum