commit (head): template donut fixes

From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Fri Mar 26 2004 - 03:15:47 EST

  • Next message: Tomas Frydrych: "template problem on win32"

    various fixes in win32 and xp code; there are still zillions of
    warnings, but at least things compile.

    MSVC cannot handle following code, so please avoid it in XP:

        const type * p = ....
        FREEP(const_cast<type*>(p));

    instead do:

        type * p = const_cast<type*>(...);
        FREEP(p);

    I am not sure why the new UT_Vector definition does not match the
    previous one; since virtually all pointers stored in UT_Vector has to
    be deleted, defining it as storing const void * seems impractical.

    Tomas



    This archive was generated by hypermail 2.1.4 : Fri Mar 26 2004 - 20:46:01 EST