[zeromq-dev] Patch for select.cpp
ph at imatix.com
Tue Aug 31 11:01:44 CEST 2010
Thank you very much for this patch. Would you also create an issue at
the 0MQ github repository at http://github.com/zeromq/zeromq2/issues?
This is a nice way of ensuring the patch won't get lost, and also to
document the issue so others can see your contribution later in time.
2010/8/31 Mikael Helbo Kjær <mhk at designtech.dk>:
> I kept getting runtime errors from my SCL enabled STL library in MSVC 2008 SP1 due to the way select.cpp implemented its erase of retired fd's.
> I've implemented a patch and the STL library no longer complains of any errors in my tests. However this has only been tested on 32-bit Windows so far, but as far as I know the patch uses a normal way to handle erasure of iterated elements in a vector and as such should not be platform or STL library specific. But please look it over as it might be useful for the library.
> The attached patch is offered by me and my employer under the MIT/X11 license.
> All the best
> Mikael H. Kjaer
> IT Engineer @ Designtech
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
iMatix - www.imatix.com
More information about the zeromq-dev