From: SHIBATA Hiroshi Date: 2018-07-30T09:17:40+09:00 Subject: [ruby-core:88175] Re: [ruby-cvs:71198] normal:r64107 (trunk): thread_pthread: remove timer-thread by restructuring GVL Hi Eric. I got another error. See https://bugs.ruby-lang.org/issues/14950#note-1 On Mon, Jul 30, 2018 at 7:56 AM Eric Wong wrote: > > SHIBATA Hiroshi wrote: > > In file included from ../thread.c:374: > > ../thread_pthread.c:1588:11: error: implicit declaration of function > > 'ppoll' is invalid in C99 [-Werror,-Wimplicit-function-declaration] > > (void)ppoll(&pfd, 1, ts, 0); > > ^ > > ../thread_pthread.c:1588:11: note: did you mean 'poll'? > > /usr/include/sys/poll.h:114:12: note: 'poll' declared here > > extern int poll (struct pollfd *, nfds_t, int) __DARWIN_ALIAS_C(poll); > > Thanks for the report. Can you try r64109? > commit 2fa1e2e3c3c5c4b3ce84730dee4bcbe9d81b8e35 > > thread.c: move ppoll wrapper before thread_pthread.c > > thread_pthread.c relies on ppoll for rb_sigwait_sleep, so ensure > the compatibility wrapper is available for it. -- SHIBATA Hiroshi hsbt@ruby-lang.org http://www.hsbt.org/ Unsubscribe: