Re: AbiWord on Linux/Alpha


Subject: Re: AbiWord on Linux/Alpha
abnay@altavista.net
Date: Wed Feb 09 2000 - 13:44:38 CST


Thomas Briggs very rightly pointed out the following
and I agree with every word he said. Why assert fail
on data that isn't even relevant during normal
function execution? It simply says that the assert
doesn't belong there!!

Bharadwaj

Thomas Briggs:
> FWIW, I'm have to disagree. Why is the code checking data in asserts
> that isn't used during the normal execution of the program? Debug-only code
> should help detect potential problems in the release version; having debug
> code which doesn't at all apply to the release version is wasted effort.
>
> -Tom

In response to the following writing of sam th:
> >The unused function parameter and variable warnings are NOT coming from
> >unused variables. They are coming from variables that are only used in
> >UT_ASSERT for the most part. However, the compiler is not detecting this,
> >and thinks that they are unused. This is not a problem with our code.

----------------------------------------------------------------
Get your free email from AltaVista at http://altavista.iname.com



This archive was generated by hypermail 2b25 : Wed Feb 09 2000 - 13:44:58 CST