From: Hubert Figuiere (hfiguiere_at_teaser.fr)
Date: Sun Mar 28 2004 - 08:18:20 EST
On Fri, 2004-03-26 at 09:15, Tomas Frydrych wrote:
> 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.
UT_Vector WILL go away and I encourage changes to make themm go away.
But if you prefer UT_Vector to be a UT_GenericVector<void*>, please,
feel free. I don't mind if it is better.
Hub
This archive was generated by hypermail 2.1.4 : Sun Mar 28 2004 - 08:18:16 EST