[zeromq-dev] zproxy (hopefully) improvements

Pieter Hintjens ph at imatix.com
Thu Dec 5 17:12:28 CET 2013

On Thu, Dec 5, 2013 at 2:52 PM,  <lindleyf at gmail.com> wrote:

> I'm of the opinion that asserts should only be used to signal an internal problem with the library. Any external interface should instead use error codes if the input is detectably bad. So the question becomes, if you build against a lower version of ZMQ, is that an error or does it just reduce your capabilities? Can you require a minimum version, and check this at init time?

CZMQ already uses very extensive asserts to catch bad arguments.
Building against a lower version of libzmq is fine. Trying to use
non-existent features is bogus, IMO.


More information about the zeromq-dev mailing list