From: eregontp@... Date: 2021-04-05T17:14:26+00:00 Subject: [ruby-core:103241] [Ruby master Bug#17777] 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 Issue #17777 has been reported by Eregon (Benoit Daloze). ---------------------------------------- Bug #17777: 2.6.7 fails to build on macOS: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 https://bugs.ruby-lang.org/issues/17777 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * ruby -v: 2.6.7 * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- https://github.com/ruby/ruby-builder/runs/2271346109?check_suite_focus=true#step:14:11253 ``` vm.c:2295:9: error: implicit declaration of function 'rb_native_mutex_destroy' is invalid in C99 ``` There is also a warning below that might be worth solving: ``` vm.c:2489:34: warning: expression does not compute the number of elements in this array; element type is 'const int', not 'VALUE' (aka 'unsigned long') [-Wsizeof-array-div] sizeof(ec->machine.regs) / sizeof(VALUE)); ~~~~~~~~~~~~~~~~ ^ vm.c:2489:34: note: place parentheses around the 'sizeof(VALUE)' expression to silence this warning ``` -- https://bugs.ruby-lang.org/ Unsubscribe: