Issue #16903 has been reported by fd0 (Daisuke Fujimura).

----------------------------------------
Bug #16903: Compilation error on x86_64-cygwin
https://bugs.ruby-lang.org/issues/16903

* Author: fd0 (Daisuke Fujimura)
* Status: Open
* Priority: Normal
* ruby -v: ruby 2.8.0dev (2020-05-20T01:52:32Z master 2480ef904c) [x86_64-cygwin]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Compilation error on x86_64-cygwin.

```
compiling io.c
io.c: In function 'rb_cloexec_pipe':
io.c:412:9: error: 'ret' undeclared (first use in this function)
  412 |     if (ret == 0 && descriptors[1] == -1) {
      |         ^~~
io.c:412:9: note: each undeclared identifier is reported only once for each function it appears in
io.c: At top level:
cc1: warning: unrecognized command line option '-Wno-self-assign'
cc1: warning: unrecognized command line option '-Wno-parentheses-equality'
cc1: warning: unrecognized command line option '-Wno-constant-logical-operand'
make: *** [Makefile:425: io.o] Error 1
```

---Files--------------------------------
cygwin.patch (364 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>