[zeromq-dev] [PATCH] Problem with calling convention in thread_t when using SunStudio

Mikko Koppanen mikko.koppanen at gmail.com
Sat Nov 27 13:51:25 CET 2010


On Sat, Nov 27, 2010 at 12:14 PM, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Hi Mikko,
>
> Here's the patch that should solve the SunStudio problem. Can you check it?

Hi Martin,

looks like the warning is gone after applying this patch. There is
another spot where extern "C" linkage is needed: in
test_shutdown_stress.cpp void *worker (void *s) needs to be with
extern "C" linkage as well. After your patch and the small change in
test_shutdown_stress the build succeeds using "-Werror" -like flags in
Sun Studio.


-- 
Mikko Koppanen



More information about the zeromq-dev mailing list