On Wed, Oct 23, 2013 at 12:29 AM, Laurent Alebarde <l.aleba...@free.fr>wrote:
> Hi Devs, > > I am trying to use zmq_threadstart. My first test passing ctx as args > works, but I need now to pass two arguments. So I tried many ways and all > the time it ends with a compilor insult : > > error: invalid conversion from 'void (*)(void**)' to 'void (*)(void*)' > [-fpermissive] > In file included from ../tests/testutil.hpp:24:0, > from ../tests/test_concurrency_parano.cpp:20: > ../tests/../include/zmq_utils.h:94:18: error: initializing argument 1 of > 'void* zmq_threadstart(void (*)(void*), void*)' [-fpermissive] > make: *** [tests/test_concurrency_parano.o] Error 1 > > Hi, looking at the compiler output: is client_task defined as client_task (void **) ? The parameter should be void *. -- Mikko
_______________________________________________ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev