On Thu, Dec 5, 2013 at 2:52 PM,  <[email protected]> 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.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to