[zeromq-dev] ZMQ_MAKE_VALGRIND_HAPPY

Pieter Hintjens ph at imatix.com
Tue Apr 26 13:12:36 CEST 2011


On Tue, Apr 26, 2011 at 12:34 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Well, valgrind would issue warnings if we removed the #ifdef
> ZMQ_MAKE_VALGRIND_HAPY blocks. And that's what we are trying to get rid off
> AFAIU.

My point is that some (I've found just 1) of these blocks are
triggered, the rest not.

Using the suppression file is a cheap and fast way to see which blocks
are actually relevant.

I build without the macro defined, then run with the suppression file,
which hits only the single block in send(), and never get further
warnings.

If you don't think it's worth investigating this further, we can drop
the thread. I'd personally want to know why the other cases aren't
triggering errors.

-Pieter



More information about the zeromq-dev mailing list