[ruby-core:75527] [Ruby trunk Bug#12383] Warnings when compiling proc.c on cygwin

From: duerst@...
Date: 2016-05-16 11:14:07 UTC
List: ruby-core #75527
Issue #12383 has been updated by Martin Dürst.


I updated to

```
/cygdrive/i/szsz/tmpp/gcc/gcc-5.3.0-5.x86_64/src/gcc-5.3.0/configure
```

but the error persists.

----------------------------------------
Bug #12383: Warnings when compiling proc.c on cygwin
https://bugs.ruby-lang.org/issues/12383#change-58646

* Author: Martin Dürst
* Status: Open
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.4.0dev (2016-05-15 trunk 55004) [x86_64-cygwin]
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
When compiling ruby on cygwin, I get the following warnings for proc.c:

```
compiling proc.c
proc.c: In function ‘call_method_data_safe’:
proc.c:1984:11: warning: variable ‘result’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
     VALUE result = Qnil; /* OK */
           ^
proc.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
compiling random.c
```



-- 
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>

In This Thread

Prev Next