Project

General

Profile

Actions

Bug #12383

closed

Warnings when compiling proc.c on cygwin

Added by duerst (Martin Dürst) almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.4.0dev (2016-05-15 trunk 55004) [x86_64-cygwin]
[ruby-core:75510]

Description

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
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0