Open asomers opened 1 year ago
It seems this is related to unused parameters in the size
and reverse
functions that aren't accounted for in the rb_define_method
parameter count, and a clang change made this an error and not a warning. Opened PR #8, which appears to resolve this.
The --with-cflags=-Wno-error=incompatible-function-pointer-types
workaround mentioned here also resolves the issue for me:
https://github.com/grpc/grpc/issues/35148#issuecomment-2016742245
But of course preferable to fix the underlying error vs. disabling the check.
Attempting to build the extension with Clang 16 fails like this:
My environment is: