|
From: Maarten B. <maa...@mi...> - 2003-11-19 15:17:10
|
Hello
On Wed, 2003-11-19 at 08:08, Dimitri Papadopoulos-Orfanos wrote:
> Nicholas Nethercote wrote:
> > On Wed, 19 Nov 2003, Dimitri Papadopoulos-Orfanos wrote:
...
> >> > ==3546== Conditional jump or move depends on uninitialised value(s)
> >>
> >>Again, some programers just wonder what this error message means. I
> >>guess that it has to do with code looking like
> >> if ( variable ) {
> >> [...]
> >>where "variable" isn't initialised. Again maybe this error message could
> >>be rewritten using simple words, if at all possible.
> >
> >
> > Can you suggest alternatives that are easier to understand?
>
> Not in the first case. When I say I can't understand the message, I mean it.
>
> In the second case, I think the important part of the message is not
> that there's a "conditional jump or move" but an "uninitialised value".
> What about
> Attempt to read an uninitialised variable
> or something like that? I'm not really sure this covers the same error,
> but that's the idea.
The order of the message is a little confusing (until you get used
to it ;-/) How about reordering and bringing the "uninitialised"
to the front:
==3546== Uninitialised value(s) used in conditional jump or move.
Anyway, keep up the good work, it is a great tool!
Cheers,
Maarten.
--
Maarten Ballintijn <maa...@mi...>
Massachusetts Institute of Technology
|