On Sun, Aug 24, 2008 at 11:12 PM, Dennis Schridde <[EMAIL PROTECTED]> wrote: > Aside of that I think we could add a out-of-memory "handler", or some more > generic way of handling the most common errors. > Why? So we can inform the user in a nicer manner than "application X was > terminated in an unusual way". (Console output now, maybe error popup windows > later.)
<per> and why should we terminate if we run out of memory, if we can recover and continue? <devurandom> Obviously we should not. <devurandom> I.e. the map-loading example: Return to mainmenu is totally sufficient there. <per> yes <per> make sure it asserts early in debug-builds, program defensively for non-debug builds... <devurandom> Yep. <per> maybe we should add that to commit guidelines - Per _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev