stops compiling

Brad Roberts braddr at puremagic.com
Thu Mar 23 00:19:28 PST 2006


On Wed, 22 Mar 2006, Walter Bright wrote:

> "Kyle Furlong" <kylefurlong at gmail.com> wrote in message 
> news:dvsp6s$23r8$10 at digitaldaemon.com...
> > To try and make a perfect compiler of course! <g> Or did you just increase 
> > the stack size? Could I still smash it with say... a million statements?
> 
> No, I didn't increase the stack size. I put in an exception handler for the 
> stack overflow exception. It still quits, it just gives a message first. 

Did you check the results on linux?  That sounds like you're catching a 
structured exception under windows that doesn't have an analog under any 
unix system.

Too bad it's not actually making it so it's capable of handling a 
seriously long function.. in some auto-code generation scenarios this 
isn't that odd a case.  I see it come up from time to time on the gcc 
developers list.  Obviously, failing gracefully is better than failing 
catastrophically, but it's still failing.

- Brad



More information about the Digitalmars-d-bugs mailing list