=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ruby33-ncurses-1.2.4nb5
compiling 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:622:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
                int n = rbncurs_array_length(arg3);
                    ~   ^~~~~~~~~~~~~~~~~~~~~~~~~~
form_wrap.c:702: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)));
                 ~~~~~~~~~~~~~~        ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:716: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)));
                 ~~~~~~~~~~~~~~        ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1138:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                  rb_raise(rb_eArgError, msg);  
                                         ^~~
form_wrap.c:1138:28: note: treat the string as an argument to avoid this
                  rb_raise(rb_eArgError, msg);  
                                         ^
                                         "%s", 
form_wrap.c:1402: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);      \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                      ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1402: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); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                      ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1404: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);      \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                      ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1404: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); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                      ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1411: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);      \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                      ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1411: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); \
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                      ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:277:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_method, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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); \
                                                                       ^
17 warnings generated.
compiling menu_wrap.c
menu_wrap.c:145:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
         VALUE item_address = INT2NUM((long)(item));
                              ~~~~~~~ ^~~~~~~~~~~~
menu_wrap.c:180:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
         VALUE menu_address = INT2NUM((long)(menu));
                              ~~~~~~~ ^~~~~~~~~~~~
menu_wrap.c:235:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
         VALUE owner_address = INT2NUM((long)(owner));
                               ~~~~~~~ ^~~~~~~~~~~~~
menu_wrap.c:252:34: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
         VALUE owner_address  = INT2NUM((long)(owner));
                                ~~~~~~~ ^~~~~~~~~~~~~
menu_wrap.c:282:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  VALUE menu_address = INT2NUM((long)(menu));
                       ~~~~~~~ ^~~~~~~~~~~~
menu_wrap.c:379:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
  VALUE item_address  = INT2NUM((long)(item));
                        ~~~~~~~ ^~~~~~~~~~~~
menu_wrap.c:810: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)));
                 ~~~~~~~~~~~~~       ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:826: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)));
                 ~~~~~~~~~~~~~       ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:842: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)));
                 ~~~~~~~~~~~~~       ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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.
compiling ncurses_wrap.c
ncurses_wrap.c:221:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        VALUE window_adress  = INT2NUM((long)(window));
                               ~~~~~~~ ^~~~~~~~~~~~~~
ncurses_wrap.c:245:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
    VALUE window_adress  = INT2NUM((long)(window));
                           ~~~~~~~ ^~~~~~~~~~~~~~
ncurses_wrap.c:256:40: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
        VALUE screen_adress  = INT2NUM((long)(screen));
                               ~~~~~~~ ^~~~~~~~~~~~~~
ncurses_wrap.c:281:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
    VALUE screen_adress  = INT2NUM((long)(screen));
                           ~~~~~~~ ^~~~~~~~~~~~~~
ncurses_wrap.c:560: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));
                     ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:568:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(addch(NUM2ULONG(arg1)));
                   ~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1280:35: note: expanded from macro 'addch'
#define addch(ch)               waddch(stdscr,(ch))
                                ~~~~~~         ^~
ncurses_wrap.c:595:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    return INT2NUM(attrset(NUM2ULONG(arg1)));
                   ~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1291:39: note: expanded from macro 'attrset'
#define attrset(at)             wattrset(stdscr,(at))
                                ~~~~~~~~         ^~
ncurses_wrap.c:600:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(attr_off(NUM2ULONG(arg1),  ((void)(arg2),NULL)));
                   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1286:42: note: expanded from macro 'attr_off'
#define attr_off(a,o)           wattr_off(stdscr,(a),(o))
                                ~~~~~~~~~         ^
ncurses_wrap.c:605:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(attr_on(NUM2ULONG(arg1),  ((void)(arg2),NULL)));
                   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1287:40: note: expanded from macro 'attr_on'
#define attr_on(a,o)            wattr_on(stdscr,(a),(o))
                                ~~~~~~~~         ^
ncurses_wrap.c:610:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(attr_set(NUM2ULONG(arg1),  NUM2INT(arg2),  ((void)(arg3),NULL)));
                   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1288:44: note: expanded from macro 'attr_set'
#define attr_set(a,c,o)         wattr_set(stdscr,(a),(c),(o))
                                ~~~~~~~~~         ^
ncurses_wrap.c:615:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(slk_attr_off(NUM2ULONG(arg1),  ((void)(arg2),NULL)));
                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1378:53: note: expanded from macro 'slk_attr_off'
#define slk_attr_off(a,v)               ((v) ? ERR : slk_attroff(a))
                                                     ~~~~~~~~~~~ ^
ncurses_wrap.c:620:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(slk_attr_on(NUM2ULONG(arg1),  ((void)(arg2),NULL)));
                   ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1379:51: note: expanded from macro 'slk_attr_on'
#define slk_attr_on(a,v)                ((v) ? ERR : slk_attron(a))
                                                     ~~~~~~~~~~ ^
ncurses_wrap.c:625: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)));
                   ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:630: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)));
                   ~~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:635: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)));
                   ~~~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:640: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)));
                   ~~~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:645:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(vid_attr(NUM2ULONG(arg1),  NUM2INT(arg2),  ((void)(arg3),NULL)));
                   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:933:39: note: expanded from macro 'vid_attr'
#define vid_attr(a,pair,opts) vidattr(a)
                              ~~~~~~~ ^
ncurses_wrap.c:695:25: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(bkgd(NUM2ULONG(arg1)));
                   ~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1292:33: note: expanded from macro 'bkgd'
#define bkgd(ch)                wbkgd(stdscr,(ch))
                                ~~~~~         ^~
ncurses_wrap.c:698:22: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return ((bkgdset(NUM2ULONG(arg1))),Qnil);
             ~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1293:39: note: expanded from macro 'bkgdset'
#define bkgdset(ch)             wbkgdset(stdscr,(ch))
                                ~~~~~~~~         ^~
ncurses_wrap.c:701:153: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:92: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~                                     ^~
ncurses_wrap.c:701:135: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:88: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~                                 ^~
ncurses_wrap.c:701:117: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:84: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~                             ^~
ncurses_wrap.c:701:99: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:80: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~                         ^~
ncurses_wrap.c:701:81: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:76: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~                     ^~
ncurses_wrap.c:701:63: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:72: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~                 ^~
ncurses_wrap.c:701:45: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:68: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~             ^~
ncurses_wrap.c:701:27: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(border(NUM2ULONG(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3),  NUM2ULONG(arg4),  NUM2ULONG(arg5),  NUM2ULONG(arg6),  NUM2ULONG(arg7),  NUM2ULONG(arg8)));
                   ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1255:64: note: expanded from macro 'border'
#define border(ls, rs, ts, bs, tl, tr, bl, br)  wborder(stdscr, ls, rs, ts, bs, tl, tr, bl, br)
                                                ~~~~~~~         ^~
ncurses_wrap.c:704:61: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(box(get_window(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1254:47: note: expanded from macro 'box'
#define box(win, v, h)          wborder(win, v, v, h, h, 0, 0, 0, 0)
                                ~~~~~~~               ^
ncurses_wrap.c:704:61: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(box(get_window(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1254:44: note: expanded from macro 'box'
#define box(win, v, h)          wborder(win, v, v, h, h, 0, 0, 0, 0)
                                ~~~~~~~            ^
ncurses_wrap.c:704:43: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(box(get_window(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3)));
                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1254:41: note: expanded from macro 'box'
#define box(win, v, h)          wborder(win, v, v, h, h, 0, 0, 0, 0)
                                ~~~~~~~         ^
ncurses_wrap.c:704:43: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(box(get_window(arg1),  NUM2ULONG(arg2),  NUM2ULONG(arg3)));
                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1254:38: note: expanded from macro 'box'
#define box(win, v, h)          wborder(win, v, v, h, h, 0, 0, 0, 0)
                                ~~~~~~~      ^
ncurses_wrap.c:731:42: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(chgat(NUM2INT(arg1),  NUM2ULONG(arg2),  NUM2INT(arg3),
                   ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1294:44: note: expanded from macro 'chgat'
#define chgat(n,a,c,o)          wchgat(stdscr,(n),(a),(c),(o))
                                ~~~~~~             ^
ncurses_wrap.c:789:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(echochar(NUM2ULONG(arg1)));
                   ~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1301:40: note: expanded from macro 'echochar'
#define echochar(c)             wechochar(stdscr,(c))
                                ~~~~~~~~~         ^
ncurses_wrap.c:818:25: error: incomplete definition of type 'struct _win_st'
    int windelay = c_win->_delay;
                   ~~~~~^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:456:16: note: forward declaration of 'struct _win_st'
typedef struct _win_st WINDOW;
               ^
ncurses_wrap.c:835:10: error: incomplete definition of type 'struct _win_st'
    c_win->_delay = 0;
    ~~~~~^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:456:16: note: forward declaration of 'struct _win_st'
typedef struct _win_st WINDOW;
               ^
ncurses_wrap.c:851:2: warning: call to undeclared function 'rb_thread_select'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        rb_thread_select(infd + 1, &in_fds, NULL, NULL, &tv);
        ^
ncurses_wrap.c:854:10: error: incomplete definition of type 'struct _win_st'
    c_win->_delay = windelay;
    ~~~~~^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:456:16: note: forward declaration of 'struct _win_st'
typedef struct _win_st WINDOW;
               ^
ncurses_wrap.c:874:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(hline(NUM2ULONG(arg1),  NUM2INT(arg2)));
                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1256:38: note: expanded from macro 'hline'
#define hline(ch, n)            whline(stdscr, ch, (n))
                                ~~~~~~         ^~
ncurses_wrap.c:1005:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(insch(NUM2ULONG(arg1)));
                   ~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1309:34: note: expanded from macro 'insch'
#define insch(c)                winsch(stdscr,(c))
                                ~~~~~~         ^
ncurses_wrap.c:1055:60: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvaddch(NUM2INT(arg1),  NUM2INT(arg2),  NUM2ULONG(arg3)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1350:52: note: expanded from macro 'mvaddch'
#define mvaddch(y,x,ch)                 mvwaddch(stdscr,(y),(x),(ch))
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1329:82: note: expanded from macro 'mvwaddch'
#define mvwaddch(win,y,x,ch)            (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch)))
                                                                             ~~~~~~        ^~
ncurses_wrap.c:1080:76: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvchgat(NUM2INT(arg1),  NUM2INT(arg2),  NUM2INT(arg3),  NUM2ULONG(arg4),  NUM2INT(arg5),  ((void)(arg6),NULL)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1355:60: note: expanded from macro 'mvchgat'
#define mvchgat(y,x,n,a,c,o)            mvwchgat(stdscr,(y),(x),(n),(a),(c),(o))
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1334:90: note: expanded from macro 'mvwchgat'
#define mvwchgat(win,y,x,n,a,c,o)       (wmove((win),(y),(x)) == ERR ? ERR : wchgat((win),(n),(a),(c),(o)))
                                                                             ~~~~~~            ^
ncurses_wrap.c:1099:60: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvhline(NUM2INT(arg1),  NUM2INT(arg2),  NUM2ULONG(arg3),  NUM2INT(arg4)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1360:52: note: expanded from macro 'mvhline'
#define mvhline(y,x,c,n)                mvwhline(stdscr,(y),(x),(c),(n))
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1339:83: note: expanded from macro 'mvwhline'
#define mvwhline(win,y,x,c,n)           (wmove((win),(y),(x)) == ERR ? ERR : whline((win),(c),(n)))
                                                                             ~~~~~~        ^
ncurses_wrap.c:1106:60: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvinsch(NUM2INT(arg1),  NUM2INT(arg2),  NUM2ULONG(arg3)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1365:51: note: expanded from macro 'mvinsch'
#define mvinsch(y,x,c)                  mvwinsch(stdscr,(y),(x),(c))
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1344:81: note: expanded from macro 'mvwinsch'
#define mvwinsch(win,y,x,c)             (wmove((win),(y),(x)) == ERR ? ERR : winsch((win),(c)))
                                                                             ~~~~~~        ^
ncurses_wrap.c:1116:60: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvvline(NUM2INT(arg1),  NUM2INT(arg2),  NUM2ULONG(arg3),  NUM2INT(arg4)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1369:52: note: expanded from macro 'mvvline'
#define mvvline(y,x,c,n)                mvwvline(stdscr,(y),(x),(c),(n))
                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1348:83: note: expanded from macro 'mvwvline'
#define mvwvline(win,y,x,c,n)           (wmove((win),(y),(x)) == ERR ? ERR : wvline((win),(c),(n)))
                                                                             ~~~~~~        ^
ncurses_wrap.c:1120:80: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvwaddch(get_window(arg1),  NUM2INT(arg2),  NUM2INT(arg3),  NUM2ULONG(arg4)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1329:82: note: expanded from macro 'mvwaddch'
#define mvwaddch(win,y,x,ch)            (wmove((win),(y),(x)) == ERR ? ERR : waddch((win),(ch)))
                                                                             ~~~~~~        ^~
ncurses_wrap.c:1147:96: warning: implicit conversion loses integer precision: 'unsigned long' to 'attr_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvwchgat(get_window(arg1),  NUM2INT(arg2),  NUM2INT(arg3),  NUM2INT(arg4),  NUM2ULONG(arg5),  NUM2INT(arg6),  ((void)(arg7),NULL)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1334:90: note: expanded from macro 'mvwchgat'
#define mvwchgat(win,y,x,n,a,c,o)       (wmove((win),(y),(x)) == ERR ? ERR : wchgat((win),(n),(a),(c),(o)))
                                                                             ~~~~~~            ^
ncurses_wrap.c:1161:80: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvwhline(get_window(arg1),  NUM2INT(arg2),  NUM2INT(arg3),  NUM2ULONG(arg4),  NUM2INT(arg5)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1339:83: note: expanded from macro 'mvwhline'
#define mvwhline(win,y,x,c,n)           (wmove((win),(y),(x)) == ERR ? ERR : whline((win),(c),(n)))
                                                                             ~~~~~~        ^
ncurses_wrap.c:1171:80: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvwinsch(get_window(arg1),  NUM2INT(arg2),  NUM2INT(arg3),  NUM2ULONG(arg4)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1344:81: note: expanded from macro 'mvwinsch'
#define mvwinsch(win,y,x,c)             (wmove((win),(y),(x)) == ERR ? ERR : winsch((win),(c)))
                                                                             ~~~~~~        ^
ncurses_wrap.c:1181:80: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(mvwvline(get_window(arg1),  NUM2INT(arg2),  NUM2INT(arg3),  NUM2ULONG(arg4),  NUM2INT(arg5)));
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1348:83: note: expanded from macro 'mvwvline'
#define mvwvline(win,y,x,c,n)           (wmove((win),(y),(x)) == ERR ? ERR : wvline((win),(c),(n)))
                                                                             ~~~~~~        ^
ncurses_wrap.c:1230: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)));
                   ~~~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1317:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(slk_attroff(NUM2ULONG(arg1)));
                   ~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1320:31: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(slk_attron(NUM2ULONG(arg1)));
                   ~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1323:32: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(slk_attrset(NUM2ULONG(arg1)));
                   ~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1418:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(vidattr(NUM2ULONG(arg1)));
                   ~~~~~~~ ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1422:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'chtype' (aka 'unsigned int') [-Wshorten-64-to-32]
    return INT2NUM(vline(NUM2ULONG(arg1),  NUM2INT(arg2)));
                   ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ncurses.h:1257:38: note: expanded from macro 'vline'
#define vline(ch, n)            wvline(stdscr, ch, (n))
                                ~~~~~~         ^~
ncurses_wrap.c:1425: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)));
                   ~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1456: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)));
                   ~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1459: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);
             ~~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                                                                                                                                  ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                                                                                                                ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                                                                                              ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                                                                            ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                                                          ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                                        ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                                      ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1462: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)));
                   ~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1466: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)));
                   ~~~~~~                                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1493: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)));
                   ~~~~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1502: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)));
                   ~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1508: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)));
                   ~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1559: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)));
                   ~~~~~~                    ^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:1619: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))); }
         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/intern/string.h:1517:25: note: expanded from macro 'rb_str_new_cstr'
      rb_str_new_cstr) (str))
                        ^~~
ncurses_wrap.c:1619: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))); }
         ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:58:22: note: expanded from macro 'RB_NUM2ULONG'
#define RB_NUM2ULONG rb_num2ulong_inline  /**< @alias{rb_num2ulong_inline} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/intern/string.h:1515:25: note: expanded from macro 'rb_str_new_cstr'
    ((RBIMPL_CONSTANT_P(str) ?                  \
      ~~~~~~~~~~~~~~~~~~^~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:2225: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"));
              ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:2239: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);
                       ~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/arithmetic/long.h:52:22: note: expanded from macro 'NUM2ULONG'
#define NUM2ULONG    RB_NUM2ULONG         /**< @old{RB_NUM2ULONG} */
                     ^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:2468: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?",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                             ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:274:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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:2482: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?",
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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))
                                                                                                                                             ^~~~~~
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/ruby/internal/anyargs.h:274:1: note: passing argument to parameter here
RBIMPL_ANYARGS_DECL(rb_define_module_function, VALUE, const char *)
^
/Users/pbulk/build/devel/ruby-ncurses/work/.buildlink/include/ruby-3.3.0/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); \
                                                                       ^
74 warnings and 3 errors generated.
*** [ncurses_wrap.o] Error code 1

bmake: stopped in /Users/pbulk/build/devel/ruby-ncurses/work/ncurses-ruby-1.2.4
1 error

bmake: stopped in /Users/pbulk/build/devel/ruby-ncurses/work/ncurses-ruby-1.2.4
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/ruby-ncurses
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/ruby-ncurses