commit (head): removal of UT_ASSERT

From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Sat Apr 03 2004 - 12:48:59 EST

  • Next message: Tomas Frydrych: "Re: My absence from the list"

    Decided to remove UT_ASSERT once and for all to get rid of code like

    UT_ASSERT(p); p->doSomething();

    and variations on the theme, replacing it with UT_return_ ..., and
    where appropriate, UT_ASSERT_HARMLESS. There are hundreds of
    instances of unhandled asserts in our code that cause crashes in non-
    debug build. While it has been the policy for quite a while not to
    use UT_ASSERT and not to produce this type of code, there are in fact
    many examples of it in recent code, so the policy needs more
    foreceful enforcing -- if it is worth putting in an assert, it is
    worth handling it properly.

    I will do the XP and win32 code, but will leave platfrom code for
    others to do. For now imp/exp, AP and PT files are done.

    Tomas



    This archive was generated by hypermail 2.1.4 : Sat Apr 03 2004 - 12:49:59 EST