Re: ANOTHER Spurious assert?


Subject: Re: ANOTHER Spurious assert?
From: Dom Lachowicz (cinamod@hotmail.com)
Date: Sat Nov 11 2000 - 16:24:38 CST


This has been commented out and committed.

Dom

>From: Thomas Fletcher <thomasf@qnx.com>
>To: Martin Sevior <msevior@mccubbin.ph.unimelb.edu.au>
>CC: Sam TH <sam@uchicago.edu>, Mike Nordell <tamlin@algonet.se>,
>AbiWord-dev <abiword-dev@abisource.com>
>Subject: ANOTHER Spurious assert?
>Date: Sat, 11 Nov 2000 17:08:06 -0500
>
>
>
>On Sun, 12 Nov 2000, Martin Sevior wrote:
> > On Sat, 11 Nov 2000, Sam TH wrote:
> > > On Sat, Nov 11, 2000 at 03:43:15PM +0100, Mike Nordell wrote:
> > > > pf_Frag_Object constructor asserts
> > > >
> > > > UT_ASSERT(pszType);
> > > >
> > > > Is this really correct? An image don't have a "type". To reproduce,
>try
> > > > opening test/wp/suite/image_height_width.abw
> > >
> > > Yeah, that assert seems bogus. It can go.
> > >
> > It was probabally left over from debugging the piecetable fields patch.
> > Feel free to remove it.
> >
>
>Martin,
>
> While we are at it (talking about spurious asserts), Martin you
>put one in just recently to assert fv_View.cpp line 1093
>
>UT_Bool FV_View::cmdCharInsert(UT_UCSChar * text,
> UT_uint32 count, UT_Bool bForce)
>
>[ ... ]
>
>1.305 (msevior 08-Nov-00): UT_uint32 d = (UT_uint32) text[0];
>1.305 (msevior 08-Nov-00): UT_ASSERT( d != 63);
>
>
>This is asserting every time I type in a '?', which is really
>annoying let me tell you.
>
>Won't show up in the real builds, but I prefer to work on the
>debug versions so that when bad things happen I can try and
>fix them.
>
>Thomas
>
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.



This archive was generated by hypermail 2b25 : Sat Nov 11 2000 - 16:24:41 CST