On 10/14/2010 06:19 PM, Martin Lucina wrote:

>> This could throw a SIGFPE (floating point exception).
>> Do we check for reconnect_period>  0?
>
> No, but if you set reconnect_period to 0 then any number of things will
> break. I'd not worry about that too much; changing stuff in config.hpp is
> something 90% or more people will never touch.

What about checking the validity of compile time settings using asserts 
as a first thing to do in zmq_init?

It's even possible to check it at compile-time but then the error 
messages are not really helpful.

Martin
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to