Re: change planned in ut_vector

From: J.M. Maurer <uwog_at_uwog.net>
Date: Sun Nov 23 2008 - 14:36:14 CET

On Sat, 2008-11-22 at 22:15 -0500, Hubert Figuiere wrote:
>
>
> Hi,
>
> UT_GenericVector<> had a big flaw in its API:
>
> addItem() returned an UT_sint32 while size() was UT_uint32 causing a
> lot
> of casts everywhere.
>
> Given that I doubt we reach 2^31 elements anywhere, I changed
> everything
> to be signed. I have committed as patch with all the associated
> warning removed at least in the UNIX code.
>
> I had to do that in order to be able to continue make AbiWord build
> warning free.
>
> Just a FYI.

V. much appreciated. When all the stupid warnings are finally gone, we
can actually use the warnings that g++ generates again!

  Marc
Received on Sun Nov 23 14:36:20 2008

This archive was generated by hypermail 2.1.8 : Sun Nov 23 2008 - 14:36:20 CET