[zeromq-dev] ZMQ_MAKE_VALGRIND_HAPPY
Martin Sustrik
sustrik at 250bpm.com
Tue Apr 26 08:33:57 CEST 2011
On 04/26/2011 08:30 AM, Andreas Kelle-Emden wrote:
> thanks for your replies. Maybe it would be easier to work like this:
> In debug mode, automatically initialize every value completely. In
> release mode, only initialize what is needed.
> Rationale: In debug mode, efficiency is not so important. But we want to
> have the possibility to run valgrind etc. - In release mode, there is no
> need to debug anyway. (Additionally, valgrind would in any case output
> kinda weird results in an optimized build)
Makes sense IMO.
Mikko, is it possible to set ZMQ_MAKE_VALGRIND_HAPPY when --enable-debug
is set?
Martin
More information about the zeromq-dev
mailing list