>>> Building on exopi-4 under devel/ruby-ncurses,ruby32 BDEPENDS = [lang/ruby/3.2] DIST = [devel/ruby-ncurses,ruby32:ncurses-ruby-1.2.4.gem] FULLPKGNAME = ruby32-ncurses-1.2.4p2 RDEPENDS = [lang/ruby/3.2] (Junk lock obtained for exopi-4 at 1734987658.85) >>> Running depends in devel/ruby-ncurses,ruby32 at 1734987658.89 last junk was in audio/libopenmpt /usr/sbin/pkg_add -aI -Drepair ruby-3.2.6 was: /usr/sbin/pkg_add -aI -Drepair ruby-3.2.6 /usr/sbin/pkg_add -aI -Drepair ruby-3.2.6 >>> Running show-prepare-results in devel/ruby-ncurses,ruby32 at 1734987662.46 ===> devel/ruby-ncurses,ruby32 ===> Building from scratch ruby32-ncurses-1.2.4p2 ===> ruby32-ncurses-1.2.4p2 depends on: ruby->=3.2.0,<3.3 -> ruby-3.2.6 ===> Verifying specs: form menu curses panel ruby32 c gmp m pthread ===> found form.7.0 menu.7.0 curses.15.0 panel.7.0 ruby32.0.0 c.100.3 gmp.11.1 m.10.1 pthread.27.1 ruby-3.2.6 (Junk lock released for exopi-4 at 1734987663.43) distfiles size=67072 >>> Running build in devel/ruby-ncurses,ruby32 at 1734987663.47 ===> devel/ruby-ncurses,ruby32 ===> Checking files for ruby32-ncurses-1.2.4p2 `/exopi-cvs/ports/distfiles/ncurses-ruby-1.2.4.gem' is up to date. >> (SHA256) all files: OK ===> Extracting for ruby32-ncurses-1.2.4p2 ===> Patching for ruby32-ncurses-1.2.4p2 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for ruby32-ncurses-1.2.4p2 ===> Configuring for ruby32-ncurses-1.2.4p2 ===> Building for ruby32-ncurses-1.2.4p2 if [ -f /exopi-obj/pobj/ncurses-1.2.4-ruby32/ncurses-ruby-1.2.4/.metadata ]; then cd /exopi-obj/pobj/ncurses-1.2.4-ruby32/ncurses-ruby-1.2.4 && gzip .metadata && mv -f .metadata.gz /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-content/metadata.gz; fi; cd /exopi-obj/pobj/ncurses-1.2.4-ruby32/ncurses-ruby-1.2.4 && pax -wz -s '/.*\.orig\.port$//' -x ustar -o write_opt=nodir . >/exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-content/data.tar.gz; cd /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-content && tar -cf /exopi-obj/pobj/ncurses-1.2.4-ruby32/ncurses-ruby-1.2.4.gem *.gz; mkdir -p /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem; env -i PORTSDIR="/exopi-cvs/ports" LIBTOOL="/usr/bin/libtool" PATH='/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/ncurses-1.2.4_writes_to_HOME' PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP=-s MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -s -m 755" BSD_INSTALL_SCRIPT="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 755" BSD_INSTALL_DATA="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 644" BSD_INSTALL_MAN="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 644" BSD_INSTALL_PROGRAM_DIR="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -d -m 755" BSD_INSTALL_SCRIPT_DIR="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -d -m 755" BSD_INSTALL_DATA_DIR="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -d -m 755" BSD_INSTALL_MAN_DIR="/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -d -m 755" HOME=`dirname /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem` GEM_HOME=/exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem make="make V=1" /usr/local/bin/gem32 install --local -N --no-force --verbose --backtrace --user-install /exopi-obj/pobj/ncurses-1.2.4-ruby32/ncurses-ruby-1.2.4.gem -- WARNING: You don't have /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/bin in your PATH, gem executables will not run. /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/.gitignore /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/COPYING /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/Changelog.md /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/LICENSE.txt /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/README.md /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/THANKS /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/TODO /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/LICENSES_for_examples /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/example.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/form.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/form2.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/hello_ncurses.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/rain.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/read_line.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/tclock.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/examples/test_scanw.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/extconf.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/form_wrap.c /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/form_wrap.h /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/menu_wrap.c /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/menu_wrap.h /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/ncurses_wrap.c /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/ncurses_wrap.h /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/panel_wrap.c /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses/panel_wrap.h /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/lib/ncurses-ruby/version.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/lib/ncurses.rb /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ncurses-ruby.gemspec Building native extensions. This could take a while... current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses ["/usr/local/bin/ruby32", "extconf.rb"] checking for unistd.h... yes checking for ncurses.h... yes checking for wmove() in -lncurses... yes checking for newscr()... yes checking for TABSIZE()... yes checking for ESCDELAY()... yes checking for keybound()... yes checking for curses_version()... yes checking for tigetstr()... yes checking for getwin()... yes checking for putwin()... yes checking for ungetmouse()... yes checking for mousemask()... yes checking for wenclose()... yes checking for mouseinterval()... yes checking for wmouse_trafo()... yes checking for mcprint()... yes checking for has_key()... yes checking for delscreen()... yes checking for define_key()... yes checking for keyok()... yes checking for resizeterm()... yes checking for use_default_colors()... yes checking for use_extended_names()... yes checking for wresize()... yes checking for attr_on()... yes checking for attr_off()... yes checking for attr_set()... yes checking for chgat()... yes checking for color_set()... yes checking for filter()... yes checking for intrflush()... yes checking for mvchgat()... yes checking for mvhline()... yes checking for mvvline()... yes checking for mvwchgat()... yes checking for mvwhline()... yes checking for mvwvline()... yes checking for noqiflush()... yes checking for putp()... yes checking for qiflush()... yes checking for scr_dump()... yes checking for scr_init()... yes checking for scr_restore()... yes checking for scr_set()... yes checking for slk_attr_off()... yes checking for slk_attr_on()... yes checking for slk_attr()... yes checking for slk_attr_set()... yes checking for slk_color()... yes checking for tigetflag()... yes checking for tigetnum()... yes checking for use_env()... yes checking for vidattr()... yes checking for vid_attr()... yes checking for wattr_on()... yes checking for wattr_off()... yes checking for wattr_set()... yes checking for wchgat()... yes checking for wcolor_set()... yes checking for getattrs()... yes checking which debugging functions to wrap... checking for _tracef()... no checking for _tracedump()... no checking for _nc_tracebits()... no checking for _traceattr()... no checking for _traceattr2()... no checking for _tracechar()... no checking for _tracechtype()... no checking for _tracechtype2()... no checking for _tracemouse()... no checking for other functions that appeared after ncurses version 5.0... checking for assume_default_colors()... yes checking for attr_get()... yes checking for the panel library... checking for panel.h... yes checking for panel_hidden() in -lpanel... yes checking for the form library... checking for form.h... yes checking for new_form() in -lform... yes checking for the menu library... checking for menu.h... yes checking for new_menu() in -lmenu... yes creating Makefile current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses ["make", "V=1", "INSTALL_PROGRAM=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -s -m 755", "INSTALL_SCRIPT=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 755", "INSTALL_DATA=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 644", "INSTALL=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c ", "DESTDIR=", "sitearchdir=./.gem.20241223-62947-fx1kvq", "sitelibdir=./.gem.20241223-62947-fx1kvq", "clean"] rm -f rm -fr ncurses.so false form_wrap.o menu_wrap.o ncurses_wrap.o panel_wrap.o *.bak mkmf.log .*.time current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses ["make", "V=1", "INSTALL_PROGRAM=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -s -m 755", "INSTALL_SCRIPT=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 755", "INSTALL_DATA=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 644", "INSTALL=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c ", "DESTDIR=", "sitearchdir=./.gem.20241223-62947-fx1kvq", "sitelibdir=./.gem.20241223-62947-fx1kvq"] cc -I. -I/usr/local/include/ruby-3.2/x86_64-openbsd -I/usr/local/include/ruby-3.2/ruby/backward -I/usr/local/include/ruby-3.2 -I. -DHAVE_UNISTD_H -DHAVE_NCURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -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 -Wundef -fPIC -g -I/usr/pkg/include -o form_wrap.o -c form_wrap.c form_wrap.c:255:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE field_adress = INT2NUM((long)(field)); ~~~~~~~ ^~~~~~~~~~~~~ form_wrap.c:285:37: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE fieldtype_adress = INT2NUM((long)(fieldtype)); ~~~~~~~ ^~~~~~~~~~~~~~~~~ form_wrap.c:315:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE form_adress = INT2NUM((long)(form)); ~~~~~~~ ^~~~~~~~~~~~ form_wrap.c:368:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE owner_adress = INT2NUM((long)(owner)); ~~~~~~~ ^~~~~~~~~~~~~ form_wrap.c:382:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE owner_address = INT2NUM((long)(owner)); ~~~~~~~ ^~~~~~~~~~~~~ form_wrap.c:411:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE form_adress = INT2NUM((long)(form)); ~~~~~~~ ^~~~~~~~~~~~ form_wrap.c:533:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE field_adress = INT2NUM((long)(field)); ~~~~~~~ ^~~~~~~~~~~~~ form_wrap.c:621:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] int n = RARRAY_LEN(arg3); ~ ^~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/core/rarray.h:68:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ form_wrap.c:699:40: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(set_field_fore(field, NUM2ULONG(attr))); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ form_wrap.c:713:40: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(set_field_back(field, NUM2ULONG(attr))); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ form_wrap.c:1397:3: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RB_CLASS_METH(cFIELD, "back", field_back,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./form_wrap.h:51:3: note: expanded from macro 'RB_CLASS_METH' rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ form_wrap.c:1397:3: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RB_CLASS_METH(cFIELD, "back", field_back,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./form_wrap.h:53:5: note: expanded from macro 'RB_CLASS_METH' rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ form_wrap.c:1399:3: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RB_CLASS_METH(cFIELD, "fore", field_fore,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./form_wrap.h:51:3: note: expanded from macro 'RB_CLASS_METH' rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ form_wrap.c:1399:3: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RB_CLASS_METH(cFIELD, "fore", field_fore,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./form_wrap.h:53:5: note: expanded from macro 'RB_CLASS_METH' rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ form_wrap.c:1406:3: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RB_CLASS_METH(cFIELD, "pad", field_pad,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./form_wrap.h:51:3: note: expanded from macro 'RB_CLASS_METH' rb_define_method(class, #name, (&rbncurs_c_ ## name), nargs); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ form_wrap.c:1406:3: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] RB_CLASS_METH(cFIELD, "pad", field_pad,1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./form_wrap.h:53:5: note: expanded from macro 'RB_CLASS_METH' rb_define_method(class, alt_name, (&rbncurs_c_ ## name), nargs); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:288:135: note: expanded from macro 'rb_define_method' #define rb_define_method(klass, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_method((arity), (func))((klass), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ 16 warnings generated. cc -I. -I/usr/local/include/ruby-3.2/x86_64-openbsd -I/usr/local/include/ruby-3.2/ruby/backward -I/usr/local/include/ruby-3.2 -I. -DHAVE_UNISTD_H -DHAVE_NCURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -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 -Wundef -fPIC -g -I/usr/pkg/include -o menu_wrap.o -c menu_wrap.c menu_wrap.c:142:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE item_address = INT2NUM((long)(item)); ~~~~~~~ ^~~~~~~~~~~~ menu_wrap.c:177:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE menu_address = INT2NUM((long)(menu)); ~~~~~~~ ^~~~~~~~~~~~ menu_wrap.c:232:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE owner_address = INT2NUM((long)(owner)); ~~~~~~~ ^~~~~~~~~~~~~ menu_wrap.c:249:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE owner_address = INT2NUM((long)(owner)); ~~~~~~~ ^~~~~~~~~~~~~ menu_wrap.c:279:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE menu_address = INT2NUM((long)(menu)); ~~~~~~~ ^~~~~~~~~~~~ menu_wrap.c:376:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE item_address = INT2NUM((long)(item)); ~~~~~~~ ^~~~~~~~~~~~ menu_wrap.c:805:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(set_menu_fore(menu, NUM2ULONG(attr))); ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ menu_wrap.c:821:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(set_menu_back(menu, NUM2ULONG(attr))); ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ menu_wrap.c:837:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(set_menu_grey(menu, NUM2ULONG(attr))); ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ 9 warnings generated. cc -I. -I/usr/local/include/ruby-3.2/x86_64-openbsd -I/usr/local/include/ruby-3.2/ruby/backward -I/usr/local/include/ruby-3.2 -I. -DHAVE_UNISTD_H -DHAVE_NCURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -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 -Wundef -fPIC -g -I/usr/pkg/include -o ncurses_wrap.o -c ncurses_wrap.c ncurses_wrap.c:201:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE window_adress = INT2NUM((long)(window)); ~~~~~~~ ^~~~~~~~~~~~~~ ncurses_wrap.c:225:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE window_adress = INT2NUM((long)(window)); ~~~~~~~ ^~~~~~~~~~~~~~ ncurses_wrap.c:236:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE screen_adress = INT2NUM((long)(screen)); ~~~~~~~ ^~~~~~~~~~~~~~ ncurses_wrap.c:261:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE screen_adress = INT2NUM((long)(screen)); ~~~~~~~ ^~~~~~~~~~~~~~ ncurses_wrap.c:540:24: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] chstr[i] = NUM2ULONG(rb_ary_entry(array, i)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:605:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(slk_attr_set(NUM2ULONG(arg1), NUM2INT(arg2), ((void)(arg3),NULL))); ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:610:48: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wattr_on(get_window(arg1), NUM2ULONG(arg2), ((void)(arg3),NULL))); ~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:615:49: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wattr_off(get_window(arg1), NUM2ULONG(arg2), ((void)(arg3),NULL))); ~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:620:49: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wattr_set(get_window(arg1), NUM2ULONG(arg2), NUM2INT(arg3), ((void)(arg4),NULL))); ~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1210:49: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(pechochar(get_window(arg1), NUM2ULONG(arg2))); ~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1297:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(slk_attroff(NUM2ULONG(arg1))); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1300:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(slk_attron(NUM2ULONG(arg1))); ~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1303:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(slk_attrset(NUM2ULONG(arg1))); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1398:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(vidattr(NUM2ULONG(arg1))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1405:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(waddch(get_window(arg1), NUM2ULONG(arg2))); ~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1436:45: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wbkgd(get_window(arg1), NUM2ULONG(arg2))); ~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1439:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return ((wbkgdset(get_window(arg1), NUM2ULONG(arg2))),Qnil); ~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:173: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:155: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:137: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:119: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:101: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:83: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:65: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1442:47: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wborder(get_window(arg1), NUM2ULONG(arg2), NUM2ULONG(arg3), NUM2ULONG(arg4), NUM2ULONG(arg5), NUM2ULONG(arg6), NUM2ULONG(arg7), NUM2ULONG(arg8), NUM2ULONG(arg9))); ~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1446:62: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wchgat(get_window(arg1), NUM2INT(arg2), NUM2ULONG(arg3), NUM2INT(arg4), ((void)(arg5),NULL))); ~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1473:49: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wechochar(get_window(arg1), NUM2ULONG(arg2))); ~~~~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1482:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(whline(get_window(arg1), NUM2ULONG(arg2), NUM2INT(arg3))); ~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1488:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(winsch(get_window(arg1), NUM2ULONG(arg2))); ~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1539:46: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] return INT2NUM(wvline(get_window(arg1), NUM2ULONG(arg2), NUM2INT(arg3))); ~~~~~~ ^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:1599:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] { return rb_str_new2(unctrl(NUM2ULONG(ch))); } ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ /usr/local/include/ruby-3.2/ruby/internal/intern/string.h:1517:25: note: expanded from macro 'rb_str_new_cstr' rb_str_new_cstr) (str)) ^~~ ncurses_wrap.c:1599:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32] { return rb_str_new2(unctrl(NUM2ULONG(ch))); } ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ /usr/local/include/ruby-3.2/ruby/internal/intern/string.h:1515:25: note: expanded from macro 'rb_str_new_cstr' ((RBIMPL_CONSTANT_P(str) ? \ ~~~~~~~~~~~~~~~~~~^~~~ /usr/local/include/ruby-3.2/ruby/internal/constant_p.h:33:55: note: expanded from macro 'RBIMPL_CONSTANT_P' # define RBIMPL_CONSTANT_P(expr) __builtin_constant_p(expr) ^~~~ ncurses_wrap.c:2205:17: warning: implicit conversion loses integer precision: 'unsigned long' to 'mmask_t' (aka 'unsigned int') [-Wshorten-64-to-32] m.bstate = NUM2ULONG(rb_iv_get(rb_m, "@bstate")); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:2219:34: warning: implicit conversion loses integer precision: 'unsigned long' to 'mmask_t' (aka 'unsigned int') [-Wshorten-64-to-32] return_value = mousemask(NUM2ULONG(rb_newmask), &oldmask); ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG' #define NUM2ULONG RB_NUM2ULONG /**< @old{RB_NUM2ULONG} */ ^ /usr/local/include/ruby-3.2/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG' #define RB_NUM2ULONG rb_num2ulong_inline /**< @alias{rb_num2ulong_inline} */ ^ ncurses_wrap.c:2447:5: warning: incompatible function pointer types passing 'VALUE (*)(VALUE, VALUE, VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long, unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mNcurses, "wenclose?", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:338:142: note: expanded from macro 'rb_define_module_function' #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:274:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ ncurses_wrap.c:2461:5: warning: incompatible function pointer types passing 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rb_define_module_function(mNcurses, "has_key?", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:338:142: note: expanded from macro 'rb_define_module_function' #define rb_define_module_function(mod, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_module_function((arity), (func))((mod), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:274:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:257:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _02(__VA_ARGS__, VALUE(*)(VALUE, VALUE, VALUE), int); \ ^ 36 warnings generated. cc -I. -I/usr/local/include/ruby-3.2/x86_64-openbsd -I/usr/local/include/ruby-3.2/ruby/backward -I/usr/local/include/ruby-3.2 -I. -DHAVE_UNISTD_H -DHAVE_NCURSES_H -DHAVE_NEWSCR -DHAVE_TABSIZE -DHAVE_ESCDELAY -DHAVE_KEYBOUND -DHAVE_CURSES_VERSION -DHAVE_TIGETSTR -DHAVE_GETWIN -DHAVE_PUTWIN -DHAVE_UNGETMOUSE -DHAVE_MOUSEMASK -DHAVE_WENCLOSE -DHAVE_MOUSEINTERVAL -DHAVE_WMOUSE_TRAFO -DHAVE_MCPRINT -DHAVE_HAS_KEY -DHAVE_DELSCREEN -DHAVE_DEFINE_KEY -DHAVE_KEYOK -DHAVE_RESIZETERM -DHAVE_USE_DEFAULT_COLORS -DHAVE_USE_EXTENDED_NAMES -DHAVE_WRESIZE -DHAVE_ATTR_ON -DHAVE_ATTR_OFF -DHAVE_ATTR_SET -DHAVE_CHGAT -DHAVE_COLOR_SET -DHAVE_FILTER -DHAVE_INTRFLUSH -DHAVE_MVCHGAT -DHAVE_MVHLINE -DHAVE_MVVLINE -DHAVE_MVWCHGAT -DHAVE_MVWHLINE -DHAVE_MVWVLINE -DHAVE_NOQIFLUSH -DHAVE_PUTP -DHAVE_QIFLUSH -DHAVE_SCR_DUMP -DHAVE_SCR_INIT -DHAVE_SCR_RESTORE -DHAVE_SCR_SET -DHAVE_SLK_ATTR_OFF -DHAVE_SLK_ATTR_ON -DHAVE_SLK_ATTR -DHAVE_SLK_ATTR_SET -DHAVE_SLK_COLOR -DHAVE_TIGETFLAG -DHAVE_TIGETNUM -DHAVE_USE_ENV -DHAVE_VIDATTR -DHAVE_VID_ATTR -DHAVE_WATTR_ON -DHAVE_WATTR_OFF -DHAVE_WATTR_SET -DHAVE_WCHGAT -DHAVE_WCOLOR_SET -DHAVE_GETATTRS -DHAVE_ASSUME_DEFAULT_COLORS -DHAVE_ATTR_GET -DHAVE_PANEL_H -DHAVE_FORM_H -DHAVE_MENU_H -DOPENSSL_NO_STATIC_ENGINE -I/usr/local/include -fPIC -O2 -pipe -g -fdeclspec -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -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 -Wundef -fPIC -g -I/usr/pkg/include -o panel_wrap.o -c panel_wrap.c panel_wrap.c:35:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE panel_adress = INT2NUM((long)(panel)); ~~~~~~~ ^~~~~~~~~~~~~ panel_wrap.c:59:35: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VALUE panel_adress = INT2NUM((long)(panel)); ~~~~~~~ ^~~~~~~~~~~~~ panel_wrap.c:199:5: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rb_define_singleton_method(mPanel, "panel_above", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:308:143: note: expanded from macro 'rb_define_singleton_method' #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:271:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ panel_wrap.c:206:5: warning: incompatible function pointer types passing 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') [-Wincompatible-function-pointer-types] rb_define_singleton_method(mPanel, "panel_below", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:308:143: note: expanded from macro 'rb_define_singleton_method' #define rb_define_singleton_method(obj, mid, func, arity) RBIMPL_ANYARGS_DISPATCH_rb_define_singleton_method((arity), (func))((obj), (mid), (func), (arity)) ^~~~~~ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:271:1: note: passing argument to parameter here RBIMPL_ANYARGS_DECL(rb_define_singleton_method, VALUE, const char *) ^ /usr/local/include/ruby-3.2/ruby/internal/anyargs.h:256:72: note: expanded from macro 'RBIMPL_ANYARGS_DECL' RBIMPL_ANYARGS_ATTRSET(sym) static void sym ## _01(__VA_ARGS__, VALUE(*)(VALUE, VALUE), int); \ ^ 4 warnings generated. rm -f ncurses.so cc -shared -fPIC -o ncurses.so form_wrap.o menu_wrap.o ncurses_wrap.o panel_wrap.o -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -L/usr/local/lib -fstack-protector-strong -Wl,-E -Wl,--no-as-needed -lpthread -lc++abi -L/usr/pkg/lib -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby32 -lmenu -lform -lpanel -lncurses -lm -pthread -lc current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses ["make", "V=1", "INSTALL_PROGRAM=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -s -m 755", "INSTALL_SCRIPT=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 755", "INSTALL_DATA=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 644", "INSTALL=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c ", "DESTDIR=", "sitearchdir=./.gem.20241223-62947-fx1kvq", "sitelibdir=./.gem.20241223-62947-fx1kvq", "install"] mkdir -p . ./.gem.20241223-62947-fx1kvq exit > ./.sitearchdir.time /exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 0755 ncurses.so ./.gem.20241223-62947-fx1kvq current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses /usr/local/bin/ruby32 extconf.rb current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses make V\=1 INSTALL_PROGRAM\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -s\ -m\ 755 INSTALL_SCRIPT\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -m\ 755 INSTALL_DATA\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -m\ 644 INSTALL\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ DESTDIR\= sitearchdir\=./.gem.20241223-62947-fx1kvq sitelibdir\=./.gem.20241223-62947-fx1kvq clean current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses make V\=1 INSTALL_PROGRAM\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -s\ -m\ 755 INSTALL_SCRIPT\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -m\ 755 INSTALL_DATA\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -m\ 644 INSTALL\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ DESTDIR\= sitearchdir\=./.gem.20241223-62947-fx1kvq sitelibdir\=./.gem.20241223-62947-fx1kvq current directory: /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/gems/ncurses-ruby-1.2.4/ext/ncurses make V\=1 INSTALL_PROGRAM\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -s\ -m\ 755 INSTALL_SCRIPT\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -m\ 755 INSTALL_DATA\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ -m\ 644 INSTALL\=/exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install\ -c\ DESTDIR\= sitearchdir\=./.gem.20241223-62947-fx1kvq sitelibdir\=./.gem.20241223-62947-fx1kvq install Successfully installed ncurses-ruby-1.2.4 1 gem installed >>> Running package in devel/ruby-ncurses,ruby32 at 1734987774.29 ===> devel/ruby-ncurses,ruby32 ===> Faking installation for ruby32-ncurses-1.2.4p2 if [ -d /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/bin ]; then /exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -d -m 755 /exopi-obj/pobj/ncurses-1.2.4-ruby32/fake-amd64-ruby32/usr/local/bin; for f in /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/bin/*; do /exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -c -m 755 $f /exopi-obj/pobj/ncurses-1.2.4-ruby32/fake-amd64-ruby32/usr/local/bin; done; rm -r /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2/bin; fi; /exopi-obj/pobj/ncurses-1.2.4-ruby32/bin/install -d -m 755 /exopi-obj/pobj/ncurses-1.2.4-ruby32/fake-amd64-ruby32/usr/local/lib/ruby/gems/3.2; cd /exopi-obj/pobj/ncurses-1.2.4-ruby32/gem-tmp/.gem/ruby/3.2 && mv * /exopi-obj/pobj/ncurses-1.2.4-ruby32/fake-amd64-ruby32/usr/local/lib/ruby/gems/3.2; if [ 'X' != "Xlib/ruby/gems/3.2/extensions/x86_64-openbsd/3.2/ncurses-ruby-1.2.4/gem.build_complete" ]; then mkdir -p /exopi-obj/pobj/ncurses-1.2.4-ruby32/fake-amd64-ruby32/usr/local/lib/ruby/gems/3.2/extensions/x86_64-openbsd/3.2/ncurses-ruby-1.2.4; touch /exopi-obj/pobj/ncurses-1.2.4-ruby32/fake-amd64-ruby32/usr/local/lib/ruby/gems/3.2/extensions/x86_64-openbsd/3.2/ncurses-ruby-1.2.4/gem.build_complete; fi ===> Building package for ruby32-ncurses-1.2.4p2 Create /exopi-cvs/ports/packages/amd64/all/ruby32-ncurses-1.2.4p2.tgz Creating package ruby32-ncurses-1.2.4p2 reading plist| checking dependencies| checking dependencies|lang/ruby/3.2,-main checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 4% checksumming|**** | 7% checksumming|***** | 9% checksumming|******* | 11% checksumming|******** | 13% checksumming|********* | 16% checksumming|*********** | 18% checksumming|************ | 20% checksumming|************** | 22% checksumming|*************** | 24% checksumming|**************** | 27% checksumming|****************** | 29% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************ | 40% checksumming|************************** | 42% checksumming|*************************** | 44% checksumming|**************************** | 47% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|********************************* | 53% checksumming|********************************** | 56% checksumming|*********************************** | 58% checksumming|************************************* | 60% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************* | 71% checksumming|********************************************* | 73% checksumming|********************************************** | 76% checksumming|*********************************************** | 78% checksumming|************************************************* | 80% checksumming|************************************************** | 82% checksumming|**************************************************** | 84% checksumming|***************************************************** | 87% checksumming|****************************************************** | 89% checksumming|******************************************************** | 91% checksumming|********************************************************* | 93% checksumming|********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**** | 7% archiving|*********************************************************** | 92% archiving|************************************************************* | 95% archiving|************************************************************** | 96% archiving|************************************************************** | 97% archiving|************************************************************** | 98% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/ruby32-ncurses-1.2.4p2.tgz >>> Running clean in devel/ruby-ncurses,ruby32 at 1734987779.23 ===> devel/ruby-ncurses,ruby32 ===> Cleaning for ruby32-ncurses-1.2.4p2 >>> Ended at 1734987779.65 max_stuck=92.89/depends=3.57/show-prepare-results=1.01/build=110.82/package=4.95/clean=0.45