|
From: Paul F. <pa...@fr...> - 2007-06-13 15:45:55
|
Quoting Christoph Bartoschek <bar...@or...>:
> You could try to add:
>
> VALGRIND_CHECK_VALUE_IS_DEFINED(min);
> VALGRIND_CHECK_VALUE_IS_DEFINED(max);
>
> In front of the code and some levels up, if the error is reproducable.
>
> To do this add #include <valgrind/memcheck.h>
Hi
I did this, and nothing was added to the logfile. Then I did some more tests.
When I added
VALGRIND_PRINTF("min %p %g %g", &min, min, _UNDEF);
just before the supposed error site,
a) the error went away
b) I didn't get any "%g" output (perhaps this is normal?)
A+
Paul
|