Project

General

Profile

Bug #12383

Updated by nobu (Nobuyoshi Nakada) almost 8 years ago

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

Back