From 14054d28ed1081f67b3765372fe89fde5941b52e Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 21 Feb 2016 23:26:01 +0000 Subject: [PATCH] Problem: can't statically initialized pthread_t Solution: remove statc initialization to NULL of thread.hpp pthread_t descriptor. There is no portable way to statically initialize a pthread_t variable. --- src/thread.hpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/thread.hpp b/src/thread.hpp index 9df03009..27ea8fc7 100644 --- a/src/thread.hpp +++ b/src/thread.hpp @@ -57,7 +57,6 @@ namespace zmq inline thread_t () : tfn(nullptr) , arg(nullptr) - , descriptor(NULL) { }