[zeromq-dev] Patch for select.cpp
Mikael Helbo Kjær
mhk at designtech.dk
Tue Aug 31 10:56:08 CEST 2010
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
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 743 bytes
More information about the zeromq-dev