[zeromq-dev] ZMQ_MAKE_VALGRIND_HAPPY

Pieter Hintjens ph at imatix.com
Tue Apr 26 09:44:39 CEST 2011


On Tue, Apr 26, 2011 at 9:30 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

> Sorry. I though it's possible to distribute suppression files with the
> library and make valgrind load the automatically.

No problem, it was worth exploring suppression files.

> It's also needed in command passing routines.

Do you think it's worth being sure? IMO most of the current
conditionals can be removed without impact. That would make the code
cleaner.

Fwiw, to try to provoke an error, build normally and run under
valgrind using the suppression file:

valgrind --tool=memcheck --leak-check=full
--suppressions=valgrind.supp <program>

-Pieter



More information about the zeromq-dev mailing list