Re: [AD] Proposed ASSERT protection

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> > I agree. Grzegorz, feel free to commit this kind of changes directly.
> 
> Sure, I will do more in a few days.

I did, and now I will concentrate on other things. Note that there are
many more assertions which could be made, but it's a little bit tricky
what to restrict: there are things which for example are matematically
allowable (ie: using negative parameters which don't hurt because they
are used in a loop with a lesser-than comparison which exits immediately)
but which from my point of view show either the programmer is now knowing
what (s)he's doing or something has gone terribly wrong in the caller.

Translation: don't want to hear cries from people who's programs stopped
working due to extremely pedantic assertions. I'll revert any assertion
happily if it shows to break code, though I ran most of allegro's binaries
and none aborted.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/