[zeromq-dev] SWAP functionality now in trunk

Martin Hurton hurtonm at gmail.com
Sun Jun 27 10:00:03 CEST 2010


Hi Martin,

Can you please apply the attached patch and let me know if it builds now?

- MH

> ---------- Forwarded message ----------
> From: Martin Sustrik <sustrik at 250bpm.com>
> Date: Sat, Jun 26, 2010 at 8:19 PM
> Subject: Re: [zeromq-dev] SWAP functionality now in trunk
> To: 0MQ development list <zeromq-dev at lists.zeromq.org>
>
>
> Hi Pieter,
>
>> We've ported the SWAP functionality to 0MQ/2.0 trunk.  This was
>> documented in zmq_setsockopt(3) but not implemented.
>>
>> Now it works.  There may be issues, do feel free to report them here
>> or on the github issue tracker :-)
>
> I've tried to build it on Win32. I've added missing files into MSVC
> project, then added missing include into msg_store.cpp. (I've committed
> these changes.)
>
> Th build still produces errors:
>
> 1>------ Build started: Project: libzmq, Configuration: Debug Win32 ------
> 1>Performing Pre-Build Event...
> 1>        1 file(s) copied.
> 1>Compiling...
> 1>msg_store.cpp
> 1>c:\zeromq2\src\msg_store.cpp(104) : warning C4996: '_open': This
> function or variable may be unsafe. Consider using _sopen_s instead. To
> disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for
> details.
> 1>        c:\program files\microsoft visual studio
> 9.0\vc\include\io.h(244) : see declaration of '_open'
> 1>c:\zeromq2\src\msg_store.cpp(203) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(203) : error C2059: syntax error :
> '::'
> 1>c:\zeromq2\src\msg_store.cpp(203) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(203) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(227) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(227) : error C2059: syntax error :
> '::'
> 1>c:\zeromq2\src\msg_store.cpp(227) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(227) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(260) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(260) : error C2059: syntax error :
> '::'
> 1>c:\zeromq2\src\msg_store.cpp(286) : error C2589: '(' : illegal
> token on right side of '::'
> 1>c:\zeromq2\src\msg_store.cpp(286) : error C2059: syntax error :
> '::'
> 1>Build log was saved at
> "file://c:\zeromq2\builds\msvc\libzmq\Debug\BuildLog.htm"
> 1>libzmq - 12 error(s), 1 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
> ==========
>
> Martin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nominmax.patch
Type: text/x-diff
Size: 384 bytes
Desc: not available
URL: <http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100627/85502978/attachment.patch>


More information about the zeromq-dev mailing list