Ok, so how do you solve the problem I just described - you have an embedded system that has a realistic, but strict stack-limit [with a currently known processor architecture that uses a stack].
I do understand that this forum is supposed to solve things in a portable and generic way, but does that mean that EVERY time someone posts something that, on some obscure machine that three people on this forum have ever heard of, it must be said as "unportable and unreliable", even when it actually solves the original posters problem.
Can you point out where in my original code I am not solving the original posters problem?
[and by that, I do not mean to solve the analyze the source code and find out by that how much stack it uses, because that would require a few thousand more lines of code].
--
Mats