checking for --enable-debug-build option... -------------------- no

--------------------

try_compiler_option: checking for -Wall option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -o conftest -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common conftest.c  -L. -L/opt/local/lib -L/opt/local/lib -L. -L/opt/local/libexec/openssl11/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -fstack-protector-strong -L/opt/local/lib   -arch x86_64   -lruby.3.1   "
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common  -arch x86_64 -Wall -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wcast-align option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall  -arch x86_64 -Wcast-align -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wextra option to compiler... -------------------- no

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align  -arch x86_64 -Wextra -Werror -c conftest.c"
In file included from conftest.c:1:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:27:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic.h:23:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/arithmetic/char.h:29:
In file included from /opt/local/include/ruby-3.1.4/ruby/internal/core/rstring.h:30:
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:794:24: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
RB_OBJ_TAINTABLE(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:811:26: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
RB_OBJ_TAINTED_RAW(VALUE obj)
                         ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:828:22: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
RB_OBJ_TAINTED(VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:843:24: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
RB_OBJ_TAINT_RAW(VALUE obj)
                       ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:858:20: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
RB_OBJ_TAINT(VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:25: error: unused parameter 'dst' [-Werror,-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                        ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:874:36: error: unused parameter 'src' [-Werror,-Wunused-parameter]
RB_OBJ_INFECT_RAW(VALUE dst, VALUE src)
                                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:21: error: unused parameter 'dst' [-Werror,-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                    ^
/opt/local/include/ruby-3.1.4/ruby/internal/fl_type.h:890:32: error: unused parameter 'src' [-Werror,-Wunused-parameter]
RB_OBJ_INFECT(VALUE dst, VALUE src)
                               ^
In file included from conftest.c:1:
In file included from /opt/local/include/ruby-3.1.4/ruby.h:38:
In file included from /opt/local/include/ruby-3.1.4/ruby/ruby.h:44:
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:22: error: unused parameter 'clone' [-Werror,-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                     ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:173:35: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
rb_clone_setup(VALUE clone, VALUE obj)
                                  ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:20: error: unused parameter 'dup' [-Werror,-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                   ^
/opt/local/include/ruby-3.1.4/ruby/internal/newobj.h:190:31: error: unused parameter 'obj' [-Werror,-Wunused-parameter]
rb_dup_setup(VALUE dup, VALUE obj)
                              ^
13 errors generated.
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wformat=2 option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align  -arch x86_64 -Wformat=2 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Winit-self option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2  -arch x86_64 -Winit-self -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wlarger-than-65500 option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self  -arch x86_64 -Wlarger-than-65500 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wmissing-declarations option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500  -arch x86_64 -Wmissing-declarations -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wmissing-format-attribute option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations  -arch x86_64 -Wmissing-format-attribute -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wmissing-include-dirs option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute  -arch x86_64 -Wmissing-include-dirs -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wmissing-noreturn option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs  -arch x86_64 -Wmissing-noreturn -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wmissing-prototypes option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn  -arch x86_64 -Wmissing-prototypes -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wnested-externs option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes  -arch x86_64 -Wnested-externs -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wold-style-definition option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs  -arch x86_64 -Wold-style-definition -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wpacked option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition  -arch x86_64 -Wpacked -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked  -arch x86_64 -Wp,-D_FORTIFY_SOURCE=2 -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wpointer-arith option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2  -arch x86_64 -Wpointer-arith -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wundef option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith  -arch x86_64 -Wundef -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wout-of-line-declaration option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wundef  -arch x86_64 -Wout-of-line-declaration -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wunsafe-loop-optimizations option to compiler... -------------------- no

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wundef -Wout-of-line-declaration  -arch x86_64 -Wunsafe-loop-optimizations -Werror -c conftest.c"
error: unknown warning option '-Wunsafe-loop-optimizations'; did you mean '-Wunavailable-declarations'? [-Werror,-Wunknown-warning-option]
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

try_compiler_option: checking for -Wwrite-strings option to compiler... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wundef -Wout-of-line-declaration  -arch x86_64 -Wwrite-strings -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

--------------------

setup_homebrew: checking for Homebrew... -------------------- no

--------------------

have_package: checking for cairo... -------------------- yes (1.17.6)

--------------------

have_header: checking for rb_cairo.h... -------------------- yes

DYLD_FALLBACK_LIBRARY_PATH=.:/opt/local/lib "/usr/bin/clang -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/cairo-1.17.13/ext/cairo/../../lib -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/cairo-1.17.13/ext/cairo -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/pango-4.2.4/ext/pango/../../lib -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/pango-4.2.4/ext/pango -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/cairo-gobject-4.2.4/ext/cairo-gobject/../../lib -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/cairo-gobject-4.2.4/ext/cairo-gobject -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/gobject-introspection-4.2.4/ext/gobject-introspection/../../lib -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/gobject-introspection-4.2.4/ext/gobject-introspection -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/glib2-4.2.4/ext/glib2/../../lib -I/opt/local/lib/ruby3.1/gems/3.1.0/gems/glib2-4.2.4/ext/glib2 -I/opt/local/include/ruby-3.1.4/x86_64-darwin17 -I/opt/local/include/ruby-3.1.4/ruby/backward -I/opt/local/include/ruby-3.1.4 -I. -I/opt/local/include/cairo -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/libexec/openssl11/include -isystem/opt/local/include -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -pipe -I/opt/local/libexec/openssl11/include -Os -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -Wundef -fno-common -Wall -Wcast-align -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wundef -Wout-of-line-declaration -Wwrite-strings   -arch x86_64  -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <rb_cairo.h>
/* end */

--------------------

have_package: checking for gtk+-3.0... -------------------- yes (3.24.42)

--------------------

have_package: checking for gobject-introspection-1.0... -------------------- yes (1.78.1)

--------------------

