Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread Pieter Hintjens
Well, it's barely worth it; there is zero cost to using the old calls in CZMQ. Macros would add extra complexity for no benefit. -Pieter On Sat, Jan 5, 2013 at 1:04 PM, M.S. Babaei wrote: > Defining some macros should do the trick. > > On Jan 5, 2013 3:31 PM, "Pieter Hintjens" wrote: >> >> I ma

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread M.S. Babaei
Defining some macros should do the trick. On Jan 5, 2013 3:31 PM, "Pieter Hintjens" wrote: > I made the patch but pijyoi pointed out that CZMQ aims to run on 2.2 > as well as 3.2, so we'll have to wait for a while before switching out > these functions. > > On Sat, Jan 5, 2013 at 12:23 PM, Pieter

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread Pieter Hintjens
I made the patch but pijyoi pointed out that CZMQ aims to run on 2.2 as well as 3.2, so we'll have to wait for a while before switching out these functions. On Sat, Jan 5, 2013 at 12:23 PM, Pieter Hintjens wrote: > I've merged the PR on cppzmq (not sure who the maintainers of that > project are a

Re: [zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread Pieter Hintjens
I've merged the PR on cppzmq (not sure who the maintainers of that project are at the moment). I'll make the patch for CZMQ, you're right that it shouldn't use the deprecated functions. -Pieter On Sat, Jan 5, 2013 at 9:55 AM, crocket wrote: > In case of cppzmq, there is a pull request that deal

[zeromq-dev] czmq and cppzmq use deprecated functions.

2013-01-05 Thread crocket
In case of cppzmq, there is a pull request that deals with deprecated functions. https://github.com/zeromq/cppzmq/pull/12 But I couldn't find such a pull request for czmq. czmq still uses zmq_sendmsg instead of zmq_msg_send. This should be fixed sooner or later. _