Last active
July 6, 2023 17:36
-
-
Save oprogfrogo/e8eed424fd01b536caa368283b414948 to your computer and use it in GitHub Desktop.
RVM install 1.8.7 fails on Monterey MacOs 12.0.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2021-11-30 08:48:39] __rvm_make | |
__rvm_make () | |
{ | |
\make "$@" || return $? | |
} | |
current path: /Users/slee/.rvm/src/ruby-1.8.7-p374 | |
GEM_HOME=/Users/slee/.rvm/gems/ruby-2.3.8 | |
PATH=/Users/slee/.rvm/usr/bin:/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/Users/slee/.rvm/gems/ruby-2.3.8/bin:/Users/slee/.rvm/gems/ruby-2.3.8@global/bin:/Users/slee/.rvm/rubies/ruby-2.3.8/bin:/Users/slee/.rvm/bin:/usr/local/opt/mysql@5.7/bin:/usr/local/opt/mysql@5.7/bin:/usr/local/opt/curl/bin:/usr/local/opt/curl/bin:/usr/local/sbin:/Users/slee/anaconda3/bin:/Users/slee/.nvm/versions/node/v10.17.0/bin:/usr/local/opt/mysql@5.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/slee/Desktop/chromedriver:/opt/X11/bin:/Library/Apple/usr/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/Users/slee/Desktop/chromedriver:/Users/slee/flutter/bin | |
GEM_PATH=/Users/slee/.rvm/gems/ruby-2.3.8:/Users/slee/.rvm/gems/ruby-2.3.8@global | |
command(2): __rvm_make -j12 | |
+++ make -j12 | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c array.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c bignum.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c class.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c compar.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dir.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dln.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c enum.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c enumerator.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c error.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c eval.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c file.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c gc.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
file.c:211:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:1125:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (a > 0.0) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
gc.c:1474:79: warning: expression does not compute the number of elements in this array; element type is 'int', not 'VALUE *' (aka 'unsigned long *') [-Wsizeof-array-div] | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
mark_locations_array((VALUE*)save_regs_gc_mark, sizeof(save_regs_gc_mark) / sizeof(VALUE *)); | |
~~~~~~~~~~~~~~~~~ ^ | |
gc.c:1433:13: note: array 'save_regs_gc_mark' declared here | |
~~~~~~~~~~~^ jmp_buf save_regs_gc_mark; | |
^ | |
gc.c:1474:79: note: place parentheses around the 'sizeof(VALUE *)' expression to silence this warning | |
mark_locations_array((VALUE*)save_regs_gc_mark, sizeof(save_regs_gc_mark) / sizeof(VALUE *)); | |
^ | |
bignum.c:1136:53: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (RBIGNUM(x)->sign < RBIGNUM(y)->sign) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:1138:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return (RBIGNUM(x)->sign) ? INT2FIX(-1) : INT2FIX(1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:1140:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return (RBIGNUM(x)->sign) ? INT2FIX(1) : INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:1145:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
(RBIGNUM(x)->sign ? INT2FIX(1) : INT2FIX(-1)) : | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:1146:26: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
(RBIGNUM(x)->sign ? INT2FIX(-1) : INT2FIX(1)); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:1251:20: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (!i) return INT2FIX(~0); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
eval.c:1754:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
bignum.c:1579:26: warning: while loop has empty body [-Wempty-body] | |
while (--ny && !zds[ny]); ++ny; | |
^ | |
bignum.c:1579:26: note: put the semicolon on a separate line to silence this warning | |
eval.c:1895:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
array.c:2821:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:2120:41: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return RBIGNUM(x)->sign ? INT2FIX(0) : INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
eval.c:2746:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
bignum.c:2250:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bignum.c:2260:14: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
else return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c hash.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c inits.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c io.c | |
eval.c:4466:1: warning: non-void function does not return a value [-Wreturn-type] | |
} | |
^ | |
eval.c:4780:2: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); /* fake frame */ | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
eval.c:5311:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
eval.c:5746:2: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:5747:26: warning: passing 'const VALUE *' (aka 'const unsigned long *') to parameter of type 'VALUE *' (aka 'unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
rb_method_missing(argc, argv, obj); | |
^~~~ | |
eval.c:5904:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
eval.c:6186:49: warning: passing 'const VALUE *' (aka 'const unsigned long *') to parameter of type 'VALUE *' (aka 'unsigned long *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return rb_call0(klass, recv, mid, id, argc, argv, body, noex); | |
^~~~ | |
eval.c:6706:2: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:6730:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:6812:45: warning: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion] | |
return exec_under(yield_under_i, under, 0, self); | |
^~~~ | |
eval.c:6817:50: warning: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion] | |
return exec_under(yield_args_under_i, under, 0, (VALUE)info); | |
^~~~~~~~~~~ | |
eval.c:7046:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:7288:2: warning: implicit declaration of function 'rb_thread_join' is invalid in C99 [-Wimplicit-function-declaration] | |
rb_thread_join(owner->thread, -1.0); | |
^ | |
eval.c:8081:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:8094:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:9020:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c marshal.c | |
eval.c:9778:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (body->nd_argc < 0) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
eval.c:9781:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
eval.c:9802:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
eval.c:9870:5: warning: assigning to 'struct FRAME *' from 'volatile struct FRAME *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
PUSH_FRAME(); | |
^~~~~~~~~~~~ | |
eval.c:792:16: note: expanded from macro 'PUSH_FRAME' | |
ruby_frame = &_frame | |
^ ~~~~~~~ | |
eval.c:9924:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line(bdata->body, nd_line(mdata->body)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
io.c:1381:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
io.c:1417:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
eval.c:12652:47: warning: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion] | |
return rb_thread_start_0(rb_thread_yield, args, th); | |
^~~~ | |
eval.c:12673:47: warning: incompatible integer to pointer conversion passing 'VALUE' (aka 'unsigned long') to parameter of type 'void *' [-Wint-conversion] | |
return rb_thread_start_0(rb_thread_yield, args, rb_thread_alloc(klass)); | |
^~~~ | |
io.c:3061:57: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return rb_file_sysopen_internal(io_alloc(rb_cFile), fname, flags, mode); | |
^~~~~ | |
io.c:3340:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
io.c:3449:31: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
rb_file_sysopen_internal(io, path, flags, fmode); | |
^~~~ | |
io.c:5226:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5229:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5232:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1],arg[2]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5235:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1],arg[2],arg[3]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5238:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1],arg[2],arg[3],arg[4]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5241:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1],arg[2],arg[3],arg[4],arg[5]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5244:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6]); | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
io.c:5247:11: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations] | |
retval = syscall(arg[0],arg[1],arg[2],arg[3],arg[4],arg[5],arg[6], | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/unistd.h:746:6: note: 'syscall' has been explicitly marked deprecated here | |
int syscall(int, ...); | |
^ | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c math.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c numeric.c | |
marshal.c:970:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c object.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
numeric.c:913:23: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (a < b) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:941:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
else return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:1238:10: warning: 'finite' is deprecated: first deprecated in macOS 10.9 - Use `isfinite((double)x)` instead. [-Wdeprecated-declarations] | |
if (!finite(value)) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/math.h:752:12: note: 'finite' has been explicitly marked deprecated here | |
extern int finite(double) | |
^ | |
numeric.c:1989:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
numeric.c:2012:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
numeric.c:2378:10: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:2391:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
else return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:2445:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:2696:22: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (val < 0) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
object.c:1480:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:3160:43: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
rb_define_const(rb_cFloat, "MIN_EXP", INT2FIX(DBL_MIN_EXP)); | |
^~~~~~~~~~~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
numeric.c:3162:46: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
rb_define_const(rb_cFloat, "MIN_10_EXP", INT2FIX(DBL_MIN_10_EXP)); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c pack.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c parse.c | |
object.c:2476:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
pack.c:2154:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
parse.y:687:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(1) - (6)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:1476:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(1) - (4)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:1634:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(4) - (6)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:1672:11: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(3) - (5)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:1860:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(1) - (6)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:1922:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(1) - (6)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:1934:4: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line((yyval.node), (yyvsp[(1) - (6)].num)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:2763:22: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return yycompile(f, line); | |
^ | |
parse.y:2785:22: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
return yycompile(f, start); | |
^ | |
parse.y:3243:42: warning: incompatible pointer types passing 'ID *' (aka 'unsigned long *') to parameter of type 'int *' [-Wincompatible-pointer-types] | |
if (tokadd_string(func, term, paren, "e->nd_nest) == -1) { | |
^~~~~~~~~~~~~~~ | |
1 warning generatedIn file included from parse.y:3428: | |
./lex.c:76:3: warning: non-constant static local variable in inline function may be different in different files [-Wstatic-local-in-inline] | |
static struct kwtable wordlist[] = | |
^ | |
./lex.c:69:1: note: use 'static' to give inline function 'rb_reserved_word' internal linkage | |
__inline | |
^ | |
static | |
. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c process.c | |
parse.y:4596:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line(n, ruby_sourceline); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:4631:2: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line(nl, line); | |
^~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
parse.y:4645:5: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
nd_set_line(node, nd_line(orig)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./node.h:167:43: note: expanded from macro 'nd_set_line' | |
RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT)) | |
~~^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c prec.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
process.c:3397:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
process.c:3507:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
1 warning generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c random.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c range.c | |
1 warning generated. | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c re.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
2 warnings generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c regex.c | |
range.c:393:29: warning: incompatible function pointer types passing 'VALUE ()' (aka 'unsigned long ()') to parameter of type 'void (*)(VALUE, void *)' (aka 'void (*)(unsigned long, void *)') [-Wincompatible-function-pointer-types] | |
range_each_func(range, step_i, b, e, args); | |
^~~~~~ | |
random.c:306:12: warning: incompatible pointer types assigning to 'unsigned int *' from 'char *' [-Wincompatible-pointer-types] | |
digits = ALLOC_N(char, DEFAULT_SEED_LEN); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
re.c:1306:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
re.c:1942:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
11 warnings generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c ruby.c | |
regex.c:1369:7: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] | |
c, p-pattern); | |
^~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^~~~~~~~~~~ | |
regex.c:1532:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
set_list_bits(0x80, 0xffffffff, b); | |
^ | |
regex.c:1562:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
set_list_bits(0x80, 0xffffffff, b); | |
^ | |
regex.c:1579:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
set_list_bits(0x80, 0xffffffff, b); | |
^ | |
regex.c:1716:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
set_list_bits(last, c, b); | |
^ | |
regex.c:1736:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
set_list_bits(c, c, b); | |
^ | |
regex.c:2033:4: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] | |
p-pattern); | |
^~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^~~~~~~~~~~ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
1 warning generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c signal.c | |
1 warning generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c sprintf.c | |
1 warning generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c st.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
ruby.c:58:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] | |
char *ruby_inplace_mode = Qfalse; | |
^~~~~~ | |
./ruby.h:186:16: note: expanded from macro 'Qfalse' | |
#define Qfalse ((VALUE)0) | |
^~~~~~~~~~ | |
sprintf.c:41:8: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
*t |= EXTENDSIGN(3, strlen(t)); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
sprintf.c:22:32: note: expanded from macro 'EXTENDSIGN' | |
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n))) | |
~~ ^ | |
sprintf.c:41:8: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
*t |= EXTENDSIGN(3, strlen(t)); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
sprintf.c:22:76: note: expanded from macro 'EXTENDSIGN' | |
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n))) | |
~~ ^ | |
2 warnings generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c string.c | |
1 warning generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c struct.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c time.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c util.c | |
struct.c:649:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
string.c:1082:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
string.c:1086:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
string.c:4793:30: warning: too few arguments in call to 'get_arg_pat' | |
sep = get_arg_pat(tmp); | |
~~~~~~~~~~~ ^ | |
string.c:4836:30: warning: too few arguments in call to 'get_arg_pat' | |
sep = get_arg_pat(tmp); | |
~~~~~~~~~~~ ^ | |
string.c:4869:33: warning: too few arguments in call to 'get_arg_pat' | |
pat = get_arg_pat(prefix); | |
~~~~~~~~~~~ ^ | |
string.c:4897:33: warning: too few arguments in call to 'get_arg_pat' | |
pat = get_arg_pat(suffix); | |
~~~~~~~~~~~ ^ | |
time.c:973:13: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
time.c:976:9: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
return INT2FIX(-1); | |
^~~~~~~~~~~ | |
./ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
1 warning generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c variable.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
1 warning generated. | |
2 warnings generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c version.c | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dmyext.c | |
2 warnings generated. | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c main.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c dmydln.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
main.c:29:41: warning: implicit declaration of function 'objc_msgSend' is invalid in C99 [-Wimplicit-function-declaration] | |
static void objcdummyfunction( void ) { objc_msgSend(); } | |
^ | |
1 warning generated. | |
13 warnings generated. | |
11 warnings generated. | |
2 warnings generated. | |
6 warnings generated. | |
26 warnings generated. | |
14 warnings generated. | |
7 warnings generated. | |
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o | |
/usr/bin/clang -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -Wno-error=implicit-function-declaration -DRUBY_EXPORT -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib main.o dmydln.o libruby-static.a -ldl -lobjc -o miniruby | |
cc -dynamiclib -undefined suppress -flat_namespace -install_name /Users/slee/.rvm/rubies/ruby-1.8.7-p374/lib/libruby.dylib -current_version 1.8.7 -compatibility_version 1.8 array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -o libruby.1.8.7.dylib | |
rbconfig.rb updated | |
compiling Win32API | |
compiling bigdecimal | |
mkdir -p ../../.ext/i686-darwin21.1.0 | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c bigdecimal.c | |
mkdir -p ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
bigdecimal.c:501:30: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if(VpIsNegInf(p)) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
../../ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bigdecimal.c:758:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
bigdecimal.c:1906:58: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO",INT2FIX(VP_SIGN_NEGATIVE_ZERO)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bigdecimal.c:1912:60: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE",INT2FIX(VP_SIGN_NEGATIVE_FINITE)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
bigdecimal.c:1918:62: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE",INT2FIX(VP_SIGN_NEGATIVE_INFINITE)); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
5 warnings generated. | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/bigdecimal.bundle bigdecimal.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling curses | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_XOPEN_SOURCE_EXTENDED -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c curses.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/curses.bundle curses.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -lncurses -ltermcap -ldl -lobjc | |
compiling dbm | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_DBM_OPEN -DHAVE_TYPE_DBM -DHAVE_DBM_CLEARERR -DDBM_HDR="<ndbm.h>" -DHAVE_SYS_CDEFS_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c dbm.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/dbm.bundle dbm.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling digest | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/digest -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c digest.c | |
cp ../.././ext/digest/lib/md5.rb ../../.ext/common | |
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common | |
cp ../.././ext/digest/lib/digest.rb ../../.ext/common | |
cp ../.././ext/digest/digest.h ../../.ext/i686-darwin21.1.0 | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
digest.c:110:1: warning: non-void function does not return a value [-Wreturn-type] | |
} | |
^ | |
digest.c:128:1: warning: non-void function does not return a value [-Wreturn-type] | |
} | |
^ | |
digest.c:142:1: warning: non-void function does not return a value [-Wreturn-type] | |
} | |
^ | |
digest.c:280:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
cname = rb_obj_classname(self); | |
^ ~~~~~~~~~~~~~~~~~~~~~~ | |
digest.c:371:1: warning: non-void function does not return a value [-Wreturn-type] | |
} | |
^ | |
5 warnings generated. | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/digest.bundle digest.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling digest/bubblebabble | |
mkdir -p ../../../.ext/i686-darwin21.1.0/digest | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c bubblebabble.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin21.1.0/digest/bubblebabble.bundle bubblebabble.o -L. -L../../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling digest/md5 | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c md5init.c | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c md5ossl.c | |
clang: warningclang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin21.1.0/digest/md5.bundle md5init.o md5ossl.o -L. -L../../.. -L/Users/slee/.rvm/usr/lib -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -lcrypto -ldl -lobjc | |
compiling digest/rmd160 | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c rmd160init.c | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c rmd160ossl.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin21.1.0/digest/rmd160.bundle rmd160init.o rmd160ossl.o -L. -L../../.. -L/Users/slee/.rvm/usr/lib -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -lcrypto -ldl -lobjc | |
compiling digest/sha1 | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c sha1init.c | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c sha1ossl.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument]clang: | |
warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin21.1.0/digest/sha1.bundle sha1init.o sha1ossl.o -L. -L../../.. -L/Users/slee/.rvm/usr/lib -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -lcrypto -ldl -lobjc | |
compiling digest/sha2 | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c sha2.c | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c sha2init.c | |
mkdir -p ../../../.ext/common/digest | |
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin21.1.0/digest/sha2.bundle sha2.o sha2init.o -L. -L../../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling dl | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c handle.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ptr.c | |
mkdir -p ../../.ext/common/dl | |
Generating call.func | |
Generating callback.func | |
Generating cbtable.func | |
cp dlconfig.h ../../.ext/i686-darwin21.1.0 | |
cp ../.././ext/dl/dl.h ../../.ext/i686-darwin21.1.0 | |
cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl | |
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl | |
cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl | |
cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
void | |
char | |
short | |
int | |
long | |
float | |
double | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c sym.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c dl.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
ptr.c:462:36: warning: format specifies type 'unsigned long' but the argument has type 'struct ptr_data *' [-Wformat] | |
rb_class2name(CLASS_OF(self)), data, data->ptr, data->size, | |
^~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^~~~~~~~~~~ | |
ptr.c:462:42: warning: format specifies type 'unsigned long' but the argument has type 'void *' [-Wformat] | |
rb_class2name(CLASS_OF(self)), data, data->ptr, data->size, | |
^~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^~~~~~~~~~~ | |
sym.c:272:5: warning: format specifies type 'unsigned long' but the argument has type 'struct sym_data *' [-Wformat] | |
sym, sym->func, RSTRING(proto)->ptr); | |
^~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^~~~~~~~~~~ | |
sym.c:272:10: warning: format specifies type 'unsigned long' but the argument has type 'void *' [-Wformat] | |
sym, sym->func, RSTRING(proto)->ptr); | |
^~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' | |
__builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) | |
^~~~~~~~~~~ | |
dl.c:518:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
2 warnings generated. | |
2 warnings generated. | |
1 warning generated. | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/dl.bundle handle.o ptr.o sym.o dl.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -ldl -lobjc | |
compiling etc | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/etc -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DHAVE_ST_PW_GECOS -DHAVE_ST_PW_CHANGE -DHAVE_ST_PW_CLASS -DHAVE_ST_PW_EXPIRE -DHAVE_ST_PW_PASSWD -DHAVE_ST_GR_PASSWD -DHAVE_TYPE_UID_T -DPW_UID2VAL=UINT2NUM -DPW_VAL2UID=NUM2UINT -DHAVE_TYPE_GID_T -DPW_GID2VAL=UINT2NUM -DPW_VAL2GID=NUM2UINT -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c etc.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
etc.c:188:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
while (pw = getpwent()) { | |
~~~^~~~~~~~~~~~ | |
etc.c:188:15: note: place parentheses around the assignment to silence this warning | |
while (pw = getpwent()) { | |
^ | |
( ) | |
etc.c:188:15: note: use '==' to turn this assignment into an equality comparison | |
while (pw = getpwent()) { | |
^ | |
== | |
etc.c:226:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (pw = getpwent()) { | |
~~~^~~~~~~~~~~~ | |
etc.c:226:12: note: place parentheses around the assignment to silence this warning | |
if (pw = getpwent()) { | |
^ | |
( ) | |
etc.c:226:12: note: use '==' to turn this assignment into an equality comparison | |
if (pw = getpwent()) { | |
^ | |
== | |
etc.c:292:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (pw = getpwent()) { | |
~~~^~~~~~~~~~~~ | |
etc.c:292:12: note: place parentheses around the assignment to silence this warning | |
if (pw = getpwent()) { | |
^ | |
( ) | |
etc.c:292:12: note: use '==' to turn this assignment into an equality comparison | |
if (pw = getpwent()) { | |
^ | |
== | |
etc.c:393:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
while (pw = getgrent()) { | |
~~~^~~~~~~~~~~~ | |
etc.c:393:15: note: place parentheses around the assignment to silence this warning | |
while (pw = getgrent()) { | |
^ | |
( ) | |
etc.c:393:15: note: use '==' to turn this assignment into an equality comparison | |
while (pw = getgrent()) { | |
^ | |
== | |
etc.c:431:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (grp = getgrent()) { | |
~~~~^~~~~~~~~~~~ | |
etc.c:431:13: note: place parentheses around the assignment to silence this warning | |
if (grp = getgrent()) { | |
^ | |
( ) | |
etc.c:431:13: note: use '==' to turn this assignment into an equality comparison | |
if (grp = getgrent()) { | |
^ | |
== | |
etc.c:491:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] | |
if (gr = getgrent()) { | |
~~~^~~~~~~~~~~~ | |
etc.c:491:12: note: place parentheses around the assignment to silence this warning | |
if (gr = getgrent()) { | |
^ | |
( ) | |
etc.c:491:12: note: use '==' to turn this assignment into an equality comparison | |
if (gr = getgrent()) { | |
^ | |
== | |
6 warnings generated. | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/etc.bundle etc.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling fcntl | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/fcntl -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c fcntl.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/fcntl.bundle fcntl.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling gdbm | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/gdbm -DHAVE_GDBM_H -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c gdbm.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/gdbm.bundle gdbm.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -lgdbm -ldl -lobjc | |
compiling iconv | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/iconv -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c iconv.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/iconv.bundle iconv.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -liconv -ldl -lobjc | |
compiling io/wait | |
mkdir -p ../../../.ext/i686-darwin21.1.0/io | |
/usr/bin/clang -I. -I../../.. -I../../../. -I../../.././ext/io/wait -DFIONREAD_HEADER="<sys/ioctl.h>" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c wait.c | |
mkdir -p ../../../.ext/common/io | |
cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../../.ext/i686-darwin21.1.0/io/wait.bundle wait.o -L. -L../../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling nkf | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/nkf -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c nkf.c | |
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
In file included from nkf.c:79: | |
./nkf-utf8/nkf.c:1654:3: warning: expression result unused [-Wunused-value] | |
*cp++; | |
^~~~~ | |
./nkf-utf8/nkf.c:1663:3: warning: expression result unused [-Wunused-value] | |
*cp++; | |
^~~~~ | |
./nkf-utf8/nkf.c:1189:40: warning: while loop has empty body [-Wempty-body] | |
while(*cp && *cp != SPACE && cp++); | |
^ | |
./nkf-utf8/nkf.c:1189:40: note: put the semicolon on a separate line to silence this warning | |
nkf.c:116:14: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
options(option); | |
^~~~~~ | |
./nkf-utf8/nkf.c:1156:29: note: passing argument to parameter 'cp' here | |
void options(unsigned char *cp) | |
^ | |
nkf.c:124:10: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
options(option); | |
^~~~~~ | |
./nkf-utf8/nkf.c:1156:29: note: passing argument to parameter 'cp' here | |
void options(unsigned char *cp) | |
^ | |
5 warnings generated. | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/nkf.bundle nkf.o -L. -L../.. -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -ldl -lobjc | |
compiling openssl | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkcs7.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_ssl_session.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_hmac.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_ns_spki.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_rand.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_ocsp.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509req.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509cert.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509store.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkey_dh.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_bio.c | |
clangclang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
ossl_hmac.c:106:22: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
HMAC_Update(ctx, RSTRING_PTR(data), RSTRING_LEN(data)); | |
^~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h:97:53: note: passing argument to parameter 'data' here | |
int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, size_t len); | |
^ | |
ossl_hmac.c:122:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
HMAC_Final(&final, *buf, buf_len); | |
^~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h:98:46: note: passing argument to parameter 'md' here | |
int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); | |
^ | |
ossl_hmac.c:122:30: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
HMAC_Final(&final, *buf, buf_len); | |
^~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h:98:64: note: passing argument to parameter 'len' here | |
int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len); | |
^ | |
ossl_ocsp.c:113:56: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!d2i_OCSP_REQUEST((OCSP_REQUEST**)&DATA_PTR(self), &p, | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/ocsp.h:543:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(OCSP_REQUEST) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_x509req.c:174:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_ocsp.c:137:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ossl_hmac.c:201:9: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ret = OCSP_request_add1_nonce(req, RSTRING_PTR(val), RSTRING_LEN(val)); RSTRING_PTR(data), RSTRING_LEN(data), NULL, &buf_len); | |
^~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h ^~~~~~~~~~~~~~~~ | |
:100:28../../ruby.h: note: passing argument to parameter 'd' here | |
const unsigned char *d, size_t n, unsigned char *md, | |
^ | |
ossl_x509cert.c:193:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
: p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
ossl_hmac.c ^~~~~~~~~~~~~~~~~ | |
:201/Users/slee/.rvm/usr/include/openssl/ocsp.h:422:63: note: passing argument to parameter 'val' here | |
:53: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]int OCSP_request_add1_nonce(OCSP_REQUEST *req, unsigned char *val, int len); | |
^ | |
RSTRING_PTR(data), RSTRING_LEN(data), NULL, &buf_len); | |
^~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h:101:21: note: passing argument to parameter 'md_len' here | |
unsigned int *md_len); | |
^ | |
ossl_hmac.c:200:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
buf = HMAC(GetDigestPtr(digest), RSTRING_PTR(key), RSTRING_LEN(key), | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_hmac.c:222:9: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(data), RSTRING_LEN(data), NULL, &buf_len); | |
^~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h:100:28: note: passing argument to parameter 'd' here | |
const unsigned char *d, size_t n, unsigned char *md, | |
^ | |
ossl_hmac.c:222:53: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(data), RSTRING_LEN(data), NULL, &buf_len); | |
^~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/hmac.h:101:21: note: passing argument to parameter 'md_len' here | |
unsigned int *md_len); | |
^ | |
ossl_hmac.c:221:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
buf = HMAC(GetDigestPtr(digest), RSTRING_PTR(key), RSTRING_LEN(key), | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ns_spki.c:66:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(buffer); | |
^ ~~~~~~~~~~~~~~~~~~~ | |
ossl_ns_spki.c:67:39: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if (!(spki = d2i_NETSCAPE_SPKI(NULL, &p, RSTRING_LEN(buffer)))) { | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/x509.h:876:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(NETSCAPE_SPKI) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_ocsp.c:268:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_ns_spki.c:90:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_rand.c:102:21: warningossl_ocsp.c:319:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(arg); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_ocsp.c:320:58: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!d2i_OCSP_RESPONSE((OCSP_RESPONSE**)&DATA_PTR(self), &p, | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/ocsp.h:539:1: note: passing argument to parameter 'in' hereossl_pkcs7.c:89:20: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
DECLARE_ASN1_FUNCTIONS(OCSP_RESPONSE) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
pkcs7 = p7si ? PKCS7_SIGNER_INFO_dup(p7si) : PKCS7_SIGNER_INFO_new(); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~/Users/slee/.rvm/usr/include/openssl/asn1.h | |
:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS'./openssl_missing.h:58:2: note: expanded from macro 'PKCS7_SIGNER_INFO_dup' | |
(char *(*)())d2i_PKCS7_SIGNER_INFO, (char *)si) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!RAND_bytes(RSTRING_PTR(str), n)) { | |
^~~~~~~~~~~~~~~~ossl_pkcs7.c:102:19: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
if (!(pkcs7 = PKCS7_SIGNER_INFO_dup(p7si))) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:58:2: note: expanded from macro 'PKCS7_SIGNER_INFO_dup' | |
(char *(*)())d2i_PKCS7_SIGNER_INFO, (char *)si) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
ossl_pkcs7.c:115:20: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
ossl_ocsp.c:380:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
pkcs7 = p7ri ? PKCS7_RECIP_INFO_dup(p7ri) : PKCS7_RECIP_INFO_new(); | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:63:2: note: expanded from macro 'PKCS7_RECIP_INFO_dup' | |
(char *(*)())d2i_PKCS7_RECIP_INFO, (char *)ri) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
ossl_pkcs7.c:128:19: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
if (!(pkcs7 = PKCS7_RECIP_INFO_dup(p7ri))) { | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:63:2: note: expanded from macro 'PKCS7_RECIP_INFO_dup' | |
/Users/slee/.rvm/usr/include/openssl/rand.h:102:32: note: passing argument to parameter 'buf' here | |
(char *(*)())d2i_PKCS7_RECIP_INFO, (char *)ri) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
int RAND_bytes(unsigned char *buf,int num); | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
ossl_pkey_dh.c:257:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_rand.c:121:28: ossl_ns_spki.c:175:23: warningwarning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ossl_ocsp.c:439:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ret = OCSP_basic_add1_nonce(bs, RSTRING_PTR(val), RSTRING_LEN(val)); | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/ocsp.h:423:64: note: passing argument to parameter 'val' here | |
int OCSP_basic_add1_nonce(OCSP_BASICRESP *resp, unsigned char *val, int len); | |
^ | |
if (!RAND_pseudo_bytes(RSTRING_PTR(str), n)) { | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rand.h:103:39: note: passing argument to parameter 'buf' here | |
int RAND_pseudo_bytes(unsigned char *buf,int num); | |
^ | |
: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
return rb_str_new(spki->spkac->challenge->data, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_pkey_dh.c:410:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if ((len = DH_compute_key(RSTRING_PTR(str), pub_key, dh)) < 0) { | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/dh.h:212:35: note: passing argument to parameter 'key' here | |
int DH_compute_key(unsigned char *key,const BIGNUM *pub_key,DH *dh); | |
^ | |
../../intern.h:428:32: note: passing argument to parameter here | |
VALUE rb_str_new _((const char*, long)); | |
^ | |
ossl_x509cert.c:693:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
char *cname = rb_class2name(rb_obj_class(self)); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_pkcs7.c:801:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
2 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509crl.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkey_ec.c | |
9 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkcs5.c | |
4 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c openssl_missing.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkey_rsa.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_bn.c | |
1 warning generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_cipher.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
2 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkcs12.c | |
2 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkey_dsa.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_digest.c | |
clang: warning: clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
7 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_asn1.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509revoked.c | |
ossl_pkcs5.c:78:70: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (PKCS5_PBKDF2_HMAC_SHA1(RSTRING_PTR(pass), RSTRING_LEN(pass), RSTRING_PTR(salt), RSTRING_LEN(salt), NUM2INT(iter), len, RSTRING_PTR(str)) != 1) | |
^~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:967:28: note: passing argument to parameter 'salt' here | |
const unsigned char *salt, int saltlen, int iter, | |
^ | |
ossl_pkcs5.c:78:128: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (PKCS5_PBKDF2_HMAC_SHA1(RSTRING_PTR(pass), RSTRING_LEN(pass), RSTRING_PTR(salt), RSTRING_LEN(salt), NUM2INT(iter), len, RSTRING_PTR(str)) != 1) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:968:34: note: passing argument to parameter 'out' here | |
int keylen, unsigned char *out); | |
^ | |
ossl_pkey_ec.c:703:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
ossl_pkey_ec.c:1099:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
return rb_str_new(EC_GROUP_get0_seed(group), seed_len); | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
../../intern.h:428:32: note: passing argument to parameter here | |
VALUE rb_str_new _((const char*, long)); | |
^ | |
ossl_pkey_ec.c:1114:34: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (EC_GROUP_set_seed(group, RSTRING_PTR(seed), RSTRING_LEN(seed)) != RSTRING_LEN(seed)) | |
^~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/ec.h:282:59: note: passing argument to parameter here | |
size_t EC_GROUP_set_seed(EC_GROUP *, const unsigned char *, size_t len); | |
^ | |
ossl_pkey_ec.c:1355:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
ossl_pkey_ec.c:1376:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
ossl_pkey_rsa.c:291:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_pkey_rsa.c:318:55: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
buf_len = RSA_public_encrypt(RSTRING_LEN(buffer), RSTRING_PTR(buffer), | |
^~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:296:55: note: passing argument to parameter 'from' here | |
int RSA_public_encrypt(int flen, const unsigned char *from, | |
^ | |
ossl_pkey_rsa.c:319:6: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(str), pkey->pkey.rsa, | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:297:18: note: passing argument to parameter 'to' here | |
unsigned char *to, RSA *rsa,int padding); | |
^ | |
ossl_pkey_rsa.c:344:55: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
buf_len = RSA_public_decrypt(RSTRING_LEN(buffer), RSTRING_PTR(buffer), | |
^~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:300:55: note: passing argument to parameter 'from' here | |
int RSA_public_decrypt(int flen, const unsigned char *from, | |
^ | |
ossl_pkey_rsa.c:345:6: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(str), pkey->pkey.rsa, | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:301:18: note: passing argument to parameter 'to' here | |
unsigned char *to, RSA *rsa,int padding); | |
^ | |
ossl_pkey_rsa.c:373:56: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
buf_len = RSA_private_encrypt(RSTRING_LEN(buffer), RSTRING_PTR(buffer), | |
^~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:298:56: note: passing argument to parameter 'from' here | |
int RSA_private_encrypt(int flen, const unsigned char *from, | |
^ | |
ossl_pkey_rsa.c:374:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(str), pkey->pkey.rsa, | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:299:18: note: passing argument to parameter 'to' here | |
unsigned char *to, RSA *rsa,int padding); | |
^ | |
ossl_pkey_rsa.c:403:56: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
buf_len = RSA_private_decrypt(RSTRING_LEN(buffer), RSTRING_PTR(buffer), | |
^~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:302:56: note: passing argument to parameter 'from' here | |
int RSA_private_decrypt(int flen, const unsigned char *from, | |
^ | |
ossl_pkey_rsa.c:404:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(str), pkey->pkey.rsa, | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/rsa.h:303:18: note: passing argument to parameter 'to' here | |
unsigned char *to, RSA *rsa,int padding); | |
^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
2 warnings generated. | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509.c | |
5 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_pkey.c | |
ossl_bn.c:134:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!BN_mpi2bn(RSTRING_PTR(str), RSTRING_LEN(str), bn)) { | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/bn.h:448:40: note: passing argument to parameter 's' here | |
BIGNUM *BN_mpi2bn(const unsigned char *s,int len,BIGNUM *ret); | |
^ | |
ossl_bn.c:139:17: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!BN_bin2bn(RSTRING_PTR(str), RSTRING_LEN(str), bn)) { | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/bn.h:446:40: note: passing argument to parameter 's' here | |
BIGNUM *BN_bin2bn(const unsigned char *s,int len,BIGNUM *ret); | |
^ | |
ossl_bn.c:188:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (BN_bn2mpi(bn, RSTRING_PTR(str)) != len) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/bn.h:449:47: note: passing argument to parameter 'to' here | |
int BN_bn2mpi(const BIGNUM *a, unsigned char *to); | |
^ | |
ossl_bn.c:194:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (BN_bn2bin(bn, RSTRING_PTR(str)) != len) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/bn.h:447:47: note: passing argument to parameter 'to' here | |
int BN_bn2bin(const BIGNUM *a, unsigned char *to); | |
^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
ossl_cipher.c:191:8: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
char *cname = rb_class2name(rb_obj_class(self)); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_cipher.c:207:10: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(pass), RSTRING_LEN(pass), 1, key, NULL); | |
^~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:573:51: note: passing argument to parameter 'data' here | |
const unsigned char *salt, const unsigned char *data, | |
^ | |
ossl_cipher.c:284:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
salt = RSTRING_PTR(vsalt); | |
^ ~~~~~~~~~~~~~~~~~~ | |
ossl_cipher.c:290:6: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(vpass), RSTRING_LEN(vpass), iter, key, iv); | |
^~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:573:51: note: passing argument to parameter 'data' here | |
const unsigned char *salt, const unsigned char *data, | |
^ | |
ossl_cipher.c:314:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
cname = rb_class2name(rb_obj_class(self)); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_cipher.c:352:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!EVP_CipherUpdate(ctx, RSTRING_PTR(str), &out_len, in, in_len)) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:604:58: note: passing argument to parameter 'out' here | |
int EVP_CipherUpdate(EVP_CIPHER_CTX *ctx, unsigned char *out, | |
^ | |
ossl_cipher.c:352:60: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!EVP_CipherUpdate(ctx, RSTRING_PTR(str), &out_len, in, in_len)) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:605:35: note: passing argument to parameter 'in' here | |
int *outl, const unsigned char *in, int inl); | |
^ | |
ossl_cipher.c:377:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!EVP_CipherFinal_ex(ctx, RSTRING_PTR(str), &out_len)) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:607:60: note: passing argument to parameter 'outm' here | |
int EVP_CipherFinal_ex(EVP_CIPHER_CTX *ctx, unsigned char *outm, int *outl); | |
^ | |
ossl_cipher.c:420:44: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (EVP_CipherInit_ex(ctx, NULL, NULL, RSTRING_PTR(key), NULL, -1) != 1) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:602:31: note: passing argument to parameter 'key' here | |
const unsigned char *key,const unsigned char *iv, | |
^ | |
ossl_cipher.c:445:50: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, RSTRING_PTR(iv), -1) != 1) | |
^~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:602:56: note: passing argument to parameter 'iv' here | |
const unsigned char *key,const unsigned char *iv, | |
^ | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
ossl_pkcs12.c:184:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_pkey_dsa.c:165:12: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
dsa = PEM_read_bio_DSAPublicKey(in, NULL, NULL, NULL); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:31:9: note: expanded from macro 'PEM_read_bio_DSAPublicKey' | |
(char *(*)())d2i_DSAPublicKey,PEM_STRING_DSA_PUBLIC,bp,(char **)x,cb,u) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/pem.h:417:39: note: passing argument to parameter 'd2i' here | |
void * PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, | |
^ | |
ossl_pkey_dsa.c:165:12: warning: incompatible pointer types passing 'char **' to parameter of type 'void **' [-Wincompatible-pointer-types] | |
dsa = PEM_read_bio_DSAPublicKey(in, NULL, NULL, NULL); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:31:64: note: expanded from macro 'PEM_read_bio_DSAPublicKey' | |
(char *(*)())d2i_DSAPublicKey,PEM_STRING_DSA_PUBLIC,bp,(char **)x,cb,u) | |
^~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/pem.h:418:13: note: passing argument to parameter 'x' here | |
void **x, pem_password_cb *cb, void *u); | |
^ | |
ossl_pkey_dsa.c:292:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_pkey_dsa.c:370:11: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
dsa = DSAPublicKey_dup(pkey->pkey.dsa); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:48:2: note: expanded from macro 'DSAPublicKey_dup' | |
(char *(*)())d2i_DSAPublicKey,(char *)dsa) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
ossl_pkey_dsa.c:399:22: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!DSA_sign(0, RSTRING_PTR(data), RSTRING_LEN(data), RSTRING_PTR(str), | |
^~~~~~~~~~~~~~~~~ | |
ossl_digest.c:191:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
EVP_DigestFinal_ex(ctx, RSTRING_PTR(str), NULL); | |
^~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/dsa.h:215:44: note: passing argument to parameter 'dgst' here | |
int DSA_sign(int type,const unsigned char *dgst,int dlen, | |
^ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
ossl_pkey_dsa.c:399:60: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
if (!DSA_sign(0, RSTRING_PTR(data), RSTRING_LEN(data), RSTRING_PTR(str), | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/dsa.h:216:18: note: passing argument to parameter 'sig' here | |
unsigned char *sig, unsigned int *siglen, DSA *dsa); | |
^ | |
ossl_pkey_dsa.c:400:5: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
&buf_len, pkey->pkey.dsa)) { /* type is ignored (0) */ | |
^~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/dsa.h:216:37: note: passing argument to parameter 'siglen' here | |
unsigned char *sig, unsigned int *siglen, DSA *dsa); | |
^ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:559:55: note: passing argument to parameter 'md' here | |
int EVP_DigestFinal_ex(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s); | |
^ | |
ossl_pkey_dsa.c:423:25: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ret = DSA_verify(0, RSTRING_PTR(digest), RSTRING_LEN(digest), | |
^~~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/dsa.h:217:46: note: passing argument to parameter 'dgst' here | |
int DSA_verify(int type,const unsigned char *dgst,int dgst_len, | |
^ | |
ossl_pkey_dsa.c:424:8: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(sig), RSTRING_LEN(sig), pkey->pkey.dsa); | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/dsa.h:218:24: note: passing argument to parameter 'sigbuf' here | |
const unsigned char *sigbuf, int siglen, DSA *dsa); | |
^ | |
1 warning generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509name.c | |
ossl_asn1.c:36:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (sscanf(time->data, "%2d%2d%2d%2d%2d%2dZ", &tm.tm_year, &tm.tm_mon, | |
^~~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here | |
int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); | |
^ | |
ossl_asn1.c:47:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (sscanf(time->data, "%4d%2d%2d%2d%2d%2dZ", &tm.tm_year, &tm.tm_mon, | |
^~~~~~~~~~ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:181:36: note: passing argument to parameter here | |
int sscanf(const char * __restrict, const char * __restrict, ...) __scanflike(2, 3); | |
^ | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509ext.c | |
ossl_asn1.c:83:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
return rb_str_new(str->data, str->length); | |
^~~~~~~~~ | |
../../intern.h:428:32: note: passing argument to parameter here | |
VALUE rb_str_new _((const char*, long)); | |
^ | |
ossl_asn1.c:221:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ASN1_BIT_STRING_set(bstr, RSTRING_PTR(obj), RSTRING_LEN(obj)); | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:813:61: note: passing argument to parameter 'd' here | |
int ASN1_BIT_STRING_set(ASN1_BIT_STRING *a, unsigned char *d, | |
^ | |
ossl_asn1.c:317:38: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if((val = d2i_ASN1_BOOLEAN(NULL, &p, length)) < 0) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:829:53: note: passing argument to parameter 'pp' here | |
int d2i_ASN1_BOOLEAN(int *a,const unsigned char **pp,long length); | |
^ | |
ossl_asn1.c:332:38: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!(ai = d2i_ASN1_INTEGER(NULL, &p, length))) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:831:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_asn1.c:372:41: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!(ai = d2i_ASN1_ENUMERATED(NULL, &p, length))) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:840:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_asn1.c:389:37: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!(null = d2i_ASN1_NULL(NULL, &p, length))) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:866:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(ASN1_NULL) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_asn1.c:406:38: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!(obj = d2i_ASN1_OBJECT(NULL, &p, length))) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:786:69: note: passing argument to parameter 'pp' here | |
ASN1_OBJECT * d2i_ASN1_OBJECT(ASN1_OBJECT **a,const unsigned char **pp, | |
^ | |
ossl_asn1.c:434:37: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
if(!(time = d2i_ASN1_TIME(NULL, &p, length))) | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:882:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(ASN1_TIME) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
1 warning generated. | |
ossl_x509revoked.c:48:8: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
new = X509_REVOKED_dup(rev); | |
^~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:53:2: note: expanded from macro 'X509_REVOKED_dup' | |
(char *(*)())d2i_X509_REVOKED, (char *)rev) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
ossl_x509revoked.c:64:17: warning: incompatible function pointer types passing 'char *(*)()' to parameter of type 'd2i_of_void *' (aka 'void *(*)(void **, const unsigned char **, long)') [-Wincompatible-function-pointer-types] | |
if (!(new = X509_REVOKED_dup(rev))) { | |
^~~~~~~~~~~~~~~~~~~~~ | |
./openssl_missing.h:53:2: note: expanded from macro 'X509_REVOKED_dup' | |
(char *(*)())d2i_X509_REVOKED, (char *)rev) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:954:47: note: passing argument to parameter 'd2i' here | |
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x); | |
^ | |
ossl_asn1.c:704:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(der); | |
^ ~~~~~~~~~~~~~~~~ | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_ssl.c | |
ossl_asn1.c:726:22: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
j = ASN1_get_object(&p, &len, &tag, &tc, length); | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:944:43: note: passing argument to parameter 'pp' here | |
int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag, | |
^ | |
ossl_asn1.c:761:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
value = rb_str_new(p, len); | |
^ | |
../../intern.h:428:32: note: passing argument to parameter here | |
VALUE rb_str_new _((const char*, long)); | |
^ | |
ossl_asn1.c:826:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(tmp); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_asn1.c:842:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(tmp); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_asn1.c:859:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(tmp); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_asn1.c:954:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
str = ossl_buf2str(buf, reallen); /* buf will be free in ossl_buf2str */ | |
^~~ | |
./ossl.h:130:26: note: passing argument to parameter 'buf' here | |
VALUE ossl_buf2str(char *buf, int len); | |
^ | |
ossl_asn1.c:976:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
10 warningsclang generated: . | |
warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_config.c | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
ossl_pkey.c:178:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!EVP_SignFinal(&ctx, RSTRING_PTR(str), &buf_len, pkey)) | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:609:50: note: passing argument to parameter 'md' here | |
int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s, | |
^ | |
ossl_pkey.c:178:48: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!EVP_SignFinal(&ctx, RSTRING_PTR(str), &buf_len, pkey)) | |
^~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:609:67: note: passing argument to parameter 's' here | |
int EVP_SignFinal(EVP_MD_CTX *ctx,unsigned char *md,unsigned int *s, | |
^ | |
ossl_pkey.c:197:35: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
switch (EVP_VerifyFinal(&ctx, RSTRING_PTR(sig), RSTRING_LEN(sig), pkey)) { | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/evp.h:612:58: note: passing argument to parameter 'sigbuf' here | |
int EVP_VerifyFinal(EVP_MD_CTX *ctx,const unsigned char *sigbuf, | |
^ | |
2 warnings generated. | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_x509attr.c | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -I/Users/slee/.rvm/usr/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c ossl_engine.c | |
9 warnings generated. | |
mkdir -p ../../.ext/common/net | |
mkdir -p ../../.ext/common/openssl | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
cp ../.././ext/openssl/lib/net/ftptls.rb ../../.ext/common/net | |
9 warnings generated. | |
cp ../.././ext/openssl/lib/net/telnets.rb ../../.ext/common/net | |
cp ../.././ext/openssl/lib/openssl/buffering.rb ../../.ext/common/openssl | |
3 warnings generated. | |
cp ../.././ext/openssl/lib/openssl/ssl-internal.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/ssl.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/pkcs7.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/bn.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/config.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/x509.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/digest.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl/x509-internal.rb ../../.ext/common/openssl | |
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common | |
ossl_x509name.c:143:31: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
x = d2i_X509_NAME(&name, &p, RSTRING_LEN(str)); | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/x509.h:833:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(X509_NAME) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_x509name.c:170:3: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
RSTRING_PTR(value), RSTRING_LEN(value), -1, 0)) { | |
^~~~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/x509.h:1030:25: note: passing argument to parameter 'bytes' here | |
const unsigned char *bytes, int len, int loc, int set); | |
^ | |
ossl_x509ext.c:284:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
ossl_x509name.c:251:24 p = RSTRING_PTR(oid); | |
^ ~~~~~~~~~~~~~~~~ | |
: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
rb_str_new(entry->value->data, entry->value->length), | |
^~~~~~~~~~~~~~~~~~ | |
ossl_x509ext.c:286:11: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
&p, RSTRING_LEN(oid))) | |
^~ | |
../../intern.h:428:32: note: passing argument to parameter here | |
/Users/slee/.rvm/usr/include/openssl/x509.h:828:1: note: passing argument to parameter 'in' here | |
VALUE rb_str_new _((const char*, long)); | |
^ | |
DECLARE_ASN1_FUNCTIONS(X509_EXTENSION) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_x509name.c:275:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] | |
if (result < 0) return INT2FIX(-1); | |
^~~~~~~~~~~ | |
../../ruby.h:143:40: note: expanded from macro 'INT2FIX' | |
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG)) | |
~~~~~~~~~~~^ | |
ossl_x509name.c:346:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_x509ext.c:414:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:101:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(TLSv1), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:193:1: note: expanded from here | |
TLSv1_method | |
^~~~~~~~~~~~ | |
ossl_ssl.c:102:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(TLSv1_server), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:195:1: note: expanded from here | |
TLSv1_server_method | |
^~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:103:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(TLSv1_client), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:197:1: note: expanded from here | |
TLSv1_client_method | |
^~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:108:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv2), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:199:1: note: expanded from here | |
SSLv2_method | |
^~~~~~~~~~~~ | |
ossl_ssl.c:109:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv2_server), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:201:1: note: expanded from here | |
SSLv2_server_method | |
^~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:110:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv2_client), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:203:1: note: expanded from here | |
SSLv2_client_method | |
^~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:113:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv3), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:205:1: note: expanded from here | |
SSLv3_method | |
^~~~~~~~~~~~ | |
ossl_ssl.c:114:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv3_server), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:2:1: note: expanded from here | |
SSLv3_server_method | |
^~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:115:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv3_client), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:4:1: note: expanded from here | |
SSLv3_client_method | |
^~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:116:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv23), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:6:1: note: expanded from here | |
SSLv23_method | |
^~~~~~~~~~~~~ | |
ossl_ssl.c:117:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv23_server), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:8:1: note: expanded from here | |
SSLv23_server_method | |
^~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:118:5: warning: incompatible function pointer types initializing 'SSL_METHOD *(*)(void)' (aka 'struct ssl_method_st *(*)(void)') with an expression of type 'const SSL_METHOD *(void)' (aka 'const struct ssl_method_st *(void)') [-Wincompatible-function-pointer-types] | |
OSSL_SSL_METHOD_ENTRY(SSLv23_client), | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:100:46: note: expanded from macro 'OSSL_SSL_METHOD_ENTRY' | |
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method } | |
^~~~~~~~~~~~~ | |
<scratch space>:10:1: note: expanded from here | |
SSLv23_client_method | |
^~~~~~~~~~~~~~~~~~~~ | |
4 warnings generated. | |
ossl_ssl.c:333:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
rb_ary_push(ary, rb_str_new(buf, len)); | |
^~~ | |
../../intern.h:428:32: note: passing argument to parameter here | |
VALUE rb_str_new _((const char*, long)); | |
^ | |
ossl_ssl.c:575:43: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
if (!SSL_CTX_set_session_id_context(ctx, RSTRING_PTR(val), | |
^~~~~~~~~~~~~~~~ | |
../../ruby.h:368:24: note: expanded from macro 'RSTRING_PTR' | |
#define RSTRING_PTR(s) (RSTRING(s)->ptr) | |
^~~~~~~~~~~~~~~~~ | |
/Users/slee/.rvm/usr/include/openssl/ssl.h:1812:70: note: passing argument to parameter 'sid_ctx' here | |
int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, | |
^ | |
ossl_ssl.c:1233:12: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
cipher = SSL_get_current_cipher(ssl); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_ssl.c:1300:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] | |
} | |
^ | |
5 warnings generated. | |
ossl_engine.c:347:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] | |
char *cname = rb_class2name(rb_obj_class(self)); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
ossl_x509attr.c:102:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(oid); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_x509attr.c:104:11: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] | |
&p, RSTRING_LEN(oid))){ | |
^~ | |
/Users/slee/.rvm/usr/include/openssl/x509.h:825:1: note: passing argument to parameter 'in' here | |
DECLARE_ASN1_FUNCTIONS(X509_ATTRIBUTE) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:302:38: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS' | |
#define DECLARE_ASN1_FUNCTIONS(type) DECLARE_ASN1_FUNCTIONS_name(type, type) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:309:2: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name' | |
DECLARE_ASN1_ENCODE_FUNCTIONS(type, name, name) | |
^ | |
/Users/slee/.rvm/usr/include/openssl/asn1.h:316:51: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS' | |
type *d2i_##name(type **a, const unsigned char **in, long len); \ | |
^ | |
ossl_x509attr.c:215:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_x509attr.c:224:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
ossl_x509attr.c:250:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] | |
p = RSTRING_PTR(str); | |
^ ~~~~~~~~~~~~~~~~ | |
5 warnings generated. | |
3 warnings generated. | |
18 warnings generated. | |
5 warnings generated. | |
1 warning generated. | |
16 warnings generated. | |
cc -dynamic -bundle -undefined suppress -flat_namespace -o ../../.ext/i686-darwin21.1.0/openssl.bundle ossl_pkcs7.o ossl_ssl_session.o ossl_hmac.o ossl_ns_spki.o ossl_rand.o ossl_ocsp.o ossl.o ossl_x509req.o ossl_x509cert.o ossl_x509store.o ossl_pkey_dh.o ossl_bio.o ossl_x509crl.o ossl_pkey_ec.o ossl_pkcs5.o openssl_missing.o ossl_pkey_rsa.o ossl_bn.o ossl_cipher.o ossl_pkcs12.o ossl_pkey_dsa.o ossl_digest.o ossl_asn1.o ossl_x509revoked.o ossl_x509.o ossl_pkey.o ossl_x509name.o ossl_x509ext.o ossl_ssl.o ossl_config.o ossl_x509attr.o ossl_engine.o -L. -L../.. -L/Users/slee/.rvm/usr/lib -L. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@3/lib -lruby -lssl -lcrypto -ldl -lobjc | |
compiling pty | |
/usr/bin/clang -I. -I../.. -I../../. -I../.././ext/pty -DHAVE_OPENPTY -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@3/include -O2 -fno-tree-dce -fno-optimize-sibling-calls -fno-common -pipe -fno-common -c pty.c | |
cp ../.././ext/pty/lib/expect.rb ../../.ext/common | |
clang: warning: optimization flag '-fno-tree-dce' is not supported [-Wignored-optimization-argument] | |
pty.c:316:9: error: implicit declaration of function 'openpty' is invalid in C99 [-Werror,-Wimplicit-function-declaration] | |
if (openpty(master, slave, SlaveName, | |
^ | |
pty.c:316:9: note: did you mean 'openat'? | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/fcntl.h:565:9: note: 'openat' declared here | |
int openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat) __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_8_0); | |
^ | |
1 error generated. | |
make[1]: *** [pty.o] Error 1 | |
make: *** [all] Error 1 | |
+++ return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any luck resolving this?