stops compiling

Walter Bright newshound at digitalmars.com
Wed Mar 22 09:48:46 PST 2006


"debugger" <debugger_member at pathlink.com> wrote in message 
news:dvj2tg$2i3s$1 at digitaldaemon.com...
> dmd 0.149,Win stops compiling without messsage if number of statements is 
> too
> large.
>
> void init1(){}
> void init2(){
> init1();
> // ... 16,000 times -> stops
> //     only 8,000 times -> compiles
> init1();
> }
> void init3(){}

It's a stack overflow in the compiler. No big deal, it'll be fixed in the 
next update. I kinda wonder, though, what purpose 16,000 statements serves? 





More information about the Digitalmars-d-bugs mailing list