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 <normalperson / yhbt.net> wrote:
>
> SHIBATA Hiroshi <hsbt / ruby-lang.org> 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: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>