===> Installing for ruby34-opengl-0.60.1nb6 => Generating pre-install file lists => Installing gem into installation root Building native extensions. This could take a while... ERROR: Error installing /Users/pbulk/build/graphics/ruby-opengl/work/ruby-opengl-0.60.1/ruby-opengl-0.60.1.gem: ERROR: Failed to build gem native extension. current directory: /Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/ruby-opengl-0.60.1 /opt/pkg/bin/ruby34 -rrubygems /opt/pkg/lib/ruby/gems/3.4.0/gems/rake-13.2.1/exe/rake RUBYARCHDIR\=/Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/extensions/arm64-darwin-23/3.4.0/ruby-opengl-0.60.1 RUBYLIBDIR\=/Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/extensions/arm64-darwin-23/3.4.0/ruby-opengl-0.60.1 NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed in Rubygems 4 Gem::Specification#has_rdoc= called from /Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/ruby-opengl-0.60.1/Rakefile:159. /opt/pkg/bin/ruby34 mkrf_conf.rb /opt/pkg/bin/rake34 clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-1.0-1.1.c In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-1.0-1.1.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-1.0-1.1.c:18: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-1.0-1.1.c:18: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.0-1.1.c:18: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.0-1.1.c:18: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-1.0-1.1.c:26:1: warning: 'glAccum' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Accum,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :81:1: note: expanded from here glAccum ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2381:13: note: 'glAccum' has been explicitly marked deprecated here extern void glAccum (GLenum op, GLfloat value) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Accum,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :76:1: note: expanded from here gl_Accum ^ gl-1.0-1.1.c:27:1: warning: 'glAlphaFunc' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(AlphaFunc,GLvoid, GLenum,GLclampf) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :91:1: note: expanded from here glAlphaFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2382:13: note: 'glAlphaFunc' has been explicitly marked deprecated here extern void glAlphaFunc (GLenum func, GLclampf ref) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(AlphaFunc,GLvoid, GLenum,GLclampf) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :86:1: note: expanded from here gl_AlphaFunc ^ gl-1.0-1.1.c:28:1: warning: 'glArrayElement' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ArrayElement,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :101:1: note: expanded from here glArrayElement ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2384:13: note: 'glArrayElement' has been explicitly marked deprecated here extern void glArrayElement (GLint i) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ArrayElement,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :96:1: note: expanded from here gl_ArrayElement ^ gl-1.0-1.1.c:29:1: warning: 'glBindTexture' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(BindTexture,GLvoid, GLenum,GLuint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :110:1: note: expanded from here glBindTexture ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2386:13: note: 'glBindTexture' has been explicitly marked deprecated here extern void glBindTexture (GLenum target, GLuint texture) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(BindTexture,GLvoid, GLenum,GLuint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :105:1: note: expanded from here gl_BindTexture ^ gl-1.0-1.1.c:30:1: warning: 'glBlendFunc' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(BlendFunc,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :120:1: note: expanded from here glBlendFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2391:13: note: 'glBlendFunc' has been explicitly marked deprecated here extern void glBlendFunc (GLenum sfactor, GLenum dfactor) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(BlendFunc,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :115:1: note: expanded from here gl_BlendFunc ^ gl-1.0-1.1.c:31:1: warning: 'glCallList' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(CallList,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :130:1: note: expanded from here glCallList ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2392:13: note: 'glCallList' has been explicitly marked deprecated here extern void glCallList (GLuint list) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(CallList,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :125:1: note: expanded from here gl_CallList ^ gl-1.0-1.1.c:32:1: warning: 'glClear' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Clear,GLvoid, GLbitfield) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :139:1: note: expanded from here glClear ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2394:13: note: 'glClear' has been explicitly marked deprecated here extern void glClear (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Clear,GLvoid, GLbitfield) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :134:1: note: expanded from here gl_Clear ^ gl-1.0-1.1.c:33:1: warning: 'glClearAccum' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(ClearAccum,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :148:1: note: expanded from here glClearAccum ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2395:13: note: 'glClearAccum' has been explicitly marked deprecated here extern void glClearAccum (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(ClearAccum,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :143:1: note: expanded from here gl_ClearAccum ^ gl-1.0-1.1.c:34:1: warning: 'glClearColor' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(ClearColor,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :160:1: note: expanded from here glClearColor ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2396:13: note: 'glClearColor' has been explicitly marked deprecated here extern void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(ClearColor,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :155:1: note: expanded from here gl_ClearColor ^ gl-1.0-1.1.c:35:1: warning: 'glClearDepth' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ClearDepth,GLvoid, GLclampd) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :172:1: note: expanded from here glClearDepth ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2397:13: note: 'glClearDepth' has been explicitly marked deprecated here extern void glClearDepth (GLclampd depth) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ClearDepth,GLvoid, GLclampd) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :167:1: note: expanded from here gl_ClearDepth ^ gl-1.0-1.1.c:36:1: warning: 'glClearIndex' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ClearIndex,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :181:1: note: expanded from here glClearIndex ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2398:13: note: 'glClearIndex' has been explicitly marked deprecated here extern void glClearIndex (GLfloat c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ClearIndex,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :176:1: note: expanded from here gl_ClearIndex ^ gl-1.0-1.1.c:37:1: warning: 'glClearStencil' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ClearStencil,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :190:1: note: expanded from here glClearStencil ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2399:13: note: 'glClearStencil' has been explicitly marked deprecated here extern void glClearStencil (GLint s) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ClearStencil,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :185:1: note: expanded from here gl_ClearStencil ^ gl-1.0-1.1.c:38:1: warning: 'glColor3b' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3b,GLvoid, GLbyte,GLbyte,GLbyte) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :199:1: note: expanded from here glColor3b ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2401:13: note: 'glColor3b' has been explicitly marked deprecated here extern void glColor3b (GLbyte red, GLbyte green, GLbyte blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3b,GLvoid, GLbyte,GLbyte,GLbyte) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :194:1: note: expanded from here gl_Color3b ^ gl-1.0-1.1.c:39:1: warning: 'glColor3d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :210:1: note: expanded from here glColor3d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2403:13: note: 'glColor3d' has been explicitly marked deprecated here extern void glColor3d (GLdouble red, GLdouble green, GLdouble blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :205:1: note: expanded from here gl_Color3d ^ gl-1.0-1.1.c:40:1: warning: 'glColor3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :221:1: note: expanded from here glColor3f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2405:13: note: 'glColor3f' has been explicitly marked deprecated here extern void glColor3f (GLfloat red, GLfloat green, GLfloat blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :216:1: note: expanded from here gl_Color3f ^ gl-1.0-1.1.c:41:1: warning: 'glColor3i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :232:1: note: expanded from here glColor3i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2407:13: note: 'glColor3i' has been explicitly marked deprecated here extern void glColor3i (GLint red, GLint green, GLint blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :227:1: note: expanded from here gl_Color3i ^ gl-1.0-1.1.c:42:1: warning: 'glColor3s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :243:1: note: expanded from here glColor3s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2409:13: note: 'glColor3s' has been explicitly marked deprecated here extern void glColor3s (GLshort red, GLshort green, GLshort blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :238:1: note: expanded from here gl_Color3s ^ gl-1.0-1.1.c:43:1: warning: 'glColor3ub' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3ub,GLvoid, GLubyte,GLubyte,GLubyte) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :10:1: note: expanded from here glColor3ub ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2411:13: note: 'glColor3ub' has been explicitly marked deprecated here extern void glColor3ub (GLubyte red, GLubyte green, GLubyte blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3ub,GLvoid, GLubyte,GLubyte,GLubyte) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :5:1: note: expanded from here gl_Color3ub ^ gl-1.0-1.1.c:44:1: warning: 'glColor3ui' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3ui,GLvoid, GLuint,GLuint,GLuint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :21:1: note: expanded from here glColor3ui ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2413:13: note: 'glColor3ui' has been explicitly marked deprecated here extern void glColor3ui (GLuint red, GLuint green, GLuint blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3ui,GLvoid, GLuint,GLuint,GLuint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :16:1: note: expanded from here gl_Color3ui ^ gl-1.0-1.1.c:45:1: warning: 'glColor3us' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Color3us,GLvoid, GLushort,GLushort,GLushort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :32:1: note: expanded from here glColor3us ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2415:13: note: 'glColor3us' has been explicitly marked deprecated here extern void glColor3us (GLushort red, GLushort green, GLushort blue) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Color3us,GLvoid, GLushort,GLushort,GLushort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :27:1: note: expanded from here gl_Color3us ^ gl-1.0-1.1.c:46:1: warning: 'glColor4b' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4b,GLvoid, GLbyte,GLbyte,GLbyte,GLbyte) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :43:1: note: expanded from here glColor4b ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2417:13: note: 'glColor4b' has been explicitly marked deprecated here extern void glColor4b (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4b,GLvoid, GLbyte,GLbyte,GLbyte,GLbyte) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :38:1: note: expanded from here gl_Color4b ^ gl-1.0-1.1.c:47:1: warning: 'glColor4d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :55:1: note: expanded from here glColor4d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2419:13: note: 'glColor4d' has been explicitly marked deprecated here extern void glColor4d (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :50:1: note: expanded from here gl_Color4d ^ gl-1.0-1.1.c:48:1: warning: 'glColor4f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :67:1: note: expanded from here glColor4f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2421:13: note: 'glColor4f' has been explicitly marked deprecated here extern void glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :62:1: note: expanded from here gl_Color4f ^ gl-1.0-1.1.c:49:1: warning: 'glColor4i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :79:1: note: expanded from here glColor4i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2423:13: note: 'glColor4i' has been explicitly marked deprecated here extern void glColor4i (GLint red, GLint green, GLint blue, GLint alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :74:1: note: expanded from here gl_Color4i ^ gl-1.0-1.1.c:50:1: warning: 'glColor4s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :91:1: note: expanded from here glColor4s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2425:13: note: 'glColor4s' has been explicitly marked deprecated here extern void glColor4s (GLshort red, GLshort green, GLshort blue, GLshort alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :86:1: note: expanded from here gl_Color4s ^ gl-1.0-1.1.c:51:1: warning: 'glColor4ub' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4ub,GLvoid, GLubyte,GLubyte,GLubyte,GLubyte) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :103:1: note: expanded from here glColor4ub ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2427:13: note: 'glColor4ub' has been explicitly marked deprecated here extern void glColor4ub (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4ub,GLvoid, GLubyte,GLubyte,GLubyte,GLubyte) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :98:1: note: expanded from here gl_Color4ub ^ gl-1.0-1.1.c:52:1: warning: 'glColor4ui' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4ui,GLvoid, GLuint,GLuint,GLuint,GLuint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :115:1: note: expanded from here glColor4ui ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2429:13: note: 'glColor4ui' has been explicitly marked deprecated here extern void glColor4ui (GLuint red, GLuint green, GLuint blue, GLuint alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4ui,GLvoid, GLuint,GLuint,GLuint,GLuint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :110:1: note: expanded from here gl_Color4ui ^ gl-1.0-1.1.c:53:1: warning: 'glColor4us' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Color4us,GLvoid, GLushort,GLushort,GLushort,GLushort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :127:1: note: expanded from here glColor4us ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2431:13: note: 'glColor4us' has been explicitly marked deprecated here extern void glColor4us (GLushort red, GLushort green, GLushort blue, GLushort alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Color4us,GLvoid, GLushort,GLushort,GLushort,GLushort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :122:1: note: expanded from here gl_Color4us ^ gl-1.0-1.1.c:54:1: warning: 'glColorMask' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(ColorMask,GLvoid, GLboolean,GLboolean,GLboolean,GLboolean) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :139:1: note: expanded from here glColorMask ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2433:13: note: 'glColorMask' has been explicitly marked deprecated here extern void glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(ColorMask,GLvoid, GLboolean,GLboolean,GLboolean,GLboolean) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :134:1: note: expanded from here gl_ColorMask ^ gl-1.0-1.1.c:55:1: warning: 'glColorMaterial' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(ColorMaterial,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :151:1: note: expanded from here glColorMaterial ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2434:13: note: 'glColorMaterial' has been explicitly marked deprecated here extern void glColorMaterial (GLenum face, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(ColorMaterial,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :146:1: note: expanded from here gl_ColorMaterial ^ gl-1.0-1.1.c:56:1: warning: 'glCopyPixels' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_5(CopyPixels,GLvoid, GLint,GLint,GLsizei,GLsizei,GLenum) ^ ./../common/funcdef.h:193:77: note: expanded from macro 'GL_FUNC_STATIC_5' #define GL_FUNC_STATIC_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5) GL_FUNC_STATIC(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :161:1: note: expanded from here glCopyPixels ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2450:13: note: 'glCopyPixels' has been explicitly marked deprecated here extern void glCopyPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_5(CopyPixels,GLvoid, GLint,GLint,GLsizei,GLsizei,GLenum) ^ ./../common/funcdef.h:193:77: note: expanded from macro 'GL_FUNC_STATIC_5' #define GL_FUNC_STATIC_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5) GL_FUNC_STATIC(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :156:1: note: expanded from here gl_CopyPixels ^ gl-1.0-1.1.c:57:1: warning: 'glCopyTexImage1D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_7(CopyTexImage1D,GLvoid, GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLint) ^ ./../common/funcdef.h:195:89: note: expanded from macro 'GL_FUNC_STATIC_7' #define GL_FUNC_STATIC_7(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7) GL_FUNC_STATIC(7, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :174:1: note: expanded from here glCopyTexImage1D ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2451:13: note: 'glCopyTexImage1D' has been explicitly marked deprecated here extern void glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_7(CopyTexImage1D,GLvoid, GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLint) ^ ./../common/funcdef.h:195:89: note: expanded from macro 'GL_FUNC_STATIC_7' #define GL_FUNC_STATIC_7(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7) GL_FUNC_STATIC(7, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :169:1: note: expanded from here gl_CopyTexImage1D ^ gl-1.0-1.1.c:58:1: warning: 'glCopyTexImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_8(CopyTexImage2D,GLvoid, GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLsizei,GLint) ^ ./../common/funcdef.h:196:95: note: expanded from macro 'GL_FUNC_STATIC_8' #define GL_FUNC_STATIC_8(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8) GL_FUNC_STATIC(8, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :189:1: note: expanded from here glCopyTexImage2D ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2452:13: note: 'glCopyTexImage2D' has been explicitly marked deprecated here extern void glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_8(CopyTexImage2D,GLvoid, GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLsizei,GLint) ^ ./../common/funcdef.h:196:95: note: expanded from macro 'GL_FUNC_STATIC_8' #define GL_FUNC_STATIC_8(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8) GL_FUNC_STATIC(8, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :184:1: note: expanded from here gl_CopyTexImage2D ^ gl-1.0-1.1.c:59:1: warning: 'glCopyTexSubImage1D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_6(CopyTexSubImage1D,GLvoid, GLenum,GLint,GLint,GLint,GLint,GLsizei) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :205:1: note: expanded from here glCopyTexSubImage1D ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2453:13: note: 'glCopyTexSubImage1D' has been explicitly marked deprecated here extern void glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_6(CopyTexSubImage1D,GLvoid, GLenum,GLint,GLint,GLint,GLint,GLsizei) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :200:1: note: expanded from here gl_CopyTexSubImage1D ^ gl-1.0-1.1.c:60:1: warning: 'glCopyTexSubImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_8(CopyTexSubImage2D,GLvoid, GLenum,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei) ^ ./../common/funcdef.h:196:95: note: expanded from macro 'GL_FUNC_STATIC_8' #define GL_FUNC_STATIC_8(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8) GL_FUNC_STATIC(8, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :219:1: note: expanded from here glCopyTexSubImage2D ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2454:13: note: 'glCopyTexSubImage2D' has been explicitly marked deprecated here extern void glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_8(CopyTexSubImage2D,GLvoid, GLenum,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei) ^ ./../common/funcdef.h:196:95: note: expanded from macro 'GL_FUNC_STATIC_8' #define GL_FUNC_STATIC_8(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8) GL_FUNC_STATIC(8, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :214:1: note: expanded from here gl_CopyTexSubImage2D ^ gl-1.0-1.1.c:61:1: warning: 'glCullFace' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(CullFace,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :235:1: note: expanded from here glCullFace ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2456:13: note: 'glCullFace' has been explicitly marked deprecated here extern void glCullFace (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(CullFace,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :230:1: note: expanded from here gl_CullFace ^ gl-1.0-1.1.c:62:1: warning: 'glDeleteLists' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(DeleteLists,GLvoid, GLuint,GLuint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :244:1: note: expanded from here glDeleteLists ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2457:13: note: 'glDeleteLists' has been explicitly marked deprecated here extern void glDeleteLists (GLuint list, GLsizei range) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(DeleteLists,GLvoid, GLuint,GLuint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :239:1: note: expanded from here gl_DeleteLists ^ gl-1.0-1.1.c:63:1: warning: 'glDepthFunc' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(DepthFunc,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :254:1: note: expanded from here glDepthFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2459:13: note: 'glDepthFunc' has been explicitly marked deprecated here extern void glDepthFunc (GLenum func) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(DepthFunc,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :249:1: note: expanded from here gl_DepthFunc ^ gl-1.0-1.1.c:64:1: warning: 'glDepthMask' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(DepthMask,GLvoid, GLboolean) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :263:1: note: expanded from here glDepthMask ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2460:13: note: 'glDepthMask' has been explicitly marked deprecated here extern void glDepthMask (GLboolean flag) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(DepthMask,GLvoid, GLboolean) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :258:1: note: expanded from here gl_DepthMask ^ gl-1.0-1.1.c:65:1: warning: 'glDepthRange' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(DepthRange,GLvoid, GLclampd,GLclampd) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :272:1: note: expanded from here glDepthRange ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2461:13: note: 'glDepthRange' has been explicitly marked deprecated here extern void glDepthRange (GLclampd zNear, GLclampd zFar) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(DepthRange,GLvoid, GLclampd,GLclampd) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :267:1: note: expanded from here gl_DepthRange ^ gl-1.0-1.1.c:66:1: warning: 'glDisable' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Disable,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :282:1: note: expanded from here glDisable ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2462:13: note: 'glDisable' has been explicitly marked deprecated here extern void glDisable (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Disable,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :277:1: note: expanded from here gl_Disable ^ gl-1.0-1.1.c:67:1: warning: 'glDisableClientState' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(DisableClientState,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :291:1: note: expanded from here glDisableClientState ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2463:13: note: 'glDisableClientState' has been explicitly marked deprecated here extern void glDisableClientState (GLenum array) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(DisableClientState,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :286:1: note: expanded from here gl_DisableClientState ^ gl-1.0-1.1.c:68:1: warning: 'glDrawArrays' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(DrawArrays,GLvoid, GLenum,GLint,GLsizei) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :300:1: note: expanded from here glDrawArrays ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2464:13: note: 'glDrawArrays' has been explicitly marked deprecated here extern void glDrawArrays (GLenum mode, GLint first, GLsizei count) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(DrawArrays,GLvoid, GLenum,GLint,GLsizei) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :295:1: note: expanded from here gl_DrawArrays ^ gl-1.0-1.1.c:69:1: warning: 'glDrawBuffer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(DrawBuffer,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :10:1: note: expanded from here glDrawBuffer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2465:13: note: 'glDrawBuffer' has been explicitly marked deprecated here extern void glDrawBuffer (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(DrawBuffer,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :5:1: note: expanded from here gl_DrawBuffer ^ gl-1.0-1.1.c:70:1: warning: 'glEdgeFlag' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(EdgeFlag,GLvoid, GLboolean) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :19:1: note: expanded from here glEdgeFlag ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2469:13: note: 'glEdgeFlag' has been explicitly marked deprecated here extern void glEdgeFlag (GLboolean flag) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(EdgeFlag,GLvoid, GLboolean) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :14:1: note: expanded from here gl_EdgeFlag ^ gl-1.0-1.1.c:71:1: warning: 'glEnable' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Enable,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :28:1: note: expanded from here glEnable ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2472:13: note: 'glEnable' has been explicitly marked deprecated here extern void glEnable (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Enable,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :23:1: note: expanded from here gl_Enable ^ gl-1.0-1.1.c:72:1: warning: 'glEnableClientState' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(EnableClientState,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :37:1: note: expanded from here glEnableClientState ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2473:13: note: 'glEnableClientState' has been explicitly marked deprecated here extern void glEnableClientState (GLenum array) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(EnableClientState,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :32:1: note: expanded from here gl_EnableClientState ^ gl-1.0-1.1.c:73:1: warning: 'glEndList' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(EndList,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :46:1: note: expanded from here glEndList ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2475:13: note: 'glEndList' has been explicitly marked deprecated here extern void glEndList (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(EndList,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :41:1: note: expanded from here gl_EndList ^ gl-1.0-1.1.c:74:1: warning: 'glEvalCoord1d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(EvalCoord1d,GLvoid, GLdouble) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :54:1: note: expanded from here glEvalCoord1d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2476:13: note: 'glEvalCoord1d' has been explicitly marked deprecated here extern void glEvalCoord1d (GLdouble u) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(EvalCoord1d,GLvoid, GLdouble) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :49:1: note: expanded from here gl_EvalCoord1d ^ gl-1.0-1.1.c:75:1: warning: 'glEvalCoord1f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(EvalCoord1f,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :63:1: note: expanded from here glEvalCoord1f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2478:13: note: 'glEvalCoord1f' has been explicitly marked deprecated here extern void glEvalCoord1f (GLfloat u) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(EvalCoord1f,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :58:1: note: expanded from here gl_EvalCoord1f ^ gl-1.0-1.1.c:76:1: warning: 'glEvalCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(EvalCoord2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :72:1: note: expanded from here glEvalCoord2d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2480:13: note: 'glEvalCoord2d' has been explicitly marked deprecated here extern void glEvalCoord2d (GLdouble u, GLdouble v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(EvalCoord2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :67:1: note: expanded from here gl_EvalCoord2d ^ gl-1.0-1.1.c:77:1: warning: 'glEvalCoord2f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(EvalCoord2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :82:1: note: expanded from here glEvalCoord2f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2482:13: note: 'glEvalCoord2f' has been explicitly marked deprecated here extern void glEvalCoord2f (GLfloat u, GLfloat v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:77:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(EvalCoord2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :77:1: note: expanded from here gl_EvalCoord2f ^ gl-1.0-1.1.c:78:1: warning: 'glEvalMesh1' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(EvalMesh1,GLvoid, GLenum,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :92:1: note: expanded from here glEvalMesh1 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2484:13: note: 'glEvalMesh1' has been explicitly marked deprecated here extern void glEvalMesh1 (GLenum mode, GLint i1, GLint i2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(EvalMesh1,GLvoid, GLenum,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :87:1: note: expanded from here gl_EvalMesh1 ^ gl-1.0-1.1.c:79:1: warning: 'glEvalMesh2' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_5(EvalMesh2,GLvoid, GLenum,GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:193:77: note: expanded from macro 'GL_FUNC_STATIC_5' #define GL_FUNC_STATIC_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5) GL_FUNC_STATIC(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :103:1: note: expanded from here glEvalMesh2 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2485:13: note: 'glEvalMesh2' has been explicitly marked deprecated here extern void glEvalMesh2 (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_5(EvalMesh2,GLvoid, GLenum,GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:193:77: note: expanded from macro 'GL_FUNC_STATIC_5' #define GL_FUNC_STATIC_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5) GL_FUNC_STATIC(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :98:1: note: expanded from here gl_EvalMesh2 ^ gl-1.0-1.1.c:80:1: warning: 'glEvalPoint1' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(EvalPoint1,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :116:1: note: expanded from here glEvalPoint1 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2486:13: note: 'glEvalPoint1' has been explicitly marked deprecated here extern void glEvalPoint1 (GLint i) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(EvalPoint1,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :111:1: note: expanded from here gl_EvalPoint1 ^ gl-1.0-1.1.c:81:1: warning: 'glEvalPoint2' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(EvalPoint2,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :125:1: note: expanded from here glEvalPoint2 ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2487:13: note: 'glEvalPoint2' has been explicitly marked deprecated here extern void glEvalPoint2 (GLint i, GLint j) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(EvalPoint2,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :120:1: note: expanded from here gl_EvalPoint2 ^ gl-1.0-1.1.c:82:1: warning: 'glFinish' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(Finish,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :135:1: note: expanded from here glFinish ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2489:13: note: 'glFinish' has been explicitly marked deprecated here extern void glFinish (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(Finish,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :130:1: note: expanded from here gl_Finish ^ gl-1.0-1.1.c:83:1: warning: 'glFlush' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(Flush,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :143:1: note: expanded from here glFlush ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2490:13: note: 'glFlush' has been explicitly marked deprecated here extern void glFlush (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(Flush,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :138:1: note: expanded from here gl_Flush ^ gl-1.0-1.1.c:84:1: warning: 'glFogi' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Fogi,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :151:1: note: expanded from here glFogi ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2493:13: note: 'glFogi' has been explicitly marked deprecated here extern void glFogi (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Fogi,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :146:1: note: expanded from here gl_Fogi ^ gl-1.0-1.1.c:85:1: warning: 'glFogf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Fogf,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :161:1: note: expanded from here glFogf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2491:13: note: 'glFogf' has been explicitly marked deprecated here extern void glFogf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Fogf,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :156:1: note: expanded from here gl_Fogf ^ gl-1.0-1.1.c:86:1: warning: 'glFrontFace' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(FrontFace,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :171:1: note: expanded from here glFrontFace ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2495:13: note: 'glFrontFace' has been explicitly marked deprecated here extern void glFrontFace (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(FrontFace,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :166:1: note: expanded from here gl_FrontFace ^ gl-1.0-1.1.c:87:1: warning: 'glFrustum' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_6(Frustum,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :180:1: note: expanded from here glFrustum ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2496:13: note: 'glFrustum' has been explicitly marked deprecated here extern void glFrustum (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_6(Frustum,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :175:1: note: expanded from here gl_Frustum ^ gl-1.0-1.1.c:88:1: warning: 'glGenLists' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(GenLists,GLuint, GLsizei) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :194:1: note: expanded from here glGenLists ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2497:15: note: 'glGenLists' has been explicitly marked deprecated here extern GLuint glGenLists (GLsizei range) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(GenLists,GLuint, GLsizei) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :189:1: note: expanded from here gl_GenLists ^ gl-1.0-1.1.c:89:1: warning: 'glGetError' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(GetError,GLenum) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :203:1: note: expanded from here glGetError ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2508:15: note: 'glGetError' has been explicitly marked deprecated here extern GLenum glGetError (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(GetError,GLenum) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :198:1: note: expanded from here gl_GetError ^ gl-1.0-1.1.c:90:1: warning: 'glHint' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Hint,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :211:1: note: expanded from here glHint ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2541:13: note: 'glHint' has been explicitly marked deprecated here extern void glHint (GLenum target, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Hint,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :206:1: note: expanded from here gl_Hint ^ gl-1.0-1.1.c:91:1: warning: 'glIndexd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Indexd,GLvoid, GLdouble) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :221:1: note: expanded from here glIndexd ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2545:13: note: 'glIndexd' has been explicitly marked deprecated here extern void glIndexd (GLdouble c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Indexd,GLvoid, GLdouble) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :216:1: note: expanded from here gl_Indexd ^ gl-1.0-1.1.c:92:1: warning: 'glIndexf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Indexf,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :230:1: note: expanded from here glIndexf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2547:13: note: 'glIndexf' has been explicitly marked deprecated here extern void glIndexf (GLfloat c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Indexf,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :225:1: note: expanded from here gl_Indexf ^ gl-1.0-1.1.c:93:1: warning: 'glIndexi' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Indexi,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :239:1: note: expanded from here glIndexi ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2549:13: note: 'glIndexi' has been explicitly marked deprecated here extern void glIndexi (GLint c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Indexi,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :234:1: note: expanded from here gl_Indexi ^ gl-1.0-1.1.c:94:1: warning: 'glIndexMask' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(IndexMask,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :248:1: note: expanded from here glIndexMask ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2543:13: note: 'glIndexMask' has been explicitly marked deprecated here extern void glIndexMask (GLuint mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(IndexMask,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :243:1: note: expanded from here gl_IndexMask ^ gl-1.0-1.1.c:95:1: warning: 'glIndexs' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Indexs,GLvoid, GLshort) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :257:1: note: expanded from here glIndexs ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2551:13: note: 'glIndexs' has been explicitly marked deprecated here extern void glIndexs (GLshort c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Indexs,GLvoid, GLshort) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :252:1: note: expanded from here gl_Indexs ^ gl-1.0-1.1.c:96:1: warning: 'glIndexub' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(Indexub,GLvoid, GLubyte) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :266:1: note: expanded from here glIndexub ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2553:13: note: 'glIndexub' has been explicitly marked deprecated here extern void glIndexub (GLubyte c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(Indexub,GLvoid, GLubyte) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :261:1: note: expanded from here gl_Indexub ^ gl-1.0-1.1.c:97:1: warning: 'glInitNames' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(InitNames,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :275:1: note: expanded from here glInitNames ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2555:13: note: 'glInitNames' has been explicitly marked deprecated here extern void glInitNames (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(InitNames,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :270:1: note: expanded from here gl_InitNames ^ gl-1.0-1.1.c:98:1: warning: 'glIsEnabled' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(IsEnabled,GLboolean, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :283:1: note: expanded from here glIsEnabled ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2557:18: note: 'glIsEnabled' has been explicitly marked deprecated here extern GLboolean glIsEnabled (GLenum cap) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(IsEnabled,GLboolean, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :278:1: note: expanded from here gl_IsEnabled ^ gl-1.0-1.1.c:99:1: warning: 'glIsList' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(IsList,GLboolean, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :292:1: note: expanded from here glIsList ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2558:18: note: 'glIsList' has been explicitly marked deprecated here extern GLboolean glIsList (GLuint list) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(IsList,GLboolean, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :287:1: note: expanded from here gl_IsList ^ gl-1.0-1.1.c:100:1: warning: 'glIsTexture' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(IsTexture,GLboolean, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :301:1: note: expanded from here glIsTexture ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2559:18: note: 'glIsTexture' has been explicitly marked deprecated here extern GLboolean glIsTexture (GLuint texture) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(IsTexture,GLboolean, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :296:1: note: expanded from here gl_IsTexture ^ gl-1.0-1.1.c:101:1: warning: 'glLightModelf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(LightModelf,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :3:1: note: expanded from here glLightModelf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2560:13: note: 'glLightModelf' has been explicitly marked deprecated here extern void glLightModelf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(LightModelf,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :305:1: note: expanded from here gl_LightModelf ^ gl-1.0-1.1.c:102:1: warning: 'glLightModeli' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(LightModeli,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :13:1: note: expanded from here glLightModeli ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2562:13: note: 'glLightModeli' has been explicitly marked deprecated here extern void glLightModeli (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(LightModeli,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :8:1: note: expanded from here gl_LightModeli ^ gl-1.0-1.1.c:103:1: warning: 'glLightf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Lightf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :23:1: note: expanded from here glLightf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2564:13: note: 'glLightf' has been explicitly marked deprecated here extern void glLightf (GLenum light, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Lightf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :18:1: note: expanded from here gl_Lightf ^ gl-1.0-1.1.c:104:1: warning: 'glLighti' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Lighti,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :34:1: note: expanded from here glLighti ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2566:13: note: 'glLighti' has been explicitly marked deprecated here extern void glLighti (GLenum light, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Lighti,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :29:1: note: expanded from here gl_Lighti ^ gl-1.0-1.1.c:105:1: warning: 'glLineStipple' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(LineStipple,GLvoid, GLint,GLushort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :45:1: note: expanded from here glLineStipple ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2568:13: note: 'glLineStipple' has been explicitly marked deprecated here extern void glLineStipple (GLint factor, GLushort pattern) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(LineStipple,GLvoid, GLint,GLushort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :40:1: note: expanded from here gl_LineStipple ^ gl-1.0-1.1.c:106:1: warning: 'glLineWidth' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(LineWidth,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :55:1: note: expanded from here glLineWidth ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2569:13: note: 'glLineWidth' has been explicitly marked deprecated here extern void glLineWidth (GLfloat width) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(LineWidth,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :50:1: note: expanded from here gl_LineWidth ^ gl-1.0-1.1.c:107:1: warning: 'glListBase' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ListBase,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :64:1: note: expanded from here glListBase ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2570:13: note: 'glListBase' has been explicitly marked deprecated here extern void glListBase (GLuint base) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ListBase,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :59:1: note: expanded from here gl_ListBase ^ gl-1.0-1.1.c:108:1: warning: 'glLoadIdentity' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(LoadIdentity,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :73:1: note: expanded from here glLoadIdentity ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2571:13: note: 'glLoadIdentity' has been explicitly marked deprecated here extern void glLoadIdentity (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(LoadIdentity,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :68:1: note: expanded from here gl_LoadIdentity ^ gl-1.0-1.1.c:109:1: warning: 'glLoadName' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(LoadName,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :81:1: note: expanded from here glLoadName ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2574:13: note: 'glLoadName' has been explicitly marked deprecated here extern void glLoadName (GLuint name) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(LoadName,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :76:1: note: expanded from here gl_LoadName ^ gl-1.0-1.1.c:110:1: warning: 'glLogicOp' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(LogicOp,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :90:1: note: expanded from here glLogicOp ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2575:13: note: 'glLogicOp' has been explicitly marked deprecated here extern void glLogicOp (GLenum opcode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(LogicOp,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :85:1: note: expanded from here gl_LogicOp ^ gl-1.0-1.1.c:111:1: warning: 'glMapGrid1d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(MapGrid1d,GLvoid, GLint,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :99:1: note: expanded from here glMapGrid1d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2580:13: note: 'glMapGrid1d' has been explicitly marked deprecated here extern void glMapGrid1d (GLint un, GLdouble u1, GLdouble u2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(MapGrid1d,GLvoid, GLint,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :94:1: note: expanded from here gl_MapGrid1d ^ gl-1.0-1.1.c:112:1: warning: 'glMapGrid1f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(MapGrid1f,GLvoid, GLint,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :110:1: note: expanded from here glMapGrid1f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2581:13: note: 'glMapGrid1f' has been explicitly marked deprecated here extern void glMapGrid1f (GLint un, GLfloat u1, GLfloat u2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(MapGrid1f,GLvoid, GLint,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :105:1: note: expanded from here gl_MapGrid1f ^ gl-1.0-1.1.c:113:1: warning: 'glMapGrid2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_6(MapGrid2d,GLvoid, GLint,GLdouble,GLdouble,GLint,GLdouble,GLdouble) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :121:1: note: expanded from here glMapGrid2d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2582:13: note: 'glMapGrid2d' has been explicitly marked deprecated here extern void glMapGrid2d (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_6(MapGrid2d,GLvoid, GLint,GLdouble,GLdouble,GLint,GLdouble,GLdouble) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :116:1: note: expanded from here gl_MapGrid2d ^ gl-1.0-1.1.c:114:1: warning: 'glMapGrid2f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_6(MapGrid2f,GLvoid, GLint,GLfloat,GLfloat,GLint,GLfloat,GLfloat) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :135:1: note: expanded from here glMapGrid2f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2583:13: note: 'glMapGrid2f' has been explicitly marked deprecated here extern void glMapGrid2f (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_6(MapGrid2f,GLvoid, GLint,GLfloat,GLfloat,GLint,GLfloat,GLfloat) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :130:1: note: expanded from here gl_MapGrid2f ^ gl-1.0-1.1.c:115:1: warning: 'glMaterialf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Materialf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :149:1: note: expanded from here glMaterialf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2584:13: note: 'glMaterialf' has been explicitly marked deprecated here extern void glMaterialf (GLenum face, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Materialf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :144:1: note: expanded from here gl_Materialf ^ gl-1.0-1.1.c:116:1: warning: 'glMateriali' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Materiali,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :160:1: note: expanded from here glMateriali ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2586:13: note: 'glMateriali' has been explicitly marked deprecated here extern void glMateriali (GLenum face, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Materiali,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :155:1: note: expanded from here gl_Materiali ^ gl-1.0-1.1.c:117:1: warning: 'glMatrixMode' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(MatrixMode,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :171:1: note: expanded from here glMatrixMode ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2588:13: note: 'glMatrixMode' has been explicitly marked deprecated here extern void glMatrixMode (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(MatrixMode,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :166:1: note: expanded from here gl_MatrixMode ^ gl-1.0-1.1.c:118:1: warning: 'glNewList' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(NewList,GLvoid, GLuint,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :180:1: note: expanded from here glNewList ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2592:13: note: 'glNewList' has been explicitly marked deprecated here extern void glNewList (GLuint list, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(NewList,GLvoid, GLuint,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :175:1: note: expanded from here gl_NewList ^ gl-1.0-1.1.c:119:1: warning: 'glNormal3b' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Normal3b,GLvoid, GLbyte,GLbyte,GLbyte) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :190:1: note: expanded from here glNormal3b ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2593:13: note: 'glNormal3b' has been explicitly marked deprecated here extern void glNormal3b (GLbyte nx, GLbyte ny, GLbyte nz) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Normal3b,GLvoid, GLbyte,GLbyte,GLbyte) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :185:1: note: expanded from here gl_Normal3b ^ gl-1.0-1.1.c:120:1: warning: 'glNormal3d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Normal3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :201:1: note: expanded from here glNormal3d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2595:13: note: 'glNormal3d' has been explicitly marked deprecated here extern void glNormal3d (GLdouble nx, GLdouble ny, GLdouble nz) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Normal3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :196:1: note: expanded from here gl_Normal3d ^ gl-1.0-1.1.c:121:1: warning: 'glNormal3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Normal3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :212:1: note: expanded from here glNormal3f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2597:13: note: 'glNormal3f' has been explicitly marked deprecated here extern void glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Normal3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :207:1: note: expanded from here gl_Normal3f ^ gl-1.0-1.1.c:122:1: warning: 'glNormal3i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Normal3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :223:1: note: expanded from here glNormal3i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2599:13: note: 'glNormal3i' has been explicitly marked deprecated here extern void glNormal3i (GLint nx, GLint ny, GLint nz) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Normal3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :218:1: note: expanded from here gl_Normal3i ^ gl-1.0-1.1.c:123:1: warning: 'glNormal3s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Normal3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :234:1: note: expanded from here glNormal3s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2601:13: note: 'glNormal3s' has been explicitly marked deprecated here extern void glNormal3s (GLshort nx, GLshort ny, GLshort nz) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Normal3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :229:1: note: expanded from here gl_Normal3s ^ gl-1.0-1.1.c:124:1: warning: 'glOrtho' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_6(Ortho,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :245:1: note: expanded from here glOrtho ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2604:13: note: 'glOrtho' has been explicitly marked deprecated here extern void glOrtho (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_6(Ortho,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:194:83: note: expanded from macro 'GL_FUNC_STATIC_6' #define GL_FUNC_STATIC_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6) GL_FUNC_STATIC(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :240:1: note: expanded from here gl_Ortho ^ gl-1.0-1.1.c:125:1: warning: 'glPassThrough' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(PassThrough,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :259:1: note: expanded from here glPassThrough ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2605:13: note: 'glPassThrough' has been explicitly marked deprecated here extern void glPassThrough (GLfloat token) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(PassThrough,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :254:1: note: expanded from here gl_PassThrough ^ gl-1.0-1.1.c:126:1: warning: 'glPixelStoref' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PixelStoref,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :268:1: note: expanded from here glPixelStoref ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2609:13: note: 'glPixelStoref' has been explicitly marked deprecated here extern void glPixelStoref (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PixelStoref,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :263:1: note: expanded from here gl_PixelStoref ^ gl-1.0-1.1.c:127:1: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PixelStorei,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :278:1: note: expanded from here glPixelStorei ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PixelStorei,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :273:1: note: expanded from here gl_PixelStorei ^ gl-1.0-1.1.c:128:1: warning: 'glPixelTransferf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PixelTransferf,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :288:1: note: expanded from here glPixelTransferf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2611:13: note: 'glPixelTransferf' has been explicitly marked deprecated here extern void glPixelTransferf (GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PixelTransferf,GLvoid, GLenum,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :283:1: note: expanded from here gl_PixelTransferf ^ gl-1.0-1.1.c:129:1: warning: 'glPixelTransferi' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PixelTransferi,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :298:1: note: expanded from here glPixelTransferi ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2612:13: note: 'glPixelTransferi' has been explicitly marked deprecated here extern void glPixelTransferi (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PixelTransferi,GLvoid, GLenum,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :293:1: note: expanded from here gl_PixelTransferi ^ gl-1.0-1.1.c:130:1: warning: 'glPixelZoom' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PixelZoom,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :4:1: note: expanded from here glPixelZoom ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2613:13: note: 'glPixelZoom' has been explicitly marked deprecated here extern void glPixelZoom (GLfloat xfactor, GLfloat yfactor) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PixelZoom,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :303:1: note: expanded from here gl_PixelZoom ^ gl-1.0-1.1.c:131:1: warning: 'glPointSize' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(PointSize,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :14:1: note: expanded from here glPointSize ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2614:13: note: 'glPointSize' has been explicitly marked deprecated here extern void glPointSize (GLfloat size) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(PointSize,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :9:1: note: expanded from here gl_PointSize ^ gl-1.0-1.1.c:132:1: warning: 'glPolygonMode' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PolygonMode,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :23:1: note: expanded from here glPolygonMode ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2615:13: note: 'glPolygonMode' has been explicitly marked deprecated here extern void glPolygonMode (GLenum face, GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PolygonMode,GLvoid, GLenum,GLenum) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :18:1: note: expanded from here gl_PolygonMode ^ gl-1.0-1.1.c:133:1: warning: 'glPolygonOffset' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(PolygonOffset,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :33:1: note: expanded from here glPolygonOffset ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2616:13: note: 'glPolygonOffset' has been explicitly marked deprecated here extern void glPolygonOffset (GLfloat factor, GLfloat units) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(PolygonOffset,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :28:1: note: expanded from here gl_PolygonOffset ^ gl-1.0-1.1.c:134:1: warning: 'glPopAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(PopAttrib,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :43:1: note: expanded from here glPopAttrib ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2618:13: note: 'glPopAttrib' has been explicitly marked deprecated here extern void glPopAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(PopAttrib,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :38:1: note: expanded from here gl_PopAttrib ^ gl-1.0-1.1.c:135:1: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(PopClientAttrib,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :51:1: note: expanded from here glPopClientAttrib ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(PopClientAttrib,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :46:1: note: expanded from here gl_PopClientAttrib ^ gl-1.0-1.1.c:136:1: warning: 'glPopMatrix' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(PopMatrix,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :59:1: note: expanded from here glPopMatrix ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2620:13: note: 'glPopMatrix' has been explicitly marked deprecated here extern void glPopMatrix (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(PopMatrix,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :54:1: note: expanded from here gl_PopMatrix ^ gl-1.0-1.1.c:137:1: warning: 'glPopName' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(PopName,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :67:1: note: expanded from here glPopName ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2621:13: note: 'glPopName' has been explicitly marked deprecated here extern void glPopName (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(PopName,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :62:1: note: expanded from here gl_PopName ^ gl-1.0-1.1.c:138:1: warning: 'glPushAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(PushAttrib,GLvoid, GLbitfield) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :75:1: note: expanded from here glPushAttrib ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2623:13: note: 'glPushAttrib' has been explicitly marked deprecated here extern void glPushAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(PushAttrib,GLvoid, GLbitfield) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :70:1: note: expanded from here gl_PushAttrib ^ gl-1.0-1.1.c:139:1: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(PushClientAttrib,GLvoid, GLbitfield) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :84:1: note: expanded from here glPushClientAttrib ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(PushClientAttrib,GLvoid, GLbitfield) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :79:1: note: expanded from here gl_PushClientAttrib ^ gl-1.0-1.1.c:140:1: warning: 'glPushMatrix' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_0(PushMatrix,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :93:1: note: expanded from here glPushMatrix ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2625:13: note: 'glPushMatrix' has been explicitly marked deprecated here extern void glPushMatrix (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_0(PushMatrix,GLvoid) ^ ./../common/funcdef.h:188:47: note: expanded from macro 'GL_FUNC_STATIC_0' #define GL_FUNC_STATIC_0(_name_,_returntype_) GL_FUNC_STATIC(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :88:1: note: expanded from here gl_PushMatrix ^ gl-1.0-1.1.c:141:1: warning: 'glPushName' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(PushName,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :101:1: note: expanded from here glPushName ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2626:13: note: 'glPushName' has been explicitly marked deprecated here extern void glPushName (GLuint name) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(PushName,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :96:1: note: expanded from here gl_PushName ^ gl-1.0-1.1.c:142:1: warning: 'glRasterPos2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(RasterPos2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :110:1: note: expanded from here glRasterPos2d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2627:13: note: 'glRasterPos2d' has been explicitly marked deprecated here extern void glRasterPos2d (GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(RasterPos2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :105:1: note: expanded from here gl_RasterPos2d ^ gl-1.0-1.1.c:143:1: warning: 'glRasterPos2f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(RasterPos2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :120:1: note: expanded from here glRasterPos2f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2629:13: note: 'glRasterPos2f' has been explicitly marked deprecated here extern void glRasterPos2f (GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(RasterPos2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :115:1: note: expanded from here gl_RasterPos2f ^ gl-1.0-1.1.c:144:1: warning: 'glRasterPos2i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(RasterPos2i,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :130:1: note: expanded from here glRasterPos2i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2631:13: note: 'glRasterPos2i' has been explicitly marked deprecated here extern void glRasterPos2i (GLint x, GLint y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(RasterPos2i,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :125:1: note: expanded from here gl_RasterPos2i ^ gl-1.0-1.1.c:145:1: warning: 'glRasterPos2s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(RasterPos2s,GLvoid, GLshort,GLshort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :140:1: note: expanded from here glRasterPos2s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2633:13: note: 'glRasterPos2s' has been explicitly marked deprecated here extern void glRasterPos2s (GLshort x, GLshort y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(RasterPos2s,GLvoid, GLshort,GLshort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :135:1: note: expanded from here gl_RasterPos2s ^ gl-1.0-1.1.c:146:1: warning: 'glRasterPos3d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(RasterPos3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :150:1: note: expanded from here glRasterPos3d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2635:13: note: 'glRasterPos3d' has been explicitly marked deprecated here extern void glRasterPos3d (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(RasterPos3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :145:1: note: expanded from here gl_RasterPos3d ^ gl-1.0-1.1.c:147:1: warning: 'glRasterPos3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(RasterPos3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :161:1: note: expanded from here glRasterPos3f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2637:13: note: 'glRasterPos3f' has been explicitly marked deprecated here extern void glRasterPos3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(RasterPos3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :156:1: note: expanded from here gl_RasterPos3f ^ gl-1.0-1.1.c:148:1: warning: 'glRasterPos3i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(RasterPos3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :172:1: note: expanded from here glRasterPos3i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2639:13: note: 'glRasterPos3i' has been explicitly marked deprecated here extern void glRasterPos3i (GLint x, GLint y, GLint z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(RasterPos3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :167:1: note: expanded from here gl_RasterPos3i ^ gl-1.0-1.1.c:149:1: warning: 'glRasterPos3s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(RasterPos3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :183:1: note: expanded from here glRasterPos3s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2641:13: note: 'glRasterPos3s' has been explicitly marked deprecated here extern void glRasterPos3s (GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(RasterPos3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :178:1: note: expanded from here gl_RasterPos3s ^ gl-1.0-1.1.c:150:1: warning: 'glRasterPos4d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(RasterPos4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :194:1: note: expanded from here glRasterPos4d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2643:13: note: 'glRasterPos4d' has been explicitly marked deprecated here extern void glRasterPos4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(RasterPos4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :189:1: note: expanded from here gl_RasterPos4d ^ gl-1.0-1.1.c:151:1: warning: 'glRasterPos4f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(RasterPos4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :206:1: note: expanded from here glRasterPos4f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2645:13: note: 'glRasterPos4f' has been explicitly marked deprecated here extern void glRasterPos4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(RasterPos4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :201:1: note: expanded from here gl_RasterPos4f ^ gl-1.0-1.1.c:152:1: warning: 'glRasterPos4i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(RasterPos4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :218:1: note: expanded from here glRasterPos4i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2647:13: note: 'glRasterPos4i' has been explicitly marked deprecated here extern void glRasterPos4i (GLint x, GLint y, GLint z, GLint w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(RasterPos4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :213:1: note: expanded from here gl_RasterPos4i ^ gl-1.0-1.1.c:153:1: warning: 'glRasterPos4s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(RasterPos4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :230:1: note: expanded from here glRasterPos4s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2649:13: note: 'glRasterPos4s' has been explicitly marked deprecated here extern void glRasterPos4s (GLshort x, GLshort y, GLshort z, GLshort w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(RasterPos4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :225:1: note: expanded from here gl_RasterPos4s ^ gl-1.0-1.1.c:154:1: warning: 'glReadBuffer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ReadBuffer,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :242:1: note: expanded from here glReadBuffer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2651:13: note: 'glReadBuffer' has been explicitly marked deprecated here extern void glReadBuffer (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ReadBuffer,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :237:1: note: expanded from here gl_ReadBuffer ^ gl-1.0-1.1.c:155:1: warning: 'glRectd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Rectd,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :251:1: note: expanded from here glRectd ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2653:13: note: 'glRectd' has been explicitly marked deprecated here extern void glRectd (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Rectd,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :246:1: note: expanded from here gl_Rectd ^ gl-1.0-1.1.c:156:1: warning: 'glRectf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Rectf,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :263:1: note: expanded from here glRectf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2655:13: note: 'glRectf' has been explicitly marked deprecated here extern void glRectf (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Rectf,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :258:1: note: expanded from here gl_Rectf ^ gl-1.0-1.1.c:157:1: warning: 'glRecti' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Recti,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :275:1: note: expanded from here glRecti ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2657:13: note: 'glRecti' has been explicitly marked deprecated here extern void glRecti (GLint x1, GLint y1, GLint x2, GLint y2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Recti,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :270:1: note: expanded from here gl_Recti ^ gl-1.0-1.1.c:158:1: warning: 'glRects' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Rects,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :287:1: note: expanded from here glRects ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2659:13: note: 'glRects' has been explicitly marked deprecated here extern void glRects (GLshort x1, GLshort y1, GLshort x2, GLshort y2) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Rects,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :282:1: note: expanded from here gl_Rects ^ gl-1.0-1.1.c:159:1: warning: 'glRenderMode' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(RenderMode,GLint, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :299:1: note: expanded from here glRenderMode ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2661:14: note: 'glRenderMode' has been explicitly marked deprecated here extern GLint glRenderMode (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(RenderMode,GLint, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :294:1: note: expanded from here gl_RenderMode ^ gl-1.0-1.1.c:160:1: warning: 'glRotated' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Rotated,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :9:1: note: expanded from here glRotated ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2664:13: note: 'glRotated' has been explicitly marked deprecated here extern void glRotated (GLdouble angle, GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Rotated,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :4:1: note: expanded from here gl_Rotated ^ gl-1.0-1.1.c:161:1: warning: 'glRotatef' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Rotatef,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :21:1: note: expanded from here glRotatef ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2665:13: note: 'glRotatef' has been explicitly marked deprecated here extern void glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Rotatef,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :16:1: note: expanded from here gl_Rotatef ^ gl-1.0-1.1.c:162:1: warning: 'glScaled' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Scaled,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :33:1: note: expanded from here glScaled ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2666:13: note: 'glScaled' has been explicitly marked deprecated here extern void glScaled (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Scaled,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :28:1: note: expanded from here gl_Scaled ^ gl-1.0-1.1.c:163:1: warning: 'glScalef' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Scalef,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :44:1: note: expanded from here glScalef ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2667:13: note: 'glScalef' has been explicitly marked deprecated here extern void glScalef (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Scalef,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :39:1: note: expanded from here gl_Scalef ^ gl-1.0-1.1.c:164:1: warning: 'glScissor' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Scissor,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :55:1: note: expanded from here glScissor ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2668:13: note: 'glScissor' has been explicitly marked deprecated here extern void glScissor (GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Scissor,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :50:1: note: expanded from here gl_Scissor ^ gl-1.0-1.1.c:165:1: warning: 'glShadeModel' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(ShadeModel,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :67:1: note: expanded from here glShadeModel ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2671:13: note: 'glShadeModel' has been explicitly marked deprecated here extern void glShadeModel (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(ShadeModel,GLvoid, GLenum) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :62:1: note: expanded from here gl_ShadeModel ^ gl-1.0-1.1.c:166:1: warning: 'glStencilFunc' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(StencilFunc,GLvoid, GLenum,GLint,GLuint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :76:1: note: expanded from here glStencilFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2672:13: note: 'glStencilFunc' has been explicitly marked deprecated here extern void glStencilFunc (GLenum func, GLint ref, GLuint mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(StencilFunc,GLvoid, GLenum,GLint,GLuint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :71:1: note: expanded from here gl_StencilFunc ^ gl-1.0-1.1.c:167:1: warning: 'glStencilMask' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(StencilMask,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :87:1: note: expanded from here glStencilMask ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2673:13: note: 'glStencilMask' has been explicitly marked deprecated here extern void glStencilMask (GLuint mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(StencilMask,GLvoid, GLuint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :82:1: note: expanded from here gl_StencilMask ^ gl-1.0-1.1.c:168:1: warning: 'glStencilOp' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(StencilOp,GLvoid, GLenum,GLenum,GLenum) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :96:1: note: expanded from here glStencilOp ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2674:13: note: 'glStencilOp' has been explicitly marked deprecated here extern void glStencilOp (GLenum fail, GLenum zfail, GLenum zpass) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(StencilOp,GLvoid, GLenum,GLenum,GLenum) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :91:1: note: expanded from here gl_StencilOp ^ gl-1.0-1.1.c:169:1: warning: 'glTexCoord1d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(TexCoord1d,GLvoid, GLdouble) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :107:1: note: expanded from here glTexCoord1d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2675:13: note: 'glTexCoord1d' has been explicitly marked deprecated here extern void glTexCoord1d (GLdouble s) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(TexCoord1d,GLvoid, GLdouble) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :102:1: note: expanded from here gl_TexCoord1d ^ gl-1.0-1.1.c:170:1: warning: 'glTexCoord1f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(TexCoord1f,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :116:1: note: expanded from here glTexCoord1f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2677:13: note: 'glTexCoord1f' has been explicitly marked deprecated here extern void glTexCoord1f (GLfloat s) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(TexCoord1f,GLvoid, GLfloat) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :111:1: note: expanded from here gl_TexCoord1f ^ gl-1.0-1.1.c:171:1: warning: 'glTexCoord1i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(TexCoord1i,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :125:1: note: expanded from here glTexCoord1i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2679:13: note: 'glTexCoord1i' has been explicitly marked deprecated here extern void glTexCoord1i (GLint s) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(TexCoord1i,GLvoid, GLint) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :120:1: note: expanded from here gl_TexCoord1i ^ gl-1.0-1.1.c:172:1: warning: 'glTexCoord1s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_1(TexCoord1s,GLvoid, GLshort) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :134:1: note: expanded from here glTexCoord1s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2681:13: note: 'glTexCoord1s' has been explicitly marked deprecated here extern void glTexCoord1s (GLshort s) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_1(TexCoord1s,GLvoid, GLshort) ^ ./../common/funcdef.h:189:53: note: expanded from macro 'GL_FUNC_STATIC_1' #define GL_FUNC_STATIC_1(_name_,_returntype_,targ1) GL_FUNC_STATIC(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :129:1: note: expanded from here gl_TexCoord1s ^ gl-1.0-1.1.c:173:1: warning: 'glTexCoord2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(TexCoord2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :143:1: note: expanded from here glTexCoord2d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2683:13: note: 'glTexCoord2d' has been explicitly marked deprecated here extern void glTexCoord2d (GLdouble s, GLdouble t) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(TexCoord2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :138:1: note: expanded from here gl_TexCoord2d ^ gl-1.0-1.1.c:174:1: warning: 'glTexCoord2f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(TexCoord2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :153:1: note: expanded from here glTexCoord2f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2685:13: note: 'glTexCoord2f' has been explicitly marked deprecated here extern void glTexCoord2f (GLfloat s, GLfloat t) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(TexCoord2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :148:1: note: expanded from here gl_TexCoord2f ^ gl-1.0-1.1.c:175:1: warning: 'glTexCoord2i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(TexCoord2i,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :163:1: note: expanded from here glTexCoord2i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2687:13: note: 'glTexCoord2i' has been explicitly marked deprecated here extern void glTexCoord2i (GLint s, GLint t) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(TexCoord2i,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :158:1: note: expanded from here gl_TexCoord2i ^ gl-1.0-1.1.c:176:1: warning: 'glTexCoord2s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(TexCoord2s,GLvoid, GLshort,GLshort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :173:1: note: expanded from here glTexCoord2s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2689:13: note: 'glTexCoord2s' has been explicitly marked deprecated here extern void glTexCoord2s (GLshort s, GLshort t) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(TexCoord2s,GLvoid, GLshort,GLshort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :168:1: note: expanded from here gl_TexCoord2s ^ gl-1.0-1.1.c:177:1: warning: 'glTexCoord3d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexCoord3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :183:1: note: expanded from here glTexCoord3d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2691:13: note: 'glTexCoord3d' has been explicitly marked deprecated here extern void glTexCoord3d (GLdouble s, GLdouble t, GLdouble r) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexCoord3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :178:1: note: expanded from here gl_TexCoord3d ^ gl-1.0-1.1.c:178:1: warning: 'glTexCoord3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexCoord3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :194:1: note: expanded from here glTexCoord3f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2693:13: note: 'glTexCoord3f' has been explicitly marked deprecated here extern void glTexCoord3f (GLfloat s, GLfloat t, GLfloat r) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexCoord3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :189:1: note: expanded from here gl_TexCoord3f ^ gl-1.0-1.1.c:179:1: warning: 'glTexCoord3i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexCoord3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :205:1: note: expanded from here glTexCoord3i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2695:13: note: 'glTexCoord3i' has been explicitly marked deprecated here extern void glTexCoord3i (GLint s, GLint t, GLint r) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexCoord3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :200:1: note: expanded from here gl_TexCoord3i ^ gl-1.0-1.1.c:180:1: warning: 'glTexCoord3s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexCoord3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :216:1: note: expanded from here glTexCoord3s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2697:13: note: 'glTexCoord3s' has been explicitly marked deprecated here extern void glTexCoord3s (GLshort s, GLshort t, GLshort r) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexCoord3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :211:1: note: expanded from here gl_TexCoord3s ^ gl-1.0-1.1.c:181:1: warning: 'glTexCoord4d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(TexCoord4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :227:1: note: expanded from here glTexCoord4d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2699:13: note: 'glTexCoord4d' has been explicitly marked deprecated here extern void glTexCoord4d (GLdouble s, GLdouble t, GLdouble r, GLdouble q) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(TexCoord4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :222:1: note: expanded from here gl_TexCoord4d ^ gl-1.0-1.1.c:182:1: warning: 'glTexCoord4f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(TexCoord4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :239:1: note: expanded from here glTexCoord4f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2701:13: note: 'glTexCoord4f' has been explicitly marked deprecated here extern void glTexCoord4f (GLfloat s, GLfloat t, GLfloat r, GLfloat q) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(TexCoord4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :234:1: note: expanded from here gl_TexCoord4f ^ gl-1.0-1.1.c:183:1: warning: 'glTexCoord4i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(TexCoord4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :251:1: note: expanded from here glTexCoord4i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2703:13: note: 'glTexCoord4i' has been explicitly marked deprecated here extern void glTexCoord4i (GLint s, GLint t, GLint r, GLint q) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(TexCoord4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :246:1: note: expanded from here gl_TexCoord4i ^ gl-1.0-1.1.c:184:1: warning: 'glTexCoord4s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(TexCoord4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :263:1: note: expanded from here glTexCoord4s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2705:13: note: 'glTexCoord4s' has been explicitly marked deprecated here extern void glTexCoord4s (GLshort s, GLshort t, GLshort r, GLshort q) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(TexCoord4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :258:1: note: expanded from here gl_TexCoord4s ^ gl-1.0-1.1.c:185:1: warning: 'glTexEnvf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexEnvf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :275:1: note: expanded from here glTexEnvf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2708:13: note: 'glTexEnvf' has been explicitly marked deprecated here extern void glTexEnvf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexEnvf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :270:1: note: expanded from here gl_TexEnvf ^ gl-1.0-1.1.c:186:1: warning: 'glTexEnvi' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexEnvi,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :286:1: note: expanded from here glTexEnvi ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2710:13: note: 'glTexEnvi' has been explicitly marked deprecated here extern void glTexEnvi (GLenum target, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexEnvi,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :281:1: note: expanded from here gl_TexEnvi ^ gl-1.0-1.1.c:187:1: warning: 'glTexGend' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexGend,GLvoid, GLenum,GLenum,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :297:1: note: expanded from here glTexGend ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2712:13: note: 'glTexGend' has been explicitly marked deprecated here extern void glTexGend (GLenum coord, GLenum pname, GLdouble param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexGend,GLvoid, GLenum,GLenum,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :292:1: note: expanded from here gl_TexGend ^ gl-1.0-1.1.c:188:1: warning: 'glTexGenf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexGenf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :4:1: note: expanded from here glTexGenf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2714:13: note: 'glTexGenf' has been explicitly marked deprecated here extern void glTexGenf (GLenum coord, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexGenf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :303:1: note: expanded from here gl_TexGenf ^ gl-1.0-1.1.c:189:1: warning: 'glTexGeni' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexGeni,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :15:1: note: expanded from here glTexGeni ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2716:13: note: 'glTexGeni' has been explicitly marked deprecated here extern void glTexGeni (GLenum coord, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexGeni,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :10:1: note: expanded from here gl_TexGeni ^ gl-1.0-1.1.c:190:1: warning: 'glTexParameterf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexParameterf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :26:1: note: expanded from here glTexParameterf ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2721:13: note: 'glTexParameterf' has been explicitly marked deprecated here extern void glTexParameterf (GLenum target, GLenum pname, GLfloat param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexParameterf,GLvoid, GLenum,GLenum,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :21:1: note: expanded from here gl_TexParameterf ^ gl-1.0-1.1.c:191:1: warning: 'glTexParameteri' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(TexParameteri,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :37:1: note: expanded from here glTexParameteri ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2723:13: note: 'glTexParameteri' has been explicitly marked deprecated here extern void glTexParameteri (GLenum target, GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(TexParameteri,GLvoid, GLenum,GLenum,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :32:1: note: expanded from here gl_TexParameteri ^ gl-1.0-1.1.c:192:1: warning: 'glTranslated' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Translated,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :48:1: note: expanded from here glTranslated ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2728:13: note: 'glTranslated' has been explicitly marked deprecated here extern void glTranslated (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Translated,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :43:1: note: expanded from here gl_Translated ^ gl-1.0-1.1.c:193:1: warning: 'glTranslatef' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Translatef,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :59:1: note: expanded from here glTranslatef ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2729:13: note: 'glTranslatef' has been explicitly marked deprecated here extern void glTranslatef (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Translatef,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :54:1: note: expanded from here gl_Translatef ^ gl-1.0-1.1.c:194:1: warning: 'glVertex2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Vertex2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :70:1: note: expanded from here glVertex2d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2730:13: note: 'glVertex2d' has been explicitly marked deprecated here extern void glVertex2d (GLdouble x, GLdouble y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Vertex2d,GLvoid, GLdouble,GLdouble) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :65:1: note: expanded from here gl_Vertex2d ^ gl-1.0-1.1.c:195:1: warning: 'glVertex2f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Vertex2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :80:1: note: expanded from here glVertex2f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2732:13: note: 'glVertex2f' has been explicitly marked deprecated here extern void glVertex2f (GLfloat x, GLfloat y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Vertex2f,GLvoid, GLfloat,GLfloat) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :75:1: note: expanded from here gl_Vertex2f ^ gl-1.0-1.1.c:196:1: warning: 'glVertex2i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Vertex2i,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :90:1: note: expanded from here glVertex2i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2734:13: note: 'glVertex2i' has been explicitly marked deprecated here extern void glVertex2i (GLint x, GLint y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Vertex2i,GLvoid, GLint,GLint) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :85:1: note: expanded from here gl_Vertex2i ^ gl-1.0-1.1.c:197:1: warning: 'glVertex2s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_2(Vertex2s,GLvoid, GLshort,GLshort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :100:1: note: expanded from here glVertex2s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2736:13: note: 'glVertex2s' has been explicitly marked deprecated here extern void glVertex2s (GLshort x, GLshort y) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_2(Vertex2s,GLvoid, GLshort,GLshort) ^ ./../common/funcdef.h:190:59: note: expanded from macro 'GL_FUNC_STATIC_2' #define GL_FUNC_STATIC_2(_name_,_returntype_,targ1,targ2) GL_FUNC_STATIC(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :95:1: note: expanded from here gl_Vertex2s ^ gl-1.0-1.1.c:198:1: warning: 'glVertex3d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Vertex3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :110:1: note: expanded from here glVertex3d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2738:13: note: 'glVertex3d' has been explicitly marked deprecated here extern void glVertex3d (GLdouble x, GLdouble y, GLdouble z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Vertex3d,GLvoid, GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :105:1: note: expanded from here gl_Vertex3d ^ gl-1.0-1.1.c:199:1: warning: 'glVertex3f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Vertex3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :121:1: note: expanded from here glVertex3f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2740:13: note: 'glVertex3f' has been explicitly marked deprecated here extern void glVertex3f (GLfloat x, GLfloat y, GLfloat z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Vertex3f,GLvoid, GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :116:1: note: expanded from here gl_Vertex3f ^ gl-1.0-1.1.c:200:1: warning: 'glVertex3i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Vertex3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :132:1: note: expanded from here glVertex3i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2742:13: note: 'glVertex3i' has been explicitly marked deprecated here extern void glVertex3i (GLint x, GLint y, GLint z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Vertex3i,GLvoid, GLint,GLint,GLint) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :127:1: note: expanded from here gl_Vertex3i ^ gl-1.0-1.1.c:201:1: warning: 'glVertex3s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_3(Vertex3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :143:1: note: expanded from here glVertex3s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2744:13: note: 'glVertex3s' has been explicitly marked deprecated here extern void glVertex3s (GLshort x, GLshort y, GLshort z) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_3(Vertex3s,GLvoid, GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:191:65: note: expanded from macro 'GL_FUNC_STATIC_3' #define GL_FUNC_STATIC_3(_name_,_returntype_,targ1,targ2,targ3) GL_FUNC_STATIC(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :138:1: note: expanded from here gl_Vertex3s ^ gl-1.0-1.1.c:202:1: warning: 'glVertex4d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Vertex4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :154:1: note: expanded from here glVertex4d ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2746:13: note: 'glVertex4d' has been explicitly marked deprecated here extern void glVertex4d (GLdouble x, GLdouble y, GLdouble z, GLdouble w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Vertex4d,GLvoid, GLdouble,GLdouble,GLdouble,GLdouble) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :149:1: note: expanded from here gl_Vertex4d ^ gl-1.0-1.1.c:203:1: warning: 'glVertex4f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Vertex4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :166:1: note: expanded from here glVertex4f ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2748:13: note: 'glVertex4f' has been explicitly marked deprecated here extern void glVertex4f (GLfloat x, GLfloat y, GLfloat z, GLfloat w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Vertex4f,GLvoid, GLfloat,GLfloat,GLfloat,GLfloat) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :161:1: note: expanded from here gl_Vertex4f ^ gl-1.0-1.1.c:204:1: warning: 'glVertex4i' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Vertex4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :178:1: note: expanded from here glVertex4i ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2750:13: note: 'glVertex4i' has been explicitly marked deprecated here extern void glVertex4i (GLint x, GLint y, GLint z, GLint w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Vertex4i,GLvoid, GLint,GLint,GLint,GLint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :173:1: note: expanded from here gl_Vertex4i ^ gl-1.0-1.1.c:205:1: warning: 'glVertex4s' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Vertex4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :190:1: note: expanded from here glVertex4s ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2752:13: note: 'glVertex4s' has been explicitly marked deprecated here extern void glVertex4s (GLshort x, GLshort y, GLshort z, GLshort w) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Vertex4s,GLvoid, GLshort,GLshort,GLshort,GLshort) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :185:1: note: expanded from here gl_Vertex4s ^ gl-1.0-1.1.c:206:1: warning: 'glViewport' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_STATIC_4(Viewport,GLvoid, GLuint,GLuint,GLuint,GLuint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:171:25: note: expanded from macro 'GL_FUNC_STATIC' RETSTAT_##_returntype_ gl##_name_(CALLCONV##_num_(targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10)); \ ^ :202:1: note: expanded from here glViewport ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2755:13: note: 'glViewport' has been explicitly marked deprecated here extern void glViewport (GLint x, GLint y, GLsizei width, GLsizei height) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_STATIC_4(Viewport,GLvoid, GLuint,GLuint,GLuint,GLuint) ^ ./../common/funcdef.h:192:71: note: expanded from macro 'GL_FUNC_STATIC_4' #define GL_FUNC_STATIC_4(_name_,_returntype_,targ1,targ2,targ3,targ4) GL_FUNC_STATIC(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0) ^ ./../common/funcdef.h:166:14: note: expanded from macro 'GL_FUNC_STATIC' static VALUE \ ^ :197:1: note: expanded from here gl_Viewport ^ gl-1.0-1.1.c:214:2: warning: 'glBegin' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glBegin(CONV_GLenum(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2385:13: note: 'glBegin' has been explicitly marked deprecated here extern void glBegin (GLenum mode) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Begin(obj,arg1) ^ gl-1.0-1.1.c:224:2: warning: 'glEnd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEnd(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2474:13: note: 'glEnd' has been explicitly marked deprecated here extern void glEnd (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_End(obj) ^ gl-1.0-1.1.c:239:2: warning: 'glCallLists' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glCallLists(n, type, RSTRING_PTR(lists)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2393:13: note: 'glCallLists' has been explicitly marked deprecated here extern void glCallLists (GLsizei n, GLenum type, const GLvoid *lists) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CallLists(obj,arg1,arg2) ^ gl-1.0-1.1.c:238:25: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] n = RSTRING_LEN(lists) / gltype_glformat_unit_size(type,1); ~ ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:261:3: warning: 'glBitmap' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glBitmap(width, height, xorig, yorig, xmove, ymove, (GLvoid *)NUM2INT(arg7)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2387:13: note: 'glBitmap' has been explicitly marked deprecated here extern void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:269:3: warning: 'glBitmap' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glBitmap(width, height, xorig, yorig, xmove, ymove, (const GLubyte *)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2387:13: note: 'glBitmap' has been explicitly marked deprecated here extern void glBitmap (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Bitmap(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7) ^ gl-1.0-1.1.c:282:2: warning: 'glEdgeFlagv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEdgeFlagv(flag); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2471:13: note: 'glEdgeFlagv' has been explicitly marked deprecated here extern void glEdgeFlagv (const GLboolean *flag) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_EdgeFlagv(obj,arg1) ^ gl-1.0-1.1.c:294:2: warning: 'glIndexdv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexdv(c); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2546:13: note: 'glIndexdv' has been explicitly marked deprecated here extern void glIndexdv (const GLdouble *c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Indexdv(obj,arg1) ^ gl-1.0-1.1.c:306:2: warning: 'glIndexfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexfv(c); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2548:13: note: 'glIndexfv' has been explicitly marked deprecated here extern void glIndexfv (const GLfloat *c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Indexfv(obj,arg1) ^ gl-1.0-1.1.c:318:2: warning: 'glIndexiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexiv(c); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2550:13: note: 'glIndexiv' has been explicitly marked deprecated here extern void glIndexiv (const GLint *c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Indexiv(obj,arg1) ^ gl-1.0-1.1.c:330:2: warning: 'glIndexsv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexsv(c); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2552:13: note: 'glIndexsv' has been explicitly marked deprecated here extern void glIndexsv (const GLshort *c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Indexsv(obj,arg1) ^ gl-1.0-1.1.c:344:2: warning: 'glClipPlane' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glClipPlane(plane,equation); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2400:13: note: 'glClipPlane' has been explicitly marked deprecated here extern void glClipPlane (GLenum plane, const GLdouble *equation) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ClipPlane(obj,arg1,arg2) ^ gl-1.0-1.1.c:358:2: warning: 'glFogfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glFogfv(pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2492:13: note: 'glFogfv' has been explicitly marked deprecated here extern void glFogfv (GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Fogfv(obj,arg1,arg2) ^ gl-1.0-1.1.c:372:2: warning: 'glFogiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glFogiv(pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2494:13: note: 'glFogiv' has been explicitly marked deprecated here extern void glFogiv (GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Fogiv(obj,arg1,arg2) ^ gl-1.0-1.1.c:388:2: warning: 'glLightfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glLightfv(light,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2565:13: note: 'glLightfv' has been explicitly marked deprecated here extern void glLightfv (GLenum light, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Lightfv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:404:2: warning: 'glLightiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glLightiv(light,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2567:13: note: 'glLightiv' has been explicitly marked deprecated here extern void glLightiv (GLenum light, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Lightiv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:418:2: warning: 'glLightModelfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glLightModelfv(pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2561:13: note: 'glLightModelfv' has been explicitly marked deprecated here extern void glLightModelfv (GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_LightModelfv(obj,arg1,arg2) ^ gl-1.0-1.1.c:432:2: warning: 'glLightModeliv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glLightModeliv(pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2563:13: note: 'glLightModeliv' has been explicitly marked deprecated here extern void glLightModeliv (GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_LightModeliv(obj,arg1,arg2) ^ gl-1.0-1.1.c:449:2: warning: 'glMaterialfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMaterialfv(face,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2585:13: note: 'glMaterialfv' has been explicitly marked deprecated here extern void glMaterialfv (GLenum face, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Materialfv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:465:2: warning: 'glMaterialiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMaterialiv(face,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2587:13: note: 'glMaterialiv' has been explicitly marked deprecated here extern void glMaterialiv (GLenum face, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Materialiv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:475:3: warning: 'glPolygonStipple' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glPolygonStipple((GLvoid *)NUM2INT(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2617:13: note: 'glPolygonStipple' has been explicitly marked deprecated here extern void glPolygonStipple (const GLubyte *mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:482:3: warning: 'glPolygonStipple' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glPolygonStipple((GLubyte *)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2617:13: note: 'glPolygonStipple' has been explicitly marked deprecated here extern void glPolygonStipple (const GLubyte *mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_PolygonStipple(obj,arg1) ^ gl-1.0-1.1.c:500:2: warning: 'glTexParameterfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexParameterfv(target,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2722:13: note: 'glTexParameterfv' has been explicitly marked deprecated here extern void glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexParameterfv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:516:2: warning: 'glTexParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexParameteriv(target,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2724:13: note: 'glTexParameteriv' has been explicitly marked deprecated here extern void glTexParameteriv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexParameteriv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:542:3: warning: 'glTexImage1D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexImage1D(target,level,components,width,border,format,type,(GLvoid *)NUM2INT(arg8)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2718:13: note: 'glTexImage1D' has been explicitly marked deprecated here extern void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:555:2: warning: 'glTexImage1D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexImage1D(target,level,components,width,border,format,type,pixels); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2718:13: note: 'glTexImage1D' has been explicitly marked deprecated here extern void glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexImage1D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) ^ gl-1.0-1.1.c:583:3: warning: 'glTexImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexImage2D(target,level,components,width,height,border,format,type,(GLvoid *)NUM2INT(arg9)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2719:13: note: 'glTexImage2D' has been explicitly marked deprecated here extern void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:596:2: warning: 'glTexImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexImage2D(target,level,components,width,height,border,format,type,pixels); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2719:13: note: 'glTexImage2D' has been explicitly marked deprecated here extern void glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexImage2D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) ^ gl-1.0-1.1.c:612:2: warning: 'glTexEnvfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexEnvfv(target,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2709:13: note: 'glTexEnvfv' has been explicitly marked deprecated here extern void glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexEnvfv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:628:2: warning: 'glTexEnviv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexEnviv(target,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2711:13: note: 'glTexEnviv' has been explicitly marked deprecated here extern void glTexEnviv (GLenum target, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexEnviv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:645:2: warning: 'glTexGendv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexGendv(coord,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2713:13: note: 'glTexGendv' has been explicitly marked deprecated here extern void glTexGendv (GLenum coord, GLenum pname, const GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexGendv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:662:2: warning: 'glTexGenfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexGenfv(coord,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2715:13: note: 'glTexGenfv' has been explicitly marked deprecated here extern void glTexGenfv (GLenum coord, GLenum pname, const GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexGenfv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:679:2: warning: 'glTexGeniv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexGeniv(coord,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2717:13: note: 'glTexGeniv' has been explicitly marked deprecated here extern void glTexGeniv (GLenum coord, GLenum pname, const GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexGeniv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:694:2: warning: 'glFeedbackBuffer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glFeedbackBuffer(size, type, (GLfloat*)RSTRING_PTR(g_current_feed_buffer)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2488:13: note: 'glFeedbackBuffer' has been explicitly marked deprecated here extern void glFeedbackBuffer (GLsizei size, GLenum type, GLfloat *buffer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_FeedbackBuffer(obj,arg1,arg2) ^ gl-1.0-1.1.c:708:2: warning: 'glSelectBuffer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glSelectBuffer(size, (GLuint*)RSTRING_PTR(g_current_sel_buffer)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2669:13: note: 'glSelectBuffer' has been explicitly marked deprecated here extern void glSelectBuffer (GLsizei size, GLuint *buffer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_SelectBuffer(obj,arg1) ^ gl-1.0-1.1.c:735:2: warning: 'glMap1d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMap1d(target, u1, u2, stride, order, points); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2576:13: note: 'glMap1d' has been explicitly marked deprecated here extern void glMap1d (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Map1d(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-1.0-1.1.c:762:2: warning: 'glMap1f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMap1f(target, u1, u2, stride, order, points); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2577:13: note: 'glMap1f' has been explicitly marked deprecated here extern void glMap1f (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Map1f(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-1.0-1.1.c:797:2: warning: 'glMap2d' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMap2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2578:13: note: 'glMap2d' has been explicitly marked deprecated here extern void glMap2d (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Map2d(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) ^ gl-1.0-1.1.c:832:2: warning: 'glMap2f' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMap2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2579:13: note: 'glMap2f' has been explicitly marked deprecated here extern void glMap2f (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Map2f(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) ^ gl-1.0-1.1.c:845:2: warning: 'glEvalCoord1dv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEvalCoord1dv(params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2477:13: note: 'glEvalCoord1dv' has been explicitly marked deprecated here extern void glEvalCoord1dv (const GLdouble *u) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_EvalCoord1dv(obj,arg1) ^ gl-1.0-1.1.c:857:2: warning: 'glEvalCoord1fv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEvalCoord1fv(params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2479:13: note: 'glEvalCoord1fv' has been explicitly marked deprecated here extern void glEvalCoord1fv (const GLfloat *u) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_EvalCoord1fv(obj,arg1) ^ gl-1.0-1.1.c:869:2: warning: 'glEvalCoord2dv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEvalCoord2dv(params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2481:13: note: 'glEvalCoord2dv' has been explicitly marked deprecated here extern void glEvalCoord2dv (const GLdouble *u) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_EvalCoord2dv(obj,arg1) ^ gl-1.0-1.1.c:881:2: warning: 'glEvalCoord2fv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEvalCoord2fv(params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2483:13: note: 'glEvalCoord2fv' has been explicitly marked deprecated here extern void glEvalCoord2fv (const GLfloat *u) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_EvalCoord2fv(obj,arg1) ^ gl-1.0-1.1.c:923:1: warning: 'glPixelMapfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLPIXELMAP_FUNC(f,GLfloat,ary2cflt) ^ gl-1.0-1.1.c:908:4: note: expanded from macro 'GLPIXELMAP_FUNC' glPixelMap##_type_##v(map,size,values); \ ^ :212:1: note: expanded from here glPixelMapfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2606:13: note: 'glPixelMapfv' has been explicitly marked deprecated here extern void glPixelMapfv (GLenum map, GLint mapsize, const GLfloat *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:923:1: warning: 'glPixelMapfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLPIXELMAP_FUNC(f,GLfloat,ary2cflt) ^ gl-1.0-1.1.c:916:4: note: expanded from macro 'GLPIXELMAP_FUNC' glPixelMap##_type_##v(map,size,(GLvoid *)NUM2INT(args[2])); \ ^ :214:1: note: expanded from here glPixelMapfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2606:13: note: 'glPixelMapfv' has been explicitly marked deprecated here extern void glPixelMapfv (GLenum map, GLint mapsize, const GLfloat *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLPIXELMAP_FUNC(f,GLfloat,ary2cflt) ^ gl-1.0-1.1.c:888:14: note: expanded from macro 'GLPIXELMAP_FUNC' static VALUE \ ^ :210:1: note: expanded from here gl_PixelMapfv ^ gl-1.0-1.1.c:923:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLPIXELMAP_FUNC(f,GLfloat,ary2cflt) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:905:11: note: expanded from macro 'GLPIXELMAP_FUNC' size = RARRAY_LEN(args[1]); \ ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.0-1.1.c:924:1: warning: 'glPixelMapuiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLPIXELMAP_FUNC(ui,GLuint,ary2cuint) ^ gl-1.0-1.1.c:908:4: note: expanded from macro 'GLPIXELMAP_FUNC' glPixelMap##_type_##v(map,size,values); \ ^ :218:1: note: expanded from here glPixelMapuiv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2607:13: note: 'glPixelMapuiv' has been explicitly marked deprecated here extern void glPixelMapuiv (GLenum map, GLint mapsize, const GLuint *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:924:1: warning: 'glPixelMapuiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLPIXELMAP_FUNC(ui,GLuint,ary2cuint) ^ gl-1.0-1.1.c:916:4: note: expanded from macro 'GLPIXELMAP_FUNC' glPixelMap##_type_##v(map,size,(GLvoid *)NUM2INT(args[2])); \ ^ :220:1: note: expanded from here glPixelMapuiv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2607:13: note: 'glPixelMapuiv' has been explicitly marked deprecated here extern void glPixelMapuiv (GLenum map, GLint mapsize, const GLuint *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLPIXELMAP_FUNC(ui,GLuint,ary2cuint) ^ gl-1.0-1.1.c:888:14: note: expanded from macro 'GLPIXELMAP_FUNC' static VALUE \ ^ :216:1: note: expanded from here gl_PixelMapuiv ^ gl-1.0-1.1.c:924:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLPIXELMAP_FUNC(ui,GLuint,ary2cuint) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:905:11: note: expanded from macro 'GLPIXELMAP_FUNC' size = RARRAY_LEN(args[1]); \ ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.0-1.1.c:925:1: warning: 'glPixelMapusv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLPIXELMAP_FUNC(us,GLushort,ary2cushort) ^ gl-1.0-1.1.c:908:4: note: expanded from macro 'GLPIXELMAP_FUNC' glPixelMap##_type_##v(map,size,values); \ ^ :224:1: note: expanded from here glPixelMapusv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2608:13: note: 'glPixelMapusv' has been explicitly marked deprecated here extern void glPixelMapusv (GLenum map, GLint mapsize, const GLushort *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:925:1: warning: 'glPixelMapusv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLPIXELMAP_FUNC(us,GLushort,ary2cushort) ^ gl-1.0-1.1.c:916:4: note: expanded from macro 'GLPIXELMAP_FUNC' glPixelMap##_type_##v(map,size,(GLvoid *)NUM2INT(args[2])); \ ^ :226:1: note: expanded from here glPixelMapusv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2608:13: note: 'glPixelMapusv' has been explicitly marked deprecated here extern void glPixelMapusv (GLenum map, GLint mapsize, const GLushort *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLPIXELMAP_FUNC(us,GLushort,ary2cushort) ^ gl-1.0-1.1.c:888:14: note: expanded from macro 'GLPIXELMAP_FUNC' static VALUE \ ^ :222:1: note: expanded from here gl_PixelMapusv ^ gl-1.0-1.1.c:925:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLPIXELMAP_FUNC(us,GLushort,ary2cushort) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:905:11: note: expanded from macro 'GLPIXELMAP_FUNC' size = RARRAY_LEN(args[1]); \ ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.0-1.1.c:958:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:958:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:959:4: warning: 'glReadPixels' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glReadPixels(x,y,width,height,format,type,(GLvoid*)RSTRING_PTR(pixels)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2652:13: note: 'glReadPixels' has been explicitly marked deprecated here extern void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:960:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:967:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:968:4: warning: 'glReadPixels' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glReadPixels(x,y,width,height,format,type,(GLvoid*)NUM2INT(args[6])); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2652:13: note: 'glReadPixels' has been explicitly marked deprecated here extern void glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:969:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ReadPixels(argc,argv,obj) ^ gl-1.0-1.1.c:949:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] format = NUM2INT(args[4]); ~ ^~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.0-1.1.c:950:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] type = NUM2INT(args[5]); ~ ^~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.0-1.1.c:990:3: warning: 'glDrawPixels' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glDrawPixels(width,height,format,type,(GLvoid *)NUM2INT(arg5)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2467:13: note: 'glDrawPixels' has been explicitly marked deprecated here extern void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:996:3: warning: 'glDrawPixels' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glDrawPixels(width,height,format,type,pixels); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2467:13: note: 'glDrawPixels' has been explicitly marked deprecated here extern void glDrawPixels (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_DrawPixels(obj,arg1,arg2,arg3,arg4,arg5) ^ gl-1.0-1.1.c:1011:2: warning: 'glGetClipPlane' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetClipPlane(plane,equation); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2500:13: note: 'glGetClipPlane' has been explicitly marked deprecated here extern void glGetClipPlane (GLenum plane, GLdouble *equation) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetClipPlane(obj,arg1) ^ gl-1.0-1.1.c:1163:1: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Double,GLdouble,rb_float_new) ^ gl-1.0-1.1.c:1130:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :230:1: note: expanded from here glGetDoublev ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1163:1: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Double,GLdouble,rb_float_new) ^ gl-1.0-1.1.c:1141:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :232:1: note: expanded from here glGetDoublev ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1163:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Double,GLdouble,rb_float_new) ^ gl-1.0-1.1.c:1145:3: note: expanded from macro 'GLGET_FUNC' glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &nitems); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1163:1: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Double,GLdouble,rb_float_new) ^ gl-1.0-1.1.c:1151:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :234:1: note: expanded from here glGetDoublev ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1163:1: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Double,GLdouble,rb_float_new) ^ gl-1.0-1.1.c:1155:2: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :236:1: note: expanded from here glGetDoublev ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGET_FUNC(Double,GLdouble,rb_float_new) ^ gl-1.0-1.1.c:1020:14: note: expanded from macro 'GLGET_FUNC' static VALUE \ ^ :228:1: note: expanded from here gl_GetDoublev ^ gl-1.0-1.1.c:1163:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GLGET_FUNC(Double,GLdouble,rb_float_new) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:1029:10: note: expanded from macro 'GLGET_FUNC' pname = NUM2INT(arg1); \ ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.0-1.1.c:1164:1: warning: 'glGetFloatv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Float,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1130:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :240:1: note: expanded from here glGetFloatv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2509:13: note: 'glGetFloatv' has been explicitly marked deprecated here extern void glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1164:1: warning: 'glGetFloatv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Float,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1141:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :242:1: note: expanded from here glGetFloatv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2509:13: note: 'glGetFloatv' has been explicitly marked deprecated here extern void glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1164:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Float,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1145:3: note: expanded from macro 'GLGET_FUNC' glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &nitems); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1164:1: warning: 'glGetFloatv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Float,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1151:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :244:1: note: expanded from here glGetFloatv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2509:13: note: 'glGetFloatv' has been explicitly marked deprecated here extern void glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1164:1: warning: 'glGetFloatv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Float,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1155:2: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :246:1: note: expanded from here glGetFloatv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2509:13: note: 'glGetFloatv' has been explicitly marked deprecated here extern void glGetFloatv (GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGET_FUNC(Float,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1020:14: note: expanded from macro 'GLGET_FUNC' static VALUE \ ^ :238:1: note: expanded from here gl_GetFloatv ^ gl-1.0-1.1.c:1164:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GLGET_FUNC(Float,GLfloat,rb_float_new) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:1029:10: note: expanded from macro 'GLGET_FUNC' pname = NUM2INT(arg1); \ ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.0-1.1.c:1165:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Integer,GLint,INT2NUM) ^ gl-1.0-1.1.c:1130:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :250:1: note: expanded from here glGetIntegerv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1165:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Integer,GLint,INT2NUM) ^ gl-1.0-1.1.c:1141:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :252:1: note: expanded from here glGetIntegerv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1165:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Integer,GLint,INT2NUM) ^ gl-1.0-1.1.c:1145:3: note: expanded from macro 'GLGET_FUNC' glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &nitems); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1165:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Integer,GLint,INT2NUM) ^ gl-1.0-1.1.c:1151:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :254:1: note: expanded from here glGetIntegerv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1165:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Integer,GLint,INT2NUM) ^ gl-1.0-1.1.c:1155:2: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :256:1: note: expanded from here glGetIntegerv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGET_FUNC(Integer,GLint,INT2NUM) ^ gl-1.0-1.1.c:1020:14: note: expanded from macro 'GLGET_FUNC' static VALUE \ ^ :248:1: note: expanded from here gl_GetIntegerv ^ gl-1.0-1.1.c:1165:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GLGET_FUNC(Integer,GLint,INT2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:1029:10: note: expanded from macro 'GLGET_FUNC' pname = NUM2INT(arg1); \ ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.0-1.1.c:1166:1: warning: 'glGetBooleanv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^ gl-1.0-1.1.c:1130:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :260:1: note: expanded from here glGetBooleanv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2499:13: note: 'glGetBooleanv' has been explicitly marked deprecated here extern void glGetBooleanv (GLenum pname, GLboolean *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1166:1: warning: 'glGetBooleanv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^ gl-1.0-1.1.c:1141:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :262:1: note: expanded from here glGetBooleanv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2499:13: note: 'glGetBooleanv' has been explicitly marked deprecated here extern void glGetBooleanv (GLenum pname, GLboolean *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1166:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^ gl-1.0-1.1.c:1145:3: note: expanded from macro 'GLGET_FUNC' glGetIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &nitems); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1166:1: warning: 'glGetBooleanv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^ gl-1.0-1.1.c:1151:3: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :264:1: note: expanded from here glGetBooleanv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2499:13: note: 'glGetBooleanv' has been explicitly marked deprecated here extern void glGetBooleanv (GLenum pname, GLboolean *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1166:1: warning: 'glGetBooleanv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^ gl-1.0-1.1.c:1155:2: note: expanded from macro 'GLGET_FUNC' glGet##_name_##v(pname, items); \ ^ :266:1: note: expanded from here glGetBooleanv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2499:13: note: 'glGetBooleanv' has been explicitly marked deprecated here extern void glGetBooleanv (GLenum pname, GLboolean *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^ gl-1.0-1.1.c:1020:14: note: expanded from macro 'GLGET_FUNC' static VALUE \ ^ :258:1: note: expanded from here gl_GetBooleanv ^ gl-1.0-1.1.c:1166:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GLGET_FUNC(Boolean,GLboolean,GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:1029:10: note: expanded from macro 'GLGET_FUNC' pname = NUM2INT(arg1); \ ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.0-1.1.c:1202:2: warning: 'glGetLightfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetLightfv(light,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2514:13: note: 'glGetLightfv' has been explicitly marked deprecated here extern void glGetLightfv (GLenum light, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetLightfv(obj,arg1,arg2) ^ gl-1.0-1.1.c:1237:2: warning: 'glGetLightiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetLightiv(light,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2515:13: note: 'glGetLightiv' has been explicitly marked deprecated here extern void glGetLightiv (GLenum light, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetLightiv(obj,arg1,arg2) ^ gl-1.0-1.1.c:1299:1: warning: 'glGetMapiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETMAP_FUNC(GetMapdv,GLdouble) ^ gl-1.0-1.1.c:1282:4: note: expanded from macro 'GETMAP_FUNC' glGetMapiv(target,GL_ORDER,order); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2518:13: note: 'glGetMapiv' has been explicitly marked deprecated here extern void glGetMapiv (GLenum target, GLenum query, GLint *v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1299:1: warning: 'glGetMapdv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETMAP_FUNC(GetMapdv,GLdouble) ^ gl-1.0-1.1.c:1294:2: note: expanded from macro 'GETMAP_FUNC' gl##_name_(target,query,points); \ ^ :268:1: note: expanded from here glGetMapdv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2516:13: note: 'glGetMapdv' has been explicitly marked deprecated here extern void glGetMapdv (GLenum target, GLenum query, GLdouble *v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETMAP_FUNC(GetMapdv,GLdouble) ^ gl-1.0-1.1.c:1242:14: note: expanded from macro 'GETMAP_FUNC' static VALUE \ ^ :267:1: note: expanded from here gl_GetMapdv ^ gl-1.0-1.1.c:1300:1: warning: 'glGetMapiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETMAP_FUNC(GetMapfv,GLfloat) ^ gl-1.0-1.1.c:1282:4: note: expanded from macro 'GETMAP_FUNC' glGetMapiv(target,GL_ORDER,order); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2518:13: note: 'glGetMapiv' has been explicitly marked deprecated here extern void glGetMapiv (GLenum target, GLenum query, GLint *v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1300:1: warning: 'glGetMapfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETMAP_FUNC(GetMapfv,GLfloat) ^ gl-1.0-1.1.c:1294:2: note: expanded from macro 'GETMAP_FUNC' gl##_name_(target,query,points); \ ^ :271:1: note: expanded from here glGetMapfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2517:13: note: 'glGetMapfv' has been explicitly marked deprecated here extern void glGetMapfv (GLenum target, GLenum query, GLfloat *v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETMAP_FUNC(GetMapfv,GLfloat) ^ gl-1.0-1.1.c:1242:14: note: expanded from macro 'GETMAP_FUNC' static VALUE \ ^ :270:1: note: expanded from here gl_GetMapfv ^ gl-1.0-1.1.c:1301:1: warning: 'glGetMapiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETMAP_FUNC(GetMapiv,GLint) ^ gl-1.0-1.1.c:1282:4: note: expanded from macro 'GETMAP_FUNC' glGetMapiv(target,GL_ORDER,order); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2518:13: note: 'glGetMapiv' has been explicitly marked deprecated here extern void glGetMapiv (GLenum target, GLenum query, GLint *v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1301:1: warning: 'glGetMapiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETMAP_FUNC(GetMapiv,GLint) ^ gl-1.0-1.1.c:1294:2: note: expanded from macro 'GETMAP_FUNC' gl##_name_(target,query,points); \ ^ :274:1: note: expanded from here glGetMapiv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2518:13: note: 'glGetMapiv' has been explicitly marked deprecated here extern void glGetMapiv (GLenum target, GLenum query, GLint *v) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETMAP_FUNC(GetMapiv,GLint) ^ gl-1.0-1.1.c:1242:14: note: expanded from macro 'GETMAP_FUNC' static VALUE \ ^ :273:1: note: expanded from here gl_GetMapiv ^ gl-1.0-1.1.c:1331:2: warning: 'glGetMaterialfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetMaterialfv(face,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2519:13: note: 'glGetMaterialfv' has been explicitly marked deprecated here extern void glGetMaterialfv (GLenum face, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetMaterialfv(obj,arg1,arg2) ^ gl-1.0-1.1.c:1362:2: warning: 'glGetMaterialiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetMaterialiv(face,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2520:13: note: 'glGetMaterialiv' has been explicitly marked deprecated here extern void glGetMaterialiv (GLenum face, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetMaterialiv(obj,arg1,arg2) ^ gl-1.0-1.1.c:1417:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(f,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1400:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetIntegerv(map_size,&size); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1417:1: warning: 'glGetPixelMapfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(f,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1403:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetPixelMap##_type_##v(map,values); \ ^ :279:1: note: expanded from here glGetPixelMapfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2524:13: note: 'glGetPixelMapfv' has been explicitly marked deprecated here extern void glGetPixelMapfv (GLenum map, GLfloat *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1417:1: warning: 'glGetPixelMapfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(f,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1411:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetPixelMap##_type_##v(map,(GLvoid*)NUM2INT(args[1])); \ ^ :281:1: note: expanded from here glGetPixelMapfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2524:13: note: 'glGetPixelMapfv' has been explicitly marked deprecated here extern void glGetPixelMapfv (GLenum map, GLfloat *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGETPIXELMAP_FUNC(f,GLfloat,rb_float_new) ^ gl-1.0-1.1.c:1367:14: note: expanded from macro 'GLGETPIXELMAP_FUNC' static VALUE \ ^ :277:1: note: expanded from here gl_GetPixelMapfv ^ gl-1.0-1.1.c:1418:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(ui,GLuint,INT2NUM) ^ gl-1.0-1.1.c:1400:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetIntegerv(map_size,&size); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1418:1: warning: 'glGetPixelMapuiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(ui,GLuint,INT2NUM) ^ gl-1.0-1.1.c:1403:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetPixelMap##_type_##v(map,values); \ ^ :285:1: note: expanded from here glGetPixelMapuiv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2525:13: note: 'glGetPixelMapuiv' has been explicitly marked deprecated here extern void glGetPixelMapuiv (GLenum map, GLuint *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1418:1: warning: 'glGetPixelMapuiv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(ui,GLuint,INT2NUM) ^ gl-1.0-1.1.c:1411:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetPixelMap##_type_##v(map,(GLvoid*)NUM2INT(args[1])); \ ^ :287:1: note: expanded from here glGetPixelMapuiv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2525:13: note: 'glGetPixelMapuiv' has been explicitly marked deprecated here extern void glGetPixelMapuiv (GLenum map, GLuint *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGETPIXELMAP_FUNC(ui,GLuint,INT2NUM) ^ gl-1.0-1.1.c:1367:14: note: expanded from macro 'GLGETPIXELMAP_FUNC' static VALUE \ ^ :283:1: note: expanded from here gl_GetPixelMapuiv ^ gl-1.0-1.1.c:1419:1: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(us,GLushort,INT2NUM) ^ gl-1.0-1.1.c:1400:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetIntegerv(map_size,&size); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1419:1: warning: 'glGetPixelMapusv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(us,GLushort,INT2NUM) ^ gl-1.0-1.1.c:1403:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetPixelMap##_type_##v(map,values); \ ^ :291:1: note: expanded from here glGetPixelMapusv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2526:13: note: 'glGetPixelMapusv' has been explicitly marked deprecated here extern void glGetPixelMapusv (GLenum map, GLushort *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1419:1: warning: 'glGetPixelMapusv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLGETPIXELMAP_FUNC(us,GLushort,INT2NUM) ^ gl-1.0-1.1.c:1411:4: note: expanded from macro 'GLGETPIXELMAP_FUNC' glGetPixelMap##_type_##v(map,(GLvoid*)NUM2INT(args[1])); \ ^ :293:1: note: expanded from here glGetPixelMapusv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2526:13: note: 'glGetPixelMapusv' has been explicitly marked deprecated here extern void glGetPixelMapusv (GLenum map, GLushort *values) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLGETPIXELMAP_FUNC(us,GLushort,INT2NUM) ^ gl-1.0-1.1.c:1367:14: note: expanded from macro 'GLGETPIXELMAP_FUNC' static VALUE \ ^ :289:1: note: expanded from here gl_GetPixelMapusv ^ gl-1.0-1.1.c:1436:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1436:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1437:4: warning: 'glGetPolygonStipple' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetPolygonStipple(mask); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2528:13: note: 'glGetPolygonStipple' has been explicitly marked deprecated here extern void glGetPolygonStipple (GLubyte *mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1438:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1444:4: warning: 'glGetPolygonStipple' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetPolygonStipple((GLvoid *)NUM2INT(args[0])); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2528:13: note: 'glGetPolygonStipple' has been explicitly marked deprecated here extern void glGetPolygonStipple (GLubyte *mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetPolygonStipple(argc,argv,obj) ^ gl-1.0-1.1.c:1457:8: warning: 'glGetString' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glGetString(name); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2530:23: note: 'glGetString' has been explicitly marked deprecated here extern const GLubyte *glGetString (GLenum name) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetString(obj,arg1) ^ gl-1.0-1.1.c:1491:1: warning: 'glGetTexEnvfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETTEXENVFUNC(GetTexEnvfv,GLfloat) ^ gl-1.0-1.1.c:1487:2: note: expanded from macro 'GETTEXENVFUNC' gl##_name_(target,pname,params); \ ^ :295:1: note: expanded from here glGetTexEnvfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2531:13: note: 'glGetTexEnvfv' has been explicitly marked deprecated here extern void glGetTexEnvfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXENVFUNC(GetTexEnvfv,GLfloat) ^ gl-1.0-1.1.c:1463:14: note: expanded from macro 'GETTEXENVFUNC' static VALUE \ ^ :294:1: note: expanded from here gl_GetTexEnvfv ^ gl-1.0-1.1.c:1492:1: warning: 'glGetTexEnviv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETTEXENVFUNC(GetTexEnviv,GLint) ^ gl-1.0-1.1.c:1487:2: note: expanded from macro 'GETTEXENVFUNC' gl##_name_(target,pname,params); \ ^ :4:1: note: expanded from here glGetTexEnviv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2532:13: note: 'glGetTexEnviv' has been explicitly marked deprecated here extern void glGetTexEnviv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXENVFUNC(GetTexEnviv,GLint) ^ gl-1.0-1.1.c:1463:14: note: expanded from macro 'GETTEXENVFUNC' static VALUE \ ^ :3:1: note: expanded from here gl_GetTexEnviv ^ gl-1.0-1.1.c:1519:1: warning: 'glGetTexGendv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETTEXGENFUNC(GetTexGendv,GLdouble) ^ gl-1.0-1.1.c:1515:2: note: expanded from macro 'GETTEXGENFUNC' gl##_name_(coord,pname,params); \ ^ :7:1: note: expanded from here glGetTexGendv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2533:13: note: 'glGetTexGendv' has been explicitly marked deprecated here extern void glGetTexGendv (GLenum coord, GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXGENFUNC(GetTexGendv,GLdouble) ^ gl-1.0-1.1.c:1496:14: note: expanded from macro 'GETTEXGENFUNC' static VALUE \ ^ :6:1: note: expanded from here gl_GetTexGendv ^ gl-1.0-1.1.c:1520:1: warning: 'glGetTexGenfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETTEXGENFUNC(GetTexGenfv,GLfloat) ^ gl-1.0-1.1.c:1515:2: note: expanded from macro 'GETTEXGENFUNC' gl##_name_(coord,pname,params); \ ^ :10:1: note: expanded from here glGetTexGenfv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2534:13: note: 'glGetTexGenfv' has been explicitly marked deprecated here extern void glGetTexGenfv (GLenum coord, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXGENFUNC(GetTexGenfv,GLfloat) ^ gl-1.0-1.1.c:1496:14: note: expanded from macro 'GETTEXGENFUNC' static VALUE \ ^ :9:1: note: expanded from here gl_GetTexGenfv ^ gl-1.0-1.1.c:1521:1: warning: 'glGetTexGeniv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GETTEXGENFUNC(GetTexGeniv,GLint) ^ gl-1.0-1.1.c:1515:2: note: expanded from macro 'GETTEXGENFUNC' gl##_name_(coord,pname,params); \ ^ :13:1: note: expanded from here glGetTexGeniv ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2535:13: note: 'glGetTexGeniv' has been explicitly marked deprecated here extern void glGetTexGeniv (GLenum coord, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXGENFUNC(GetTexGeniv,GLint) ^ gl-1.0-1.1.c:1496:14: note: expanded from macro 'GETTEXGENFUNC' static VALUE \ ^ :12:1: note: expanded from here gl_GetTexGeniv ^ gl-1.0-1.1.c:1556:6: warning: 'glGetTexLevelParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameteriv(tex,lod,GL_TEXTURE_4DSIZE_SGIS,&size4d); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2538:13: note: 'glGetTexLevelParameteriv' has been explicitly marked deprecated here extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1562:6: warning: 'glGetTexLevelParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameteriv(tex,lod,GL_TEXTURE_DEPTH,&depth); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2538:13: note: 'glGetTexLevelParameteriv' has been explicitly marked deprecated here extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1574:6: warning: 'glGetTexLevelParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameteriv(tex,lod,GL_TEXTURE_HEIGHT,&height); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2538:13: note: 'glGetTexLevelParameteriv' has been explicitly marked deprecated here extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1578:6: warning: 'glGetTexLevelParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameteriv(tex,lod,GL_TEXTURE_WIDTH,&width); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2538:13: note: 'glGetTexLevelParameteriv' has been explicitly marked deprecated here extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1587:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1588:4: warning: 'glGetTexImage' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexImage(tex,lod,format,type,(GLvoid*)RSTRING_PTR(pixels)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2536:13: note: 'glGetTexImage' has been explicitly marked deprecated here extern void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1589:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1597:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1598:4: warning: 'glGetTexImage' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexImage(tex,lod,format,type,(GLvoid*)NUM2INT(args[4])); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2536:13: note: 'glGetTexImage' has been explicitly marked deprecated here extern void glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1599:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetTexImage(argc,argv,obj) ^ gl-1.0-1.1.c:1626:2: warning: 'glGetTexParameterfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexParameterfv(target,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2539:13: note: 'glGetTexParameterfv' has been explicitly marked deprecated here extern void glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetTexParameterfv(obj,arg1,arg2) ^ gl-1.0-1.1.c:1651:2: warning: 'glGetTexParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexParameteriv(target,pname,params); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2540:13: note: 'glGetTexParameteriv' has been explicitly marked deprecated here extern void glGetTexParameteriv (GLenum target, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetTexParameteriv(obj,arg1,arg2) ^ gl-1.0-1.1.c:1666:2: warning: 'glGetTexLevelParameterfv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameterfv(target,level,pname,¶ms); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2537:13: note: 'glGetTexLevelParameterfv' has been explicitly marked deprecated here extern void glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetTexLevelParameterfv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:1682:2: warning: 'glGetTexLevelParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameteriv(target,level,pname,¶ms); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2538:13: note: 'glGetTexLevelParameteriv' has been explicitly marked deprecated here extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetTexLevelParameteriv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:1693:29: warning: too few arguments in call to 'ary2cmatfloat' ary2cmatfloat(arg1, m, 4, 4); ~~~~~~~~~~~~~ ^ gl-1.0-1.1.c:1694:2: warning: 'glLoadMatrixf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glLoadMatrixf(m); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2573:13: note: 'glLoadMatrixf' has been explicitly marked deprecated here extern void glLoadMatrixf (const GLfloat *m) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_LoadMatrixf(obj,arg1) ^ gl-1.0-1.1.c:1704:30: warning: too few arguments in call to 'ary2cmatdouble' ary2cmatdouble(arg1, m, 4, 4); ~~~~~~~~~~~~~~ ^ gl-1.0-1.1.c:1705:2: warning: 'glLoadMatrixd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glLoadMatrixd(m); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2572:13: note: 'glLoadMatrixd' has been explicitly marked deprecated here extern void glLoadMatrixd (const GLdouble *m) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_LoadMatrixd(obj,arg1) ^ gl-1.0-1.1.c:1715:29: warning: too few arguments in call to 'ary2cmatfloat' ary2cmatfloat(arg1, m, 4, 4); ~~~~~~~~~~~~~ ^ gl-1.0-1.1.c:1716:2: warning: 'glMultMatrixf' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMultMatrixf(m); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2591:13: note: 'glMultMatrixf' has been explicitly marked deprecated here extern void glMultMatrixf (const GLfloat *m) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MultMatrixf(obj,arg1) ^ gl-1.0-1.1.c:1726:30: warning: too few arguments in call to 'ary2cmatdouble' ary2cmatdouble(arg1, m, 4, 4); ~~~~~~~~~~~~~~ ^ gl-1.0-1.1.c:1727:2: warning: 'glMultMatrixd' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glMultMatrixd(m); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2590:13: note: 'glMultMatrixd' has been explicitly marked deprecated here extern void glMultMatrixd (const GLdouble *m) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MultMatrixd(obj,arg1) ^ gl-1.0-1.1.c:1766:1: warning: 'glVertexPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] POINTER_FUNC(Vertex) ^ gl-1.0-1.1.c:1754:3: note: expanded from macro 'POINTER_FUNC' gl##_func_##Pointer(size, type, stride, (const GLvoid*)NUM2INT(arg4)); \ ^ :20:1: note: expanded from here glVertexPointer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2754:13: note: 'glVertexPointer' has been explicitly marked deprecated here extern void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1766:1: warning: 'glVertexPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] POINTER_FUNC(Vertex) ^ gl-1.0-1.1.c:1760:3: note: expanded from macro 'POINTER_FUNC' gl##_func_##Pointer(size, type, stride, (const GLvoid*)RSTRING_PTR(data)); \ ^ :24:1: note: expanded from here glVertexPointer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2754:13: note: 'glVertexPointer' has been explicitly marked deprecated here extern void glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] POINTER_FUNC(Vertex) ^ gl-1.0-1.1.c:1742:14: note: expanded from macro 'POINTER_FUNC' static VALUE \ ^ :16:1: note: expanded from here gl_VertexPointer ^ gl-1.0-1.1.c:1767:1: warning: 'glColorPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] POINTER_FUNC(Color) ^ gl-1.0-1.1.c:1754:3: note: expanded from macro 'POINTER_FUNC' gl##_func_##Pointer(size, type, stride, (const GLvoid*)NUM2INT(arg4)); \ ^ :30:1: note: expanded from here glColorPointer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2435:13: note: 'glColorPointer' has been explicitly marked deprecated here extern void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1767:1: warning: 'glColorPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] POINTER_FUNC(Color) ^ gl-1.0-1.1.c:1760:3: note: expanded from macro 'POINTER_FUNC' gl##_func_##Pointer(size, type, stride, (const GLvoid*)RSTRING_PTR(data)); \ ^ :34:1: note: expanded from here glColorPointer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2435:13: note: 'glColorPointer' has been explicitly marked deprecated here extern void glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] POINTER_FUNC(Color) ^ gl-1.0-1.1.c:1742:14: note: expanded from macro 'POINTER_FUNC' static VALUE \ ^ :26:1: note: expanded from here gl_ColorPointer ^ gl-1.0-1.1.c:1768:1: warning: 'glTexCoordPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] POINTER_FUNC(TexCoord) ^ gl-1.0-1.1.c:1754:3: note: expanded from macro 'POINTER_FUNC' gl##_func_##Pointer(size, type, stride, (const GLvoid*)NUM2INT(arg4)); \ ^ :40:1: note: expanded from here glTexCoordPointer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2707:13: note: 'glTexCoordPointer' has been explicitly marked deprecated here extern void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1768:1: warning: 'glTexCoordPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] POINTER_FUNC(TexCoord) ^ gl-1.0-1.1.c:1760:3: note: expanded from macro 'POINTER_FUNC' gl##_func_##Pointer(size, type, stride, (const GLvoid*)RSTRING_PTR(data)); \ ^ :44:1: note: expanded from here glTexCoordPointer ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2707:13: note: 'glTexCoordPointer' has been explicitly marked deprecated here extern void glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] POINTER_FUNC(TexCoord) ^ gl-1.0-1.1.c:1742:14: note: expanded from macro 'POINTER_FUNC' static VALUE \ ^ :36:1: note: expanded from here gl_TexCoordPointer ^ gl-1.0-1.1.c:1783:3: warning: 'glDrawElements' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glDrawElements(mode, count, type, (const GLvoid*)NUM2INT(arg4)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2466:13: note: 'glDrawElements' has been explicitly marked deprecated here extern void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1787:3: warning: 'glDrawElements' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glDrawElements(mode, count, type, (const GLvoid*)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2466:13: note: 'glDrawElements' has been explicitly marked deprecated here extern void glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_DrawElements(obj,arg1,arg2,arg3,arg4) ^ gl-1.0-1.1.c:1801:3: warning: 'glEdgeFlagPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEdgeFlagPointer(stride, (const GLboolean*) NUM2INT(arg2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2470:13: note: 'glEdgeFlagPointer' has been explicitly marked deprecated here extern void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1807:3: warning: 'glEdgeFlagPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glEdgeFlagPointer(stride, (const GLboolean*)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2470:13: note: 'glEdgeFlagPointer' has been explicitly marked deprecated here extern void glEdgeFlagPointer (GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_EdgeFlagPointer(obj,arg1,arg2) ^ gl-1.0-1.1.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetPointerv(obj,arg1) ^ gl-1.0-1.1.c:1857:3: warning: 'glIndexPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexPointer(type, stride, (const GLvoid*)NUM2INT(arg3)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2544:13: note: 'glIndexPointer' has been explicitly marked deprecated here extern void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1862:3: warning: 'glIndexPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexPointer(type, stride, (const GLvoid*)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2544:13: note: 'glIndexPointer' has been explicitly marked deprecated here extern void glIndexPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_IndexPointer(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:1880:2: warning: 'glInterleavedArrays' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glInterleavedArrays(format, stride, (const GLvoid*)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2556:13: note: 'glInterleavedArrays' has been explicitly marked deprecated here extern void glInterleavedArrays (GLenum format, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_InterleavedArrays(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:1895:3: warning: 'glNormalPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glNormalPointer(type, stride, (const GLvoid*)NUM2INT(arg3)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2603:13: note: 'glNormalPointer' has been explicitly marked deprecated here extern void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1901:3: warning: 'glNormalPointer' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glNormalPointer(type, stride, (const GLvoid*)RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2603:13: note: 'glNormalPointer' has been explicitly marked deprecated here extern void glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_NormalPointer(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:1927:3: warning: 'glTexSubImage1D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexSubImage1D(target,level,xoffset,width,format,type,(GLvoid *)NUM2INT(arg7)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2725:13: note: 'glTexSubImage1D' has been explicitly marked deprecated here extern void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1935:2: warning: 'glTexSubImage1D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexSubImage1D(target,level,xoffset,width,format,type,RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2725:13: note: 'glTexSubImage1D' has been explicitly marked deprecated here extern void glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexSubImage1D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7) ^ gl-1.0-1.1.c:1963:3: warning: 'glTexSubImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,(GLvoid *)NUM2INT(arg9)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2726:13: note: 'glTexSubImage2D' has been explicitly marked deprecated here extern void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1971:2: warning: 'glTexSubImage2D' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glTexSubImage2D(target,level,xoffset,yoffset,width,height,format,type,RSTRING_PTR(data)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2726:13: note: 'glTexSubImage2D' has been explicitly marked deprecated here extern void glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexSubImage2D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) ^ gl-1.0-1.1.c:1992:6: warning: 'glAreTexturesResident' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] r = glAreTexturesResident(size,textures,residences); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2383:18: note: 'glAreTexturesResident' has been explicitly marked deprecated here extern GLboolean glAreTexturesResident (GLsizei n, const GLuint *textures, GLboolean *residences) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_AreTexturesResident(obj,arg1) ^ gl-1.0-1.1.c:1988:9: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(ary); ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.0-1.1.c:2007:1: warning: 'glGenTextures' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_GENOBJECTS(GenTextures) ^ ./../common/funcdef.h:231:2: note: expanded from macro 'GL_FUNC_GENOBJECTS' gl##_name_(n,objects); \ ^ :46:1: note: expanded from here glGenTextures ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2498:13: note: 'glGenTextures' has been explicitly marked deprecated here extern void glGenTextures (GLsizei n, GLuint *textures) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:2007:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS(GenTextures) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:233:16: note: expanded from macro 'GL_FUNC_GENOBJECTS' for (i = 0; i < n; i++) \ ~ ^ ~ gl-1.0-1.1.c:2008:1: warning: 'glDeleteTextures' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_DELETEOBJECTS(DeleteTextures) ^ ./../common/funcdef.h:271:3: note: expanded from macro 'GL_FUNC_DELETEOBJECTS' gl##_name_(n,objects); \ ^ :48:1: note: expanded from here glDeleteTextures ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2458:13: note: 'glDeleteTextures' has been explicitly marked deprecated here extern void glDeleteTextures (GLsizei n, const GLuint *textures) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:2008:1: warning: 'glDeleteTextures' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GL_FUNC_DELETEOBJECTS(DeleteTextures) ^ ./../common/funcdef.h:276:3: note: expanded from macro 'GL_FUNC_DELETEOBJECTS' gl##_name_(1,&object); \ ^ :49:1: note: expanded from here glDeleteTextures ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2458:13: note: 'glDeleteTextures' has been explicitly marked deprecated here extern void glDeleteTextures (GLsizei n, const GLuint *textures) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:2008:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS(DeleteTextures) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:268:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.0-1.1.c:2025:2: warning: 'glPrioritizeTextures' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glPrioritizeTextures(size,textures,priorities); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2622:13: note: 'glPrioritizeTextures' has been explicitly marked deprecated here extern void glPrioritizeTextures (GLsizei n, const GLuint *textures, const GLclampf *priorities) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:2011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_PrioritizeTextures(obj,arg1,arg2) ^ gl-1.0-1.1.c:2019:14: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] if ((size = RARRAY_LEN(arg1)) != RARRAY_LEN(arg2)) ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.0-1.1.c:2039:2: warning: 'glIndexubv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glIndexubv(c); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2554:13: note: 'glIndexubv' has been explicitly marked deprecated here extern void glIndexubv (const GLubyte *c) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.0-1.1.c:2033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Indexubv(obj,arg1) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2087:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(b) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(b) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :51:1: note: expanded from here gl_Colorbv ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2088:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(d) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(d) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :57:1: note: expanded from here gl_Colordv ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2089:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(f) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(f) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :63:1: note: expanded from here gl_Colorfv ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2090:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(i) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(i) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :69:1: note: expanded from here gl_Coloriv ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2091:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(s) ^~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(s) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :75:1: note: expanded from here gl_Colorsv ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2092:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ub) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(ub) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :81:1: note: expanded from here gl_Colorubv ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2093:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(ui) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(ui) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :87:1: note: expanded from here gl_Coloruiv ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2061:22: note: expanded from macro 'GLCOLOR_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2063:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:37: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:56: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:75: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2066:94: note: expanded from macro 'GLCOLOR_VFUNC' gl_Color4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2094:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLCOLOR_VFUNC(us) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2069:58: note: expanded from macro 'GLCOLOR_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLCOLOR_VFUNC(us) ^ gl-1.0-1.1.c:2048:14: note: expanded from macro 'GLCOLOR_VFUNC' static VALUE \ ^ :93:1: note: expanded from here gl_Colorusv ^ gl-1.0-1.1.c:2131:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(b) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2111:22: note: expanded from macro 'GLNORMAL_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2131:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(b) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:38: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2131:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(b) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:58: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2131:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(b) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:77: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2131:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(b) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2116:58: note: expanded from macro 'GLNORMAL_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLNORMAL_VFUNC(b) ^ gl-1.0-1.1.c:2098:14: note: expanded from macro 'GLNORMAL_VFUNC' static VALUE \ ^ :99:1: note: expanded from here gl_Normalbv ^ gl-1.0-1.1.c:2132:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2111:22: note: expanded from macro 'GLNORMAL_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2132:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:38: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2132:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:58: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2132:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:77: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2132:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2116:58: note: expanded from macro 'GLNORMAL_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLNORMAL_VFUNC(d) ^ gl-1.0-1.1.c:2098:14: note: expanded from macro 'GLNORMAL_VFUNC' static VALUE \ ^ :103:1: note: expanded from here gl_Normaldv ^ gl-1.0-1.1.c:2133:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2111:22: note: expanded from macro 'GLNORMAL_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2133:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:38: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2133:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:58: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2133:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:77: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2133:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2116:58: note: expanded from macro 'GLNORMAL_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLNORMAL_VFUNC(f) ^ gl-1.0-1.1.c:2098:14: note: expanded from macro 'GLNORMAL_VFUNC' static VALUE \ ^ :107:1: note: expanded from here gl_Normalfv ^ gl-1.0-1.1.c:2134:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2111:22: note: expanded from macro 'GLNORMAL_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2134:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:38: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2134:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:58: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2134:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:77: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2134:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2116:58: note: expanded from macro 'GLNORMAL_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLNORMAL_VFUNC(i) ^ gl-1.0-1.1.c:2098:14: note: expanded from macro 'GLNORMAL_VFUNC' static VALUE \ ^ :111:1: note: expanded from here gl_Normaliv ^ gl-1.0-1.1.c:2135:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2111:22: note: expanded from macro 'GLNORMAL_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2135:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:38: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2135:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:58: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2135:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2113:77: note: expanded from macro 'GLNORMAL_VFUNC' gl_Normal3##_type_(obj,RARRAY_PTR(ary)[0], RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2135:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLNORMAL_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2116:58: note: expanded from macro 'GLNORMAL_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLNORMAL_VFUNC(s) ^ gl-1.0-1.1.c:2098:14: note: expanded from macro 'GLNORMAL_VFUNC' static VALUE \ ^ :115:1: note: expanded from here gl_Normalsv ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2152:22: note: expanded from macro 'GLRASTERPOS_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:98: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRASTERPOS_VFUNC(d) ^ gl-1.0-1.1.c:2139:14: note: expanded from macro 'GLRASTERPOS_VFUNC' static VALUE \ ^ :119:1: note: expanded from here gl_RasterPosdv ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2152:22: note: expanded from macro 'GLRASTERPOS_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:98: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRASTERPOS_VFUNC(f) ^ gl-1.0-1.1.c:2139:14: note: expanded from macro 'GLRASTERPOS_VFUNC' static VALUE \ ^ :127:1: note: expanded from here gl_RasterPosfv ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2152:22: note: expanded from macro 'GLRASTERPOS_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:98: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRASTERPOS_VFUNC(i) ^ gl-1.0-1.1.c:2139:14: note: expanded from macro 'GLRASTERPOS_VFUNC' static VALUE \ ^ :135:1: note: expanded from here gl_RasterPosiv ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2152:22: note: expanded from macro 'GLRASTERPOS_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2154:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2157:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:41: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:60: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:79: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRASTERPOS_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2160:98: note: expanded from macro 'GLRASTERPOS_VFUNC' gl_RasterPos4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRASTERPOS_VFUNC(s) ^ gl-1.0-1.1.c:2139:14: note: expanded from macro 'GLRASTERPOS_VFUNC' static VALUE \ ^ :143:1: note: expanded from here gl_RasterPossv ^ gl-1.0-1.1.c:2225:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(d) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2205:22: note: expanded from macro 'GLRECT_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2225:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(d) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:35: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2225:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(d) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:54: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2225:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(d) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:73: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2225:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(d) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:93: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2225:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(d) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2210:58: note: expanded from macro 'GLRECT_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRECT_VFUNC(d) ^ gl-1.0-1.1.c:2191:14: note: expanded from macro 'GLRECT_VFUNC' static VALUE \ ^ :151:1: note: expanded from here gl_Rectdv ^ gl-1.0-1.1.c:2226:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(f) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2205:22: note: expanded from macro 'GLRECT_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2226:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(f) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:35: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2226:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(f) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:54: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2226:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(f) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:73: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2226:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(f) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:93: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2226:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(f) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2210:58: note: expanded from macro 'GLRECT_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRECT_VFUNC(f) ^ gl-1.0-1.1.c:2191:14: note: expanded from macro 'GLRECT_VFUNC' static VALUE \ ^ :155:1: note: expanded from here gl_Rectfv ^ gl-1.0-1.1.c:2227:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(i) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2205:22: note: expanded from macro 'GLRECT_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2227:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(i) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:35: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2227:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(i) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:54: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2227:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(i) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:73: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2227:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(i) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:93: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2227:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(i) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2210:58: note: expanded from macro 'GLRECT_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRECT_VFUNC(i) ^ gl-1.0-1.1.c:2191:14: note: expanded from macro 'GLRECT_VFUNC' static VALUE \ ^ :159:1: note: expanded from here gl_Rectiv ^ gl-1.0-1.1.c:2228:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(s) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2205:22: note: expanded from macro 'GLRECT_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2228:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(s) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:35: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2228:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(s) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:54: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2228:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(s) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:73: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2228:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(s) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2207:93: note: expanded from macro 'GLRECT_VFUNC' gl_Rect##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary2)[0],RARRAY_PTR(ary2)[1]); \ ^~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2228:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLRECT_VFUNC(s) ^~~~~~~~~~~~~~~ gl-1.0-1.1.c:2210:58: note: expanded from macro 'GLRECT_VFUNC' rb_raise(rb_eArgError, "array length:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLRECT_VFUNC(s) ^ gl-1.0-1.1.c:2191:14: note: expanded from macro 'GLRECT_VFUNC' static VALUE \ ^ :163:1: note: expanded from here gl_Rectsv ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2245:22: note: expanded from macro 'GLTEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2247:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord1##_type_(obj,RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:97: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLTEXCOORD_VFUNC(d) ^ gl-1.0-1.1.c:2232:14: note: expanded from macro 'GLTEXCOORD_VFUNC' static VALUE \ ^ :167:1: note: expanded from here gl_TexCoorddv ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2245:22: note: expanded from macro 'GLTEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2247:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord1##_type_(obj,RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:97: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLTEXCOORD_VFUNC(f) ^ gl-1.0-1.1.c:2232:14: note: expanded from macro 'GLTEXCOORD_VFUNC' static VALUE \ ^ :177:1: note: expanded from here gl_TexCoordfv ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2245:22: note: expanded from macro 'GLTEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2247:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord1##_type_(obj,RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:97: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLTEXCOORD_VFUNC(i) ^ gl-1.0-1.1.c:2232:14: note: expanded from macro 'GLTEXCOORD_VFUNC' static VALUE \ ^ :187:1: note: expanded from here gl_TexCoordiv ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2245:22: note: expanded from macro 'GLTEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2247:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord1##_type_(obj,RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2250:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2253:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:40: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:59: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:78: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLTEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2256:97: note: expanded from macro 'GLTEXCOORD_VFUNC' gl_TexCoord4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLTEXCOORD_VFUNC(s) ^ gl-1.0-1.1.c:2232:14: note: expanded from macro 'GLTEXCOORD_VFUNC' static VALUE \ ^ :197:1: note: expanded from here gl_TexCoordsv ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2300:22: note: expanded from macro 'GLVERTEX_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:95: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2333:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(d) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2311:76: note: expanded from macro 'GLVERTEX_VFUNC' rb_raise(rb_eRuntimeError, "glVertex vertex num error!:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEX_VFUNC(d) ^ gl-1.0-1.1.c:2288:14: note: expanded from macro 'GLVERTEX_VFUNC' static VALUE \ ^ :207:1: note: expanded from here gl_Vertexdv ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2300:22: note: expanded from macro 'GLVERTEX_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:95: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2334:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(f) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2311:76: note: expanded from macro 'GLVERTEX_VFUNC' rb_raise(rb_eRuntimeError, "glVertex vertex num error!:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEX_VFUNC(f) ^ gl-1.0-1.1.c:2288:14: note: expanded from macro 'GLVERTEX_VFUNC' static VALUE \ ^ :215:1: note: expanded from here gl_Vertexfv ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2300:22: note: expanded from macro 'GLVERTEX_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:95: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2335:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(i) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2311:76: note: expanded from macro 'GLVERTEX_VFUNC' rb_raise(rb_eRuntimeError, "glVertex vertex num error!:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEX_VFUNC(i) ^ gl-1.0-1.1.c:2288:14: note: expanded from macro 'GLVERTEX_VFUNC' static VALUE \ ^ :223:1: note: expanded from here gl_Vertexiv ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2300:22: note: expanded from macro 'GLVERTEX_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2302:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex2##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2305:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex3##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:38: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:57: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:76: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2308:95: note: expanded from macro 'GLVERTEX_VFUNC' gl_Vertex4##_type_(obj,RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.0-1.1.c:2336:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLVERTEX_VFUNC(s) ^~~~~~~~~~~~~~~~~ gl-1.0-1.1.c:2311:76: note: expanded from macro 'GLVERTEX_VFUNC' rb_raise(rb_eRuntimeError, "glVertex vertex num error!:%li", RARRAY_LEN(ary)); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.0-1.1.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEX_VFUNC(s) ^ gl-1.0-1.1.c:2288:14: note: expanded from macro 'GLVERTEX_VFUNC' static VALUE \ ^ :231:1: note: expanded from here gl_Vertexsv ^ gl-1.0-1.1.c:2342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_LightModel(obj,arg1,arg2) ^ gl-1.0-1.1.c:2354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Material(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Fog(obj,arg1,arg2) ^ gl-1.0-1.1.c:2378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_Light(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:2390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexParameter(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:2402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexEnv(obj,arg1,arg2,arg3) ^ gl-1.0-1.1.c:2414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexGen(obj,arg1,arg2,arg3) ^ 1018 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-1.2.c In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-1.2.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-1.2.c:18: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-1.2.c:18: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.2.c:18: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.2.c:18: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-1.2.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(BlendColor,GLvoid, GLclampf,GLclampf,GLclampf,GLclampf, "1.2") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_BlendColor ^ gl-1.2.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(BlendEquation,GLvoid, GLenum, "1.2") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :96:1: note: expanded from here gl_BlendEquation ^ gl-1.2.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(CopyColorTable,GLvoid, GLenum,GLenum,GLint,GLint,GLsizei, "1.2") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :111:1: note: expanded from here gl_CopyColorTable ^ gl-1.2.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(CopyColorSubTable,GLvoid, GLenum,GLsizei,GLint,GLint,GLsizei, "1.2") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :130:1: note: expanded from here gl_CopyColorSubTable ^ gl-1.2.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(ConvolutionParameterf,GLvoid, GLenum,GLenum,GLfloat, "1.2") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :149:1: note: expanded from here gl_ConvolutionParameterf ^ gl-1.2.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(ConvolutionParameteri,GLvoid, GLenum,GLenum,GLint, "1.2") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :166:1: note: expanded from here gl_ConvolutionParameteri ^ gl-1.2.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(CopyConvolutionFilter1D,GLvoid, GLenum,GLenum,GLint,GLint,GLsizei, "1.2") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :183:1: note: expanded from here gl_CopyConvolutionFilter1D ^ gl-1.2.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(CopyConvolutionFilter2D,GLvoid, GLenum,GLenum,GLint,GLint,GLsizei,GLsizei, "1.2") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :202:1: note: expanded from here gl_CopyConvolutionFilter2D ^ gl-1.2.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(Histogram,GLvoid, GLenum,GLsizei,GLenum,GLboolean, "1.2") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :21:1: note: expanded from here gl_Histogram ^ gl-1.2.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(Minmax,GLvoid, GLenum,GLenum,GLboolean, "1.2") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :39:1: note: expanded from here gl_Minmax ^ gl-1.2.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ResetHistogram,GLvoid, GLenum, "1.2") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :56:1: note: expanded from here gl_ResetHistogram ^ gl-1.2.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ResetMinmax,GLvoid, GLenum, "1.2") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :71:1: note: expanded from here gl_ResetMinmax ^ gl-1.2.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_9(CopyTexSubImage3D,GLvoid, GLenum,GLint,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei, "1.2") ^ ./../common/funcdef.h:185:105: note: expanded from macro 'GL_FUNC_LOAD_9' #define GL_FUNC_LOAD_9(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,_ver_) GL_FUNC_LOAD(9, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :86:1: note: expanded from here gl_CopyTexSubImage3D ^ gl-1.2.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_DrawRangeElements(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-1.2.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ColorTable(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-1.2.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ColorTableParameterfv(obj,arg1,arg2,arg3) ^ gl-1.2.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ColorTableParameteriv(obj,arg1,arg2,arg3) ^ gl-1.2.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetColorTableParameterfv(obj,arg1,arg2) ^ gl-1.2.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetColorTableParameteriv(obj,arg1,arg2) ^ gl-1.2.c:196:2: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:196:2: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:198:2: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetColorTable(obj,arg1,arg2,arg3) ^ gl-1.2.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ColorSubTable(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-1.2.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ConvolutionFilter1D(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-1.2.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ConvolutionFilter2D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7) ^ gl-1.2.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ConvolutionParameterfv(obj,arg1,arg2,arg3) ^ gl-1.2.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ConvolutionParameteriv(obj,arg1,arg2,arg3) ^ gl-1.2.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetConvolutionParameterfv(obj,arg1,arg2) ^ gl-1.2.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetConvolutionParameteriv(obj,arg1,arg2) ^ gl-1.2.c:415:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:415:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:417:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:424:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:426:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetConvolutionFilter(argc,argv,obj) ^ gl-1.2.c:467:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:467:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:469:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:479:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:481:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetSeparableFilter(argc,argv,obj) ^ gl-1.2.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_SeparableFilter2D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) ^ gl-1.2.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetHistogramParameterfv(obj,arg1,arg2,arg3) ^ gl-1.2.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetHistogramParameteriv(obj,arg1,arg2,arg3) ^ gl-1.2.c:584:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:584:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:586:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:594:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:596:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetHistogram(argc,argv,obj) ^ gl-1.2.c:630:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:630:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:632:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPushClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:87:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPushClientAttrib(GL_CLIENT_PIXEL_STORE_BIT); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2624:13: note: 'glPushClientAttrib' has been explicitly marked deprecated here extern void glPushClientAttrib (GLbitfield mask) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:88:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ALIGNMENT, 1); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:89:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_PIXELS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:90:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_ROWS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:91:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_ROW_LENGTH, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:92:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_IMAGES, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:93:2: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_HEIGHT, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:95:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_SKIP_VOLUMES_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:640:4: warning: 'glPixelStorei' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] FORCE_PIXEL_STORE_MODE ^ ./../common/common.h:96:3: note: expanded from macro 'FORCE_PIXEL_STORE_MODE' glPixelStorei(GL_PACK_IMAGE_DEPTH_SGIS, 0); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2610:13: note: 'glPixelStorei' has been explicitly marked deprecated here extern void glPixelStorei (GLenum pname, GLint param) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:642:4: warning: 'glPopClientAttrib' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] RESTORE_PIXEL_STORE_MODE ^ ./../common/common.h:100:2: note: expanded from macro 'RESTORE_PIXEL_STORE_MODE' glPopClientAttrib(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2619:13: note: 'glPopClientAttrib' has been explicitly marked deprecated here extern void glPopClientAttrib (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.2.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetMinmax(argc,argv,obj) ^ gl-1.2.c:650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetMinmaxParameterfv(obj,arg1,arg2) ^ gl-1.2.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetMinmaxParameteriv(obj,arg1,arg2) ^ gl-1.2.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexImage3D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10) ^ gl-1.2.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_TexSubImage3D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) ^ 204 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-1.3.c In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-1.3.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-1.3.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-1.3.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.3.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.3.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-1.3.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ActiveTexture,GLvoid, GLenum, "1.3") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_ActiveTexture ^ gl-1.3.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ClientActiveTexture,GLvoid, GLenum, "1.3") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :93:1: note: expanded from here gl_ClientActiveTexture ^ gl-1.3.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(MultiTexCoord1d,GLvoid, GLenum,GLdouble, "1.3") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :108:1: note: expanded from here gl_MultiTexCoord1d ^ gl-1.3.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(MultiTexCoord1f,GLvoid, GLenum,GLfloat, "1.3") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :124:1: note: expanded from here gl_MultiTexCoord1f ^ gl-1.3.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(MultiTexCoord1i,GLvoid, GLenum,GLint, "1.3") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :140:1: note: expanded from here gl_MultiTexCoord1i ^ gl-1.3.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(MultiTexCoord1s,GLvoid, GLenum,GLshort, "1.3") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :156:1: note: expanded from here gl_MultiTexCoord1s ^ gl-1.3.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(MultiTexCoord2d,GLvoid, GLenum,GLdouble,GLdouble, "1.3") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :172:1: note: expanded from here gl_MultiTexCoord2d ^ gl-1.3.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(MultiTexCoord2f,GLvoid, GLenum,GLfloat,GLfloat, "1.3") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :189:1: note: expanded from here gl_MultiTexCoord2f ^ gl-1.3.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(MultiTexCoord2i,GLvoid, GLenum,GLint,GLint, "1.3") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :2:1: note: expanded from here gl_MultiTexCoord2i ^ gl-1.3.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(MultiTexCoord2s,GLvoid, GLenum,GLshort,GLshort, "1.3") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :19:1: note: expanded from here gl_MultiTexCoord2s ^ gl-1.3.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(MultiTexCoord3d,GLvoid, GLenum,GLdouble,GLdouble,GLdouble, "1.3") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :36:1: note: expanded from here gl_MultiTexCoord3d ^ gl-1.3.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(MultiTexCoord3f,GLvoid, GLenum,GLfloat,GLfloat,GLfloat, "1.3") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :54:1: note: expanded from here gl_MultiTexCoord3f ^ gl-1.3.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(MultiTexCoord3i,GLvoid, GLenum,GLint,GLint,GLint, "1.3") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :72:1: note: expanded from here gl_MultiTexCoord3i ^ gl-1.3.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(MultiTexCoord3s,GLvoid, GLenum,GLshort,GLshort,GLshort, "1.3") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :90:1: note: expanded from here gl_MultiTexCoord3s ^ gl-1.3.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(MultiTexCoord4d,GLvoid, GLenum,GLdouble,GLdouble,GLdouble,GLdouble, "1.3") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :108:1: note: expanded from here gl_MultiTexCoord4d ^ gl-1.3.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(MultiTexCoord4f,GLvoid, GLenum,GLfloat,GLfloat,GLfloat,GLfloat, "1.3") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :127:1: note: expanded from here gl_MultiTexCoord4f ^ gl-1.3.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(MultiTexCoord4i,GLvoid, GLenum,GLint,GLint,GLint,GLint, "1.3") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :146:1: note: expanded from here gl_MultiTexCoord4i ^ gl-1.3.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(MultiTexCoord4s,GLvoid, GLenum,GLshort,GLshort,GLshort,GLshort, "1.3") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :165:1: note: expanded from here gl_MultiTexCoord4s ^ gl-1.3.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(SampleCoverage,GLvoid, GLclampf,GLboolean, "1.3") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :184:1: note: expanded from here gl_SampleCoverage ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:54:22: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:56:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord1##_type_(obj,args[0],RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(d) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:110: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLMULTITEXCOORD_VFUNC(d) ^ gl-1.3.c:41:14: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' static VALUE \ ^ :199:1: note: expanded from here gl_MultiTexCoorddv ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:54:22: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:56:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord1##_type_(obj,args[0],RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(f) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:110: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLMULTITEXCOORD_VFUNC(f) ^ gl-1.3.c:41:14: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' static VALUE \ ^ :209:1: note: expanded from here gl_MultiTexCoordfv ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:54:22: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:56:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord1##_type_(obj,args[0],RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(i) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:110: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLMULTITEXCOORD_VFUNC(i) ^ gl-1.3.c:41:14: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' static VALUE \ ^ :219:1: note: expanded from here gl_MultiTexCoordiv ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:54:22: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' switch (RARRAY_LEN(ary)) { \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:56:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord1##_type_(obj,args[0],RARRAY_PTR(ary)[0]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:59:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord2##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:62:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord3##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:53: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:72: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:91: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] GLMULTITEXCOORD_VFUNC(s) ^~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:65:110: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' gl_MultiTexCoord4##_type_(obj,args[0],RARRAY_PTR(ary)[0],RARRAY_PTR(ary)[1],RARRAY_PTR(ary)[2],RARRAY_PTR(ary)[3]); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.3.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLMULTITEXCOORD_VFUNC(s) ^ gl-1.3.c:41:14: note: expanded from macro 'GLMULTITEXCOORD_VFUNC' static VALUE \ ^ :229:1: note: expanded from here gl_MultiTexCoordsv ^ gl-1.3.c:112:1: warning: too few arguments in call to 'ary2cmatfloat' TRANSPOSEMATRIX_FUNC(LoadTransposeMatrixf,float) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:106:32: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' ary2cmat##_type_(arg1, m, 4, 4); \ ~~~~~~~~~~~~~~~~ ^ gl-1.3.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-1.3.c:100:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :4:1: note: expanded from here gl_LoadTransposeMatrixf ^ gl-1.3.c:113:1: warning: too few arguments in call to 'ary2cmatdouble' TRANSPOSEMATRIX_FUNC(LoadTransposeMatrixd,double) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:106:32: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' ary2cmat##_type_(arg1, m, 4, 4); \ ~~~~~~~~~~~~~~~~ ^ gl-1.3.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-1.3.c:100:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :12:1: note: expanded from here gl_LoadTransposeMatrixd ^ gl-1.3.c:114:1: warning: too few arguments in call to 'ary2cmatfloat' TRANSPOSEMATRIX_FUNC(MultTransposeMatrixf,float) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:106:32: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' ary2cmat##_type_(arg1, m, 4, 4); \ ~~~~~~~~~~~~~~~~ ^ gl-1.3.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-1.3.c:100:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :20:1: note: expanded from here gl_MultTransposeMatrixf ^ gl-1.3.c:115:1: warning: too few arguments in call to 'ary2cmatdouble' TRANSPOSEMATRIX_FUNC(MultTransposeMatrixd,double) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-1.3.c:106:32: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' ary2cmat##_type_(arg1, m, 4, 4); \ ~~~~~~~~~~~~~~~~ ^ gl-1.3.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-1.3.c:100:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :28:1: note: expanded from here gl_MultTransposeMatrixd ^ gl-1.3.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CompressedTexImage3D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) ^ gl-1.3.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CompressedTexImage2D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8) ^ gl-1.3.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CompressedTexImage1D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7) ^ gl-1.3.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CompressedTexSubImage3D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11) ^ gl-1.3.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CompressedTexSubImage2D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) ^ gl-1.3.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_CompressedTexSubImage1D(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7) ^ gl-1.3.c:379:4: warning: 'glGetTexLevelParameteriv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetTexLevelParameteriv(target,lod,GL_TEXTURE_COMPRESSED_IMAGE_SIZE,&size); /* 1.0 function */ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2538:13: note: 'glGetTexLevelParameteriv' has been explicitly marked deprecated here extern void glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-1.3.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetCompressedTexImage(argc,argv,obj) ^ 159 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-1.4.c In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-1.4.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-1.4.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-1.4.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.4.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.4.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-1.4.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(BlendFuncSeparate,GLvoid, GLenum,GLenum,GLenum,GLenum, "1.4") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_BlendFuncSeparate ^ gl-1.4.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(FogCoordf,GLvoid, GLfloat, "1.4") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :96:1: note: expanded from here gl_FogCoordf ^ gl-1.4.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(FogCoordd,GLvoid, GLdouble, "1.4") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :111:1: note: expanded from here gl_FogCoordd ^ gl-1.4.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(PointParameteri,GLvoid, GLenum,GLint, "1.4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :126:1: note: expanded from here gl_PointParameteri ^ gl-1.4.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(PointParameterf,GLvoid, GLenum,GLfloat, "1.4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :142:1: note: expanded from here gl_PointParameterf ^ gl-1.4.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3b,GLvoid, GLbyte,GLbyte,GLbyte, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :158:1: note: expanded from here gl_SecondaryColor3b ^ gl-1.4.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3d,GLvoid, GLdouble,GLdouble,GLdouble, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :175:1: note: expanded from here gl_SecondaryColor3d ^ gl-1.4.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3f,GLvoid, GLfloat,GLfloat,GLfloat, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :192:1: note: expanded from here gl_SecondaryColor3f ^ gl-1.4.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3i,GLvoid, GLint,GLint,GLint, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :209:1: note: expanded from here gl_SecondaryColor3i ^ gl-1.4.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3s,GLvoid, GLshort,GLshort,GLshort, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :18:1: note: expanded from here gl_SecondaryColor3s ^ gl-1.4.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3ub,GLvoid, GLubyte,GLubyte,GLubyte, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :35:1: note: expanded from here gl_SecondaryColor3ub ^ gl-1.4.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3ui,GLvoid, GLuint,GLuint,GLuint, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :52:1: note: expanded from here gl_SecondaryColor3ui ^ gl-1.4.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3us,GLvoid, GLushort,GLushort,GLushort, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :69:1: note: expanded from here gl_SecondaryColor3us ^ gl-1.4.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2d,GLvoid, GLdouble,GLdouble, "1.4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :86:1: note: expanded from here gl_WindowPos2d ^ gl-1.4.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2f,GLvoid, GLfloat,GLfloat, "1.4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :102:1: note: expanded from here gl_WindowPos2f ^ gl-1.4.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2i,GLvoid, GLint,GLint, "1.4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :118:1: note: expanded from here gl_WindowPos2i ^ gl-1.4.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2s,GLvoid, GLshort,GLshort, "1.4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :134:1: note: expanded from here gl_WindowPos2s ^ gl-1.4.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3d,GLvoid, GLdouble,GLdouble,GLdouble, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :150:1: note: expanded from here gl_WindowPos3d ^ gl-1.4.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3f,GLvoid, GLfloat,GLfloat,GLfloat, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :167:1: note: expanded from here gl_WindowPos3f ^ gl-1.4.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3i,GLvoid, GLint,GLint,GLint, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :184:1: note: expanded from here gl_WindowPos3i ^ gl-1.4.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3s,GLvoid, GLshort,GLshort,GLshort, "1.4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :201:1: note: expanded from here gl_WindowPos3s ^ gl-1.4.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_FogCoordfv(obj,arg1) ^ gl-1.4.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_FogCoorddv(obj,arg1) ^ gl-1.4.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_FogCoordPointer(obj,arg1,arg2,arg3) ^ gl-1.4.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MultiDrawArrays(obj,arg1,arg2,arg3) ^ gl-1.4.c:105:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] len1 = RARRAY_LEN(arg2); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.4.c:106:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] len2 = RARRAY_LEN(arg3); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.4.c:146:22: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] size = RARRAY_LEN(ary); ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-1.4.c:151:54: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] data = pack_array_or_pass_string(type,RARRAY_PTR(ary)[i]); ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-1.4.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MultiDrawElements(argc,argv,obj) ^ gl-1.4.c:146:11: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(ary); ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.4.c:153:17: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] counts[i] = RSTRING_LEN(data); ~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-1.4.c:169:11: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(args[2]); ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.4.c:174:17: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] counts[i] = NUM2INT(rb_ary_entry(args[2],i)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-1.4.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_PointParameterfv(obj,arg1,arg2) ^ gl-1.4.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_PointParameteriv(obj,arg1,arg2) ^ gl-1.4.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_SecondaryColorPointer(obj,arg1,arg2,arg3,arg4) ^ 113 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-1.5.c In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-1.5.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-1.5.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-1.5.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.5.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-1.5.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-1.5.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(EndQuery,GLvoid, GLenum, "1.5") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_EndQuery ^ gl-1.5.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsQuery,GLboolean, GLuint, "1.5") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :93:1: note: expanded from here gl_IsQuery ^ gl-1.5.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BeginQuery,GLvoid, GLenum,GLuint, "1.5") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :108:1: note: expanded from here gl_BeginQuery ^ gl-1.5.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BindBuffer,GLvoid, GLenum,GLuint, "1.5") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :124:1: note: expanded from here gl_BindBuffer ^ gl-1.5.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsBuffer,GLboolean, GLuint, "1.5") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :140:1: note: expanded from here gl_IsBuffer ^ gl-1.5.c:25:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenQueries,"1.5") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-1.5.c:26:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteQueries,"1.5") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.5.c:27:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenBuffers,"1.5") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-1.5.c:28:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteBuffers,"1.5") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-1.5.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetQueryiv(obj,arg1,arg2) ^ gl-1.5.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetQueryObjectiv(obj,arg1,arg2) ^ gl-1.5.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetQueryObjectuiv(obj,arg1,arg2) ^ gl-1.5.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_BufferData(obj,arg1,arg2,arg3,arg4) ^ gl-1.5.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_BufferSubData(obj,arg1,arg2,arg3,arg4) ^ gl-1.5.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetBufferSubData(obj,arg1,arg2,arg3) ^ gl-1.5.c:132:37: warning: implicit conversion loses integer precision: 'GLsizeiptr' (aka 'long') to 'int' [-Wshorten-64-to-32] data = allocate_buffer_with_string(size); ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~ gl-1.5.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetBufferParameteriv(obj,arg1,arg2) ^ gl-1.5.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MapBuffer(obj,arg1,arg2) ^ gl-1.5.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_UnmapBuffer(obj,arg1) ^ gl-1.5.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetBufferPointerv(obj,arg1,arg2,arg3) ^ 96 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-2.0.c In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-2.0.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-2.0.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-2.0.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-2.0.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-2.0.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-2.0.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BlendEquationSeparate,GLvoid, GLenum,GLenum, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_BlendEquationSeparate ^ gl-2.0.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(StencilOpSeparate,GLvoid, GLenum,GLenum,GLenum,GLenum, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :94:1: note: expanded from here gl_StencilOpSeparate ^ gl-2.0.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(AttachShader,GLvoid, GLuint,GLuint, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :112:1: note: expanded from here gl_AttachShader ^ gl-2.0.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(CompileShader,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :128:1: note: expanded from here gl_CompileShader ^ gl-2.0.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(DeleteProgram,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :143:1: note: expanded from here gl_DeleteProgram ^ gl-2.0.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(DeleteShader,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :158:1: note: expanded from here gl_DeleteShader ^ gl-2.0.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(DetachShader,GLvoid, GLuint,GLuint, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :173:1: note: expanded from here gl_DetachShader ^ gl-2.0.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(DisableVertexAttribArray,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :189:1: note: expanded from here gl_DisableVertexAttribArray ^ gl-2.0.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(EnableVertexAttribArray,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :2:1: note: expanded from here gl_EnableVertexAttribArray ^ gl-2.0.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(LinkProgram,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :17:1: note: expanded from here gl_LinkProgram ^ gl-2.0.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(UseProgram,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :32:1: note: expanded from here gl_UseProgram ^ gl-2.0.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ValidateProgram,GLvoid, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :47:1: note: expanded from here gl_ValidateProgram ^ gl-2.0.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(StencilFuncSeparate,GLvoid, GLenum,GLenum,GLint,GLuint, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :62:1: note: expanded from here gl_StencilFuncSeparate ^ gl-2.0.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(StencilMaskSeparate,GLvoid, GLenum,GLuint, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :80:1: note: expanded from here gl_StencilMaskSeparate ^ gl-2.0.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_0(CreateProgram,GLuint, "2.0") ^ ./../common/funcdef.h:176:51: note: expanded from macro 'GL_FUNC_LOAD_0' #define GL_FUNC_LOAD_0(_name_,_returntype_,_ver_) GL_FUNC_LOAD(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :96:1: note: expanded from here gl_CreateProgram ^ gl-2.0.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(CreateShader,GLuint, GLenum, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :110:1: note: expanded from here gl_CreateShader ^ gl-2.0.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsProgram,GLboolean, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :125:1: note: expanded from here gl_IsProgram ^ gl-2.0.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsShader,GLboolean, GLuint, "2.0") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :140:1: note: expanded from here gl_IsShader ^ gl-2.0.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(Uniform1f,GLvoid, GLint,GLfloat, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :155:1: note: expanded from here gl_Uniform1f ^ gl-2.0.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(Uniform1i,GLvoid, GLint,GLint, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :171:1: note: expanded from here gl_Uniform1i ^ gl-2.0.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(Uniform2f,GLvoid, GLint,GLfloat,GLfloat, "2.0") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :187:1: note: expanded from here gl_Uniform2f ^ gl-2.0.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(Uniform2i,GLvoid, GLint,GLint,GLint, "2.0") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :204:1: note: expanded from here gl_Uniform2i ^ gl-2.0.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(Uniform3f,GLvoid, GLint,GLfloat,GLfloat,GLfloat, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :221:1: note: expanded from here gl_Uniform3f ^ gl-2.0.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(Uniform3i,GLvoid, GLint,GLint,GLint,GLint, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :239:1: note: expanded from here gl_Uniform3i ^ gl-2.0.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(Uniform4f,GLvoid, GLint,GLfloat,GLfloat,GLfloat,GLfloat, "2.0") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :257:1: note: expanded from here gl_Uniform4f ^ gl-2.0.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(Uniform4i,GLvoid, GLint,GLint,GLint,GLint,GLint, "2.0") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :20:1: note: expanded from here gl_Uniform4i ^ gl-2.0.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1d,GLvoid, GLuint,GLdouble, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :39:1: note: expanded from here gl_VertexAttrib1d ^ gl-2.0.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1f,GLvoid, GLuint,GLfloat, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :55:1: note: expanded from here gl_VertexAttrib1f ^ gl-2.0.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1s,GLvoid, GLuint,GLshort, "2.0") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :71:1: note: expanded from here gl_VertexAttrib1s ^ gl-2.0.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2d,GLvoid, GLuint,GLdouble,GLdouble, "2.0") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :87:1: note: expanded from here gl_VertexAttrib2d ^ gl-2.0.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2f,GLvoid, GLuint,GLfloat,GLfloat, "2.0") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :104:1: note: expanded from here gl_VertexAttrib2f ^ gl-2.0.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2s,GLvoid, GLuint,GLshort,GLshort, "2.0") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :121:1: note: expanded from here gl_VertexAttrib2s ^ gl-2.0.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3d,GLvoid, GLuint,GLdouble,GLdouble,GLdouble, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :138:1: note: expanded from here gl_VertexAttrib3d ^ gl-2.0.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3f,GLvoid, GLuint,GLfloat,GLfloat,GLfloat, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :156:1: note: expanded from here gl_VertexAttrib3f ^ gl-2.0.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3s,GLvoid, GLuint,GLshort,GLshort,GLshort, "2.0") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :174:1: note: expanded from here gl_VertexAttrib3s ^ gl-2.0.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4d,GLvoid, GLuint,GLdouble,GLdouble,GLdouble,GLdouble, "2.0") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :192:1: note: expanded from here gl_VertexAttrib4d ^ gl-2.0.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4f,GLvoid, GLuint,GLfloat,GLfloat,GLfloat,GLfloat, "2.0") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :211:1: note: expanded from here gl_VertexAttrib4f ^ gl-2.0.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4s,GLvoid, GLuint,GLshort,GLshort,GLshort,GLshort, "2.0") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :230:1: note: expanded from here gl_VertexAttrib4s ^ gl-2.0.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4Nub,GLvoid, GLuint,GLubyte,GLubyte,GLubyte,GLubyte, "2.0") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :249:1: note: expanded from here gl_VertexAttrib4Nub ^ gl-2.0.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_DrawBuffers(obj,arg1) ^ gl-2.0.c:67:9: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(arg1); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_BindAttribLocation(obj,arg1,arg2,arg3) ^ gl-2.0.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetProgramiv(obj,arg1,arg2) ^ gl-2.0.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetActiveAttrib(obj,arg1,arg2) ^ gl-2.0.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetActiveUniform(obj,arg1,arg2) ^ gl-2.0.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetAttachedShaders(obj,arg1) ^ gl-2.0.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetAttribLocation(obj,arg1,arg2) ^ gl-2.0.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetProgramInfoLog(obj,arg1) ^ gl-2.0.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetShaderiv(obj,arg1,arg2) ^ gl-2.0.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetShaderInfoLog(obj,arg1) ^ gl-2.0.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetShaderSource(obj,arg1) ^ gl-2.0.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetUniformLocation(obj,arg1,arg2) ^ gl-2.0.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETUNIFORM_FUNC(GetUniformfv,GLfloat) ^ gl-2.0.c:309:14: note: expanded from macro 'GETUNIFORM_FUNC' static VALUE \ ^ :71:1: note: expanded from here gl_GetUniformfv ^ gl-2.0.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETUNIFORM_FUNC(GetUniformiv,GLint) ^ gl-2.0.c:309:14: note: expanded from macro 'GETUNIFORM_FUNC' static VALUE \ ^ :82:1: note: expanded from here gl_GetUniformiv ^ gl-2.0.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribdv,GLdouble) ^ gl-2.0.c:343:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :93:1: note: expanded from here gl_GetVertexAttribdv ^ gl-2.0.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribfv,GLfloat) ^ gl-2.0.c:343:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :101:1: note: expanded from here gl_GetVertexAttribfv ^ gl-2.0.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetVertexAttribiv(obj,arg1,arg2) ^ gl-2.0.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetVertexAttribPointerv(obj,arg1) ^ gl-2.0.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ShaderSource(obj,arg1,arg2) ^ gl-2.0.c:416:11: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] length = RSTRING_LEN(arg2); ~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-2.0.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform1fv,GLfloat,ary2cflt,1) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :118:1: note: expanded from here gl_Uniform1fv ^ gl-2.0.c:445:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform1fv,GLfloat,ary2cflt,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform1iv,GLint,ary2cint,1) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :125:1: note: expanded from here gl_Uniform1iv ^ gl-2.0.c:446:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform1iv,GLint,ary2cint,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform2fv,GLfloat,ary2cflt,2) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :132:1: note: expanded from here gl_Uniform2fv ^ gl-2.0.c:447:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform2fv,GLfloat,ary2cflt,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform2iv,GLint,ary2cint,2) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :139:1: note: expanded from here gl_Uniform2iv ^ gl-2.0.c:448:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform2iv,GLint,ary2cint,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform3fv,GLfloat,ary2cflt,3) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :146:1: note: expanded from here gl_Uniform3fv ^ gl-2.0.c:449:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform3fv,GLfloat,ary2cflt,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform3iv,GLint,ary2cint,3) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :153:1: note: expanded from here gl_Uniform3iv ^ gl-2.0.c:450:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform3iv,GLint,ary2cint,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform4fv,GLfloat,ary2cflt,4) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :160:1: note: expanded from here gl_Uniform4fv ^ gl-2.0.c:451:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform4fv,GLfloat,ary2cflt,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORM_FUNC_V(Uniform4iv,GLint,ary2cint,4) ^ gl-2.0.c:424:14: note: expanded from macro 'UNIFORM_FUNC_V' static VALUE \ ^ :167:1: note: expanded from here gl_Uniform4iv ^ gl-2.0.c:452:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORM_FUNC_V(Uniform4iv,GLint,ary2cint,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:433:10: note: expanded from macro 'UNIFORM_FUNC_V' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(UniformMatrix2fv,2) ^ gl-2.0.c:457:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :174:1: note: expanded from here gl_UniformMatrix2fv ^ gl-2.0.c:477:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(UniformMatrix2fv,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:467:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(UniformMatrix3fv,3) ^ gl-2.0.c:457:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :181:1: note: expanded from here gl_UniformMatrix3fv ^ gl-2.0.c:478:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(UniformMatrix3fv,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:467:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(UniformMatrix4fv,4) ^ gl-2.0.c:457:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :188:1: note: expanded from here gl_UniformMatrix4fv ^ gl-2.0.c:479:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(UniformMatrix4fv,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-2.0.c:467:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.0.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4Nbv,GLbyte,ary2cbyte,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :195:1: note: expanded from here gl_VertexAttrib4Nbv ^ gl-2.0.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4Niv,GLint,ary2cint,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :5:1: note: expanded from here gl_VertexAttrib4Niv ^ gl-2.0.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4Nsv,GLshort,ary2cshort,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :12:1: note: expanded from here gl_VertexAttrib4Nsv ^ gl-2.0.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4Nubv,GLubyte,ary2cubyte,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :19:1: note: expanded from here gl_VertexAttrib4Nubv ^ gl-2.0.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4Nuiv,GLuint,ary2cuint,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :26:1: note: expanded from here gl_VertexAttrib4Nuiv ^ gl-2.0.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4Nusv,GLushort,ary2cushort,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :33:1: note: expanded from here gl_VertexAttrib4Nusv ^ gl-2.0.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4uiv,GLuint,ary2cuint,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :40:1: note: expanded from here gl_VertexAttrib4uiv ^ gl-2.0.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4ubv,GLubyte,ary2cubyte,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :47:1: note: expanded from here gl_VertexAttrib4ubv ^ gl-2.0.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4usv,GLushort,ary2cushort,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :54:1: note: expanded from here gl_VertexAttrib4usv ^ gl-2.0.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4bv,GLbyte,ary2cbyte,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :61:1: note: expanded from here gl_VertexAttrib4bv ^ gl-2.0.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4iv,GLint,ary2cint,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :68:1: note: expanded from here gl_VertexAttrib4iv ^ gl-2.0.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4dv,GLdouble,ary2cdbl,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :75:1: note: expanded from here gl_VertexAttrib4dv ^ gl-2.0.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4fv,GLfloat,ary2cflt,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :82:1: note: expanded from here gl_VertexAttrib4fv ^ gl-2.0.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4sv,GLshort,ary2cshort,4) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :89:1: note: expanded from here gl_VertexAttrib4sv ^ gl-2.0.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3dv,GLdouble,ary2cdbl,3) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :96:1: note: expanded from here gl_VertexAttrib3dv ^ gl-2.0.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3fv,GLfloat,ary2cflt,3) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :103:1: note: expanded from here gl_VertexAttrib3fv ^ gl-2.0.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3sv,GLshort,ary2cshort,3) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :110:1: note: expanded from here gl_VertexAttrib3sv ^ gl-2.0.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2dv,GLdouble,ary2cdbl,2) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :117:1: note: expanded from here gl_VertexAttrib2dv ^ gl-2.0.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2fv,GLfloat,ary2cflt,2) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :124:1: note: expanded from here gl_VertexAttrib2fv ^ gl-2.0.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2sv,GLshort,ary2cshort,2) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :131:1: note: expanded from here gl_VertexAttrib2sv ^ gl-2.0.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1dv,GLdouble,ary2cdbl,1) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :138:1: note: expanded from here gl_VertexAttrib1dv ^ gl-2.0.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1fv,GLfloat,ary2cflt,1) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :145:1: note: expanded from here gl_VertexAttrib1fv ^ gl-2.0.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1sv,GLshort,ary2cshort,1) ^ gl-2.0.c:484:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :152:1: note: expanded from here gl_VertexAttrib1sv ^ gl-2.0.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_VertexAttribPointer(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ 182 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-2.1.c In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-2.1.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-2.1.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-2.1.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-2.1.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-2.1.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-2.1.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(2,3) ^ gl-2.1.c:20:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :83:1: note: expanded from here gl_UniformMatrix2x3fv ^ gl-2.1.c:40:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(2,3) ^~~~~~~~~~~~~~~~~~~~~~~ gl-2.1.c:30:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.1.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(3,2) ^ gl-2.1.c:20:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :102:1: note: expanded from here gl_UniformMatrix3x2fv ^ gl-2.1.c:41:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(3,2) ^~~~~~~~~~~~~~~~~~~~~~~ gl-2.1.c:30:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.1.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(2,4) ^ gl-2.1.c:20:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :121:1: note: expanded from here gl_UniformMatrix2x4fv ^ gl-2.1.c:42:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(2,4) ^~~~~~~~~~~~~~~~~~~~~~~ gl-2.1.c:30:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.1.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(4,2) ^ gl-2.1.c:20:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :140:1: note: expanded from here gl_UniformMatrix4x2fv ^ gl-2.1.c:43:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(4,2) ^~~~~~~~~~~~~~~~~~~~~~~ gl-2.1.c:30:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.1.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(3,4) ^ gl-2.1.c:20:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :159:1: note: expanded from here gl_UniformMatrix3x4fv ^ gl-2.1.c:44:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(3,4) ^~~~~~~~~~~~~~~~~~~~~~~ gl-2.1.c:30:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-2.1.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(4,3) ^ gl-2.1.c:20:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :7:1: note: expanded from here gl_UniformMatrix4x3fv ^ gl-2.1.c:45:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(4,3) ^~~~~~~~~~~~~~~~~~~~~~~ gl-2.1.c:30:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ 88 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-enums.c In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-enums.c:6: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-enums.c:6: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-enums.c:6: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-enums.c:6: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-enums.c:6: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ 76 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-error.c In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-error.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-error.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-error.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-error.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-error.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-error.c:28:10: warning: 'glGetError' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] error = glGetError(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2508:15: note: 'glGetError' has been explicitly marked deprecated here extern GLenum glGetError (void) OPENGL_DEPRECATED(10.0, 10.14); ^ gl-error.c:40:5: warning: 'glGetError' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetError()!=GL_NO_ERROR; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2508:15: note: 'glGetError' has been explicitly marked deprecated here extern GLenum glGetError (void) OPENGL_DEPRECATED(10.0, 10.14); ^ 78 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-ext-3dfx.c In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-ext-3dfx.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-ext-3dfx.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-ext-3dfx.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-3dfx.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-3dfx.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-ext-3dfx.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(TbufferMask3DFX,GLvoid, GLuint, "GL_3DFX_tbuffer") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_TbufferMask3DFX ^ 77 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-ext-arb.c In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-ext-arb.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-ext-arb.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-ext-arb.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-arb.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-arb.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-ext-arb.c:35:1: warning: too few arguments in call to 'ary2cmatfloat' TRANSPOSEMATRIX_FUNC(LoadTransposeMatrixfARB,GLfloat,ary2cmatfloat) ^ ~~~~~~~~~~~~~ gl-ext-arb.c:29:22: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' _conv_(arg1, m, 4, 4); \ ~~~~~~ ^ gl-ext-arb.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-ext-arb.c:23:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :77:1: note: expanded from here gl_LoadTransposeMatrixfARB ^ gl-ext-arb.c:36:1: warning: too few arguments in call to 'ary2cmatdouble' TRANSPOSEMATRIX_FUNC(LoadTransposeMatrixdARB,GLdouble,ary2cmatdouble) ^ ~~~~~~~~~~~~~~ gl-ext-arb.c:29:22: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' _conv_(arg1, m, 4, 4); \ ~~~~~~ ^ gl-ext-arb.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-ext-arb.c:23:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :84:1: note: expanded from here gl_LoadTransposeMatrixdARB ^ gl-ext-arb.c:37:1: warning: too few arguments in call to 'ary2cmatfloat' TRANSPOSEMATRIX_FUNC(MultTransposeMatrixfARB,GLfloat,ary2cmatfloat) ^ ~~~~~~~~~~~~~ gl-ext-arb.c:29:22: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' _conv_(arg1, m, 4, 4); \ ~~~~~~ ^ gl-ext-arb.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-ext-arb.c:23:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :91:1: note: expanded from here gl_MultTransposeMatrixfARB ^ gl-ext-arb.c:38:1: warning: too few arguments in call to 'ary2cmatdouble' TRANSPOSEMATRIX_FUNC(MultTransposeMatrixdARB,GLdouble,ary2cmatdouble) ^ ~~~~~~~~~~~~~~ gl-ext-arb.c:29:22: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' _conv_(arg1, m, 4, 4); \ ~~~~~~ ^ gl-ext-arb.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl-ext-arb.c:23:14: note: expanded from macro 'TRANSPOSEMATRIX_FUNC' static VALUE \ ^ :98:1: note: expanded from here gl_MultTransposeMatrixdARB ^ gl-ext-arb.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(SampleCoverageARB,GLvoid, GLclampf,GLboolean, "GL_ARB_multisample") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :106:1: note: expanded from here gl_SampleCoverageARB ^ gl-ext-arb.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(PointParameterfARB,GLvoid, GLenum,GLfloat, "GL_ARB_point_parameters") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :122:1: note: expanded from here gl_PointParameterfARB ^ gl-ext-arb.c:55:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] pname = NUM2UINT(arg1); ~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2dARB,GLvoid, GLdouble,GLdouble, "GL_ARB_window_pos") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :141:1: note: expanded from here gl_WindowPos2dARB ^ gl-ext-arb.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2fARB,GLvoid, GLfloat,GLfloat, "GL_ARB_window_pos") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :157:1: note: expanded from here gl_WindowPos2fARB ^ gl-ext-arb.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2iARB,GLvoid, GLint,GLint, "GL_ARB_window_pos") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :173:1: note: expanded from here gl_WindowPos2iARB ^ gl-ext-arb.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(WindowPos2sARB,GLvoid, GLshort,GLshort, "GL_ARB_window_pos") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :9:1: note: expanded from here gl_WindowPos2sARB ^ gl-ext-arb.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3dARB,GLvoid, GLdouble,GLdouble,GLdouble, "GL_ARB_window_pos") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :25:1: note: expanded from here gl_WindowPos3dARB ^ gl-ext-arb.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3fARB,GLvoid, GLfloat,GLfloat,GLfloat, "GL_ARB_window_pos") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :42:1: note: expanded from here gl_WindowPos3fARB ^ gl-ext-arb.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3iARB,GLvoid, GLint,GLint,GLint, "GL_ARB_window_pos") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :59:1: note: expanded from here gl_WindowPos3iARB ^ gl-ext-arb.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(WindowPos3sARB,GLvoid, GLshort,GLshort,GLshort, "GL_ARB_window_pos") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :76:1: note: expanded from here gl_WindowPos3sARB ^ gl-ext-arb.c:109:54: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] fptr_glProgramStringARB(NUM2INT(arg1),NUM2INT(arg2),RSTRING_LEN(arg3),RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-arb.c:109:40: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glProgramStringARB(NUM2INT(arg1),NUM2INT(arg2),RSTRING_LEN(arg3),RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:109:26: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glProgramStringARB(NUM2INT(arg1),NUM2INT(arg2),RSTRING_LEN(arg3),RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:119:39: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramivARB(NUM2INT(arg1),NUM2INT(arg2),&ret); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:119:25: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramivARB(NUM2INT(arg1),NUM2INT(arg2),&ret); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:121:26: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] return cond_GLBOOL2RUBY(NUM2INT(arg2),ret); ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:134:25: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramivARB(NUM2INT(arg1),GL_PROGRAM_LENGTH_ARB,&len); ~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:141:44: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramStringARB(NUM2INT(arg1),NUM2INT(arg2),buffer); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:141:30: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramStringARB(NUM2INT(arg1),NUM2INT(arg2),buffer); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:149:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenProgramsARB,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-arb.c:150:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteProgramsARB,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BindProgramARB,GLvoid, GLenum,GLuint, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :176:1: note: expanded from here gl_BindProgramARB ^ gl-ext-arb.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsProgramARB,GLboolean, GLuint, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :192:1: note: expanded from here gl_IsProgramARB ^ gl-ext-arb.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(EnableVertexAttribArrayARB,GLvoid, GLuint, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :207:1: note: expanded from here gl_EnableVertexAttribArrayARB ^ gl-ext-arb.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(DisableVertexAttribArrayARB,GLvoid, GLuint, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :11:1: note: expanded from here gl_DisableVertexAttribArrayARB ^ gl-ext-arb.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetVertexAttribPointervARB(obj,arg1) ^ gl-ext-arb.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramEnvParameter4dARB,GLvoid, GLenum,GLuint,GLdouble,GLdouble,GLdouble,GLdouble, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :32:1: note: expanded from here gl_ProgramEnvParameter4dARB ^ gl-ext-arb.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramEnvParameter4fARB,GLvoid, GLenum,GLuint,GLfloat,GLfloat,GLfloat,GLfloat, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :52:1: note: expanded from here gl_ProgramEnvParameter4fARB ^ gl-ext-arb.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramLocalParameter4dARB,GLvoid, GLenum,GLuint,GLdouble,GLdouble,GLdouble,GLdouble, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :72:1: note: expanded from here gl_ProgramLocalParameter4dARB ^ gl-ext-arb.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramLocalParameter4fARB,GLvoid, GLenum,GLuint,GLfloat,GLfloat,GLfloat,GLfloat, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :92:1: note: expanded from here gl_ProgramLocalParameter4fARB ^ gl-ext-arb.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramEnvParameter4dvARB,GLdouble,ary2cdbl,"GL_ARB_vertex_program") ^ gl-ext-arb.c:214:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :111:1: note: expanded from here gl_ProgramEnvParameter4dvARB ^ gl-ext-arb.c:226:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameter4dvARB,GLdouble,ary2cdbl,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:226:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameter4dvARB,GLdouble,ary2cdbl,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramEnvParameter4fvARB,GLfloat,ary2cflt,"GL_ARB_vertex_program") ^ gl-ext-arb.c:214:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :118:1: note: expanded from here gl_ProgramEnvParameter4fvARB ^ gl-ext-arb.c:227:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameter4fvARB,GLfloat,ary2cflt,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:227:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameter4fvARB,GLfloat,ary2cflt,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramLocalParameter4dvARB,GLdouble,ary2cdbl,"GL_ARB_vertex_program") ^ gl-ext-arb.c:214:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :125:1: note: expanded from here gl_ProgramLocalParameter4dvARB ^ gl-ext-arb.c:228:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameter4dvARB,GLdouble,ary2cdbl,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:228:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameter4dvARB,GLdouble,ary2cdbl,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramLocalParameter4fvARB,GLfloat,ary2cflt,"GL_ARB_vertex_program") ^ gl-ext-arb.c:214:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :132:1: note: expanded from here gl_ProgramLocalParameter4fvARB ^ gl-ext-arb.c:229:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameter4fvARB,GLfloat,ary2cflt,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:229:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameter4fvARB,GLfloat,ary2cflt,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:221:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC(GetProgramEnvParameterdvARB,GLdouble,"GL_ARB_vertex_program") ^ gl-ext-arb.c:234:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC' static VALUE \ ^ :139:1: note: expanded from here gl_GetProgramEnvParameterdvARB ^ gl-ext-arb.c:244:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramEnvParameterdvARB,GLdouble,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:244:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramEnvParameterdvARB,GLdouble,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC(GetProgramEnvParameterfvARB,GLfloat,"GL_ARB_vertex_program") ^ gl-ext-arb.c:234:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC' static VALUE \ ^ :147:1: note: expanded from here gl_GetProgramEnvParameterfvARB ^ gl-ext-arb.c:245:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramEnvParameterfvARB,GLfloat,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:245:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramEnvParameterfvARB,GLfloat,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC(GetProgramLocalParameterdvARB,GLdouble,"GL_ARB_vertex_program") ^ gl-ext-arb.c:234:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC' static VALUE \ ^ :155:1: note: expanded from here gl_GetProgramLocalParameterdvARB ^ gl-ext-arb.c:246:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramLocalParameterdvARB,GLdouble,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:246:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramLocalParameterdvARB,GLdouble,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC(GetProgramLocalParameterfvARB,GLfloat,"GL_ARB_vertex_program") ^ gl-ext-arb.c:234:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC' static VALUE \ ^ :3:1: note: expanded from here gl_GetProgramLocalParameterfvARB ^ gl-ext-arb.c:247:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramLocalParameterfvARB,GLfloat,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:247:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramLocalParameterfvARB,GLfloat,"GL_ARB_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:240:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-arb.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1dARB,GLvoid, GLuint,GLdouble, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :12:1: note: expanded from here gl_VertexAttrib1dARB ^ gl-ext-arb.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1fARB,GLvoid, GLuint,GLfloat, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :28:1: note: expanded from here gl_VertexAttrib1fARB ^ gl-ext-arb.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1sARB,GLvoid, GLuint,GLshort, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :44:1: note: expanded from here gl_VertexAttrib1sARB ^ gl-ext-arb.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2dARB,GLvoid, GLuint,GLdouble,GLdouble, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :60:1: note: expanded from here gl_VertexAttrib2dARB ^ gl-ext-arb.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2fARB,GLvoid, GLuint,GLfloat,GLfloat, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :77:1: note: expanded from here gl_VertexAttrib2fARB ^ gl-ext-arb.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2sARB,GLvoid, GLuint,GLshort,GLshort, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :94:1: note: expanded from here gl_VertexAttrib2sARB ^ gl-ext-arb.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3dARB,GLvoid, GLuint,GLdouble,GLdouble,GLdouble, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :111:1: note: expanded from here gl_VertexAttrib3dARB ^ gl-ext-arb.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3fARB,GLvoid, GLuint,GLfloat,GLfloat,GLfloat, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :129:1: note: expanded from here gl_VertexAttrib3fARB ^ gl-ext-arb.c:259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3sARB,GLvoid, GLuint,GLshort,GLshort,GLshort, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :147:1: note: expanded from here gl_VertexAttrib3sARB ^ gl-ext-arb.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4dARB,GLvoid, GLuint,GLdouble,GLdouble,GLdouble,GLdouble, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :165:1: note: expanded from here gl_VertexAttrib4dARB ^ gl-ext-arb.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4fARB,GLvoid, GLuint,GLfloat,GLfloat,GLfloat,GLfloat, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :184:1: note: expanded from here gl_VertexAttrib4fARB ^ gl-ext-arb.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4sARB,GLvoid, GLuint,GLshort,GLshort,GLshort,GLshort, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :203:1: note: expanded from here gl_VertexAttrib4sARB ^ gl-ext-arb.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4NubARB,GLvoid, GLuint,GLubyte,GLubyte,GLubyte,GLubyte, "GL_ARB_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :2:1: note: expanded from here gl_VertexAttrib4NubARB ^ gl-ext-arb.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4NbvARB,GLbyte,ary2cbyte,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :20:1: note: expanded from here gl_VertexAttrib4NbvARB ^ gl-ext-arb.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4NivARB,GLint,ary2cint,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :27:1: note: expanded from here gl_VertexAttrib4NivARB ^ gl-ext-arb.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4NsvARB,GLshort,ary2cshort,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :34:1: note: expanded from here gl_VertexAttrib4NsvARB ^ gl-ext-arb.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4NubvARB,GLubyte,ary2cubyte,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :41:1: note: expanded from here gl_VertexAttrib4NubvARB ^ gl-ext-arb.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4NuivARB,GLuint,ary2cuint,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :48:1: note: expanded from here gl_VertexAttrib4NuivARB ^ gl-ext-arb.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4NusvARB,GLushort,ary2cushort,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :55:1: note: expanded from here gl_VertexAttrib4NusvARB ^ gl-ext-arb.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4uivARB,GLuint,ary2cuint,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :62:1: note: expanded from here gl_VertexAttrib4uivARB ^ gl-ext-arb.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4ubvARB,GLubyte,ary2cubyte,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :69:1: note: expanded from here gl_VertexAttrib4ubvARB ^ gl-ext-arb.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4usvARB,GLushort,ary2cushort,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :76:1: note: expanded from here gl_VertexAttrib4usvARB ^ gl-ext-arb.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4bvARB,GLbyte,ary2cbyte,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :83:1: note: expanded from here gl_VertexAttrib4bvARB ^ gl-ext-arb.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4ivARB,GLint,ary2cint,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :90:1: note: expanded from here gl_VertexAttrib4ivARB ^ gl-ext-arb.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4dvARB,GLdouble,ary2cdbl,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :97:1: note: expanded from here gl_VertexAttrib4dvARB ^ gl-ext-arb.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4fvARB,GLfloat,ary2cflt,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :104:1: note: expanded from here gl_VertexAttrib4fvARB ^ gl-ext-arb.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4svARB,GLshort,ary2cshort,4,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :111:1: note: expanded from here gl_VertexAttrib4svARB ^ gl-ext-arb.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3dvARB,GLdouble,ary2cdbl,3,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :118:1: note: expanded from here gl_VertexAttrib3dvARB ^ gl-ext-arb.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3fvARB,GLfloat,ary2cflt,3,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :125:1: note: expanded from here gl_VertexAttrib3fvARB ^ gl-ext-arb.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3svARB,GLshort,ary2cshort,3,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :132:1: note: expanded from here gl_VertexAttrib3svARB ^ gl-ext-arb.c:298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2dvARB,GLdouble,ary2cdbl,2,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :139:1: note: expanded from here gl_VertexAttrib2dvARB ^ gl-ext-arb.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2fvARB,GLfloat,ary2cflt,2,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :146:1: note: expanded from here gl_VertexAttrib2fvARB ^ gl-ext-arb.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2svARB,GLshort,ary2cshort,2,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :153:1: note: expanded from here gl_VertexAttrib2svARB ^ gl-ext-arb.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1dvARB,GLdouble,ary2cdbl,1,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :160:1: note: expanded from here gl_VertexAttrib1dvARB ^ gl-ext-arb.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1fvARB,GLfloat,ary2cflt,1,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :5:1: note: expanded from here gl_VertexAttrib1fvARB ^ gl-ext-arb.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1svARB,GLshort,ary2cshort,1,"GL_ARB_vertex_program") ^ gl-ext-arb.c:267:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :12:1: note: expanded from here gl_VertexAttrib1svARB ^ gl-ext-arb.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribdvARB,GLdouble,"GL_ARB_vertex_program") ^ gl-ext-arb.c:308:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :19:1: note: expanded from here gl_GetVertexAttribdvARB ^ gl-ext-arb.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribfvARB,GLfloat,"GL_ARB_vertex_program") ^ gl-ext-arb.c:308:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :27:1: note: expanded from here gl_GetVertexAttribfvARB ^ gl-ext-arb.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetVertexAttribivARB(obj,arg1,arg2) ^ gl-ext-arb.c:354:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenQueriesARB,"GL_ARB_occlusion_query") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-arb.c:355:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteQueriesARB,"GL_ARB_occlusion_query") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsQueryARB,GLboolean, GLuint, "GL_ARB_occlusion_query") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :54:1: note: expanded from here gl_IsQueryARB ^ gl-ext-arb.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BeginQueryARB,GLvoid, GLuint,GLuint, "GL_ARB_occlusion_query") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :69:1: note: expanded from here gl_BeginQueryARB ^ gl-ext-arb.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(EndQueryARB,GLvoid, GLenum, "GL_ARB_occlusion_query") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :85:1: note: expanded from here gl_EndQueryARB ^ gl-ext-arb.c:371:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryivARB,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:366:32: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:371:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryivARB,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:366:18: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:371:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryivARB,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:368:16: note: expanded from macro 'GETQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:372:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectivARB,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:366:32: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:372:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectivARB,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:366:18: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:372:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectivARB,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:368:16: note: expanded from macro 'GETQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:373:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectuivARB,GLuint,cond_GLBOOL2RUBY_U) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:366:32: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:373:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectuivARB,GLuint,cond_GLBOOL2RUBY_U) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:366:18: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:373:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectuivARB,GLuint,cond_GLBOOL2RUBY_U) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:368:16: note: expanded from macro 'GETQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-arb.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(DeleteObjectARB,GLvoid, GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :121:1: note: expanded from here gl_DeleteObjectARB ^ gl-ext-arb.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(DetachObjectARB,GLvoid, GLuint,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :136:1: note: expanded from here gl_DetachObjectARB ^ gl-ext-arb.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(CompileShaderARB,GLvoid, GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :152:1: note: expanded from here gl_CompileShaderARB ^ gl-ext-arb.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(AttachObjectARB,GLvoid, GLuint,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :167:1: note: expanded from here gl_AttachObjectARB ^ gl-ext-arb.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(LinkProgramARB,GLvoid, GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :183:1: note: expanded from here gl_LinkProgramARB ^ gl-ext-arb.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(UseProgramObjectARB,GLvoid, GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :198:1: note: expanded from here gl_UseProgramObjectARB ^ gl-ext-arb.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ValidateProgramARB,GLvoid, GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :8:1: note: expanded from here gl_ValidateProgramARB ^ gl-ext-arb.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(GetHandleARB,GLuint, GLenum, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :23:1: note: expanded from here gl_GetHandleARB ^ gl-ext-arb.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(CreateShaderObjectARB,GLuint, GLenum, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :38:1: note: expanded from here gl_CreateShaderObjectARB ^ gl-ext-arb.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_0(CreateProgramObjectARB,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:176:51: note: expanded from macro 'GL_FUNC_LOAD_0' #define GL_FUNC_LOAD_0(_name_,_returntype_,_ver_) GL_FUNC_LOAD(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :53:1: note: expanded from here gl_CreateProgramObjectARB ^ gl-ext-arb.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_ShaderSourceARB(obj,arg1,arg2) ^ gl-ext-arb.c:400:11: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] length = RSTRING_LEN(arg2); ~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-arb.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(Uniform1fARB,GLvoid, GLint,GLfloat, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :70:1: note: expanded from here gl_Uniform1fARB ^ gl-ext-arb.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(Uniform2fARB,GLvoid, GLint,GLfloat,GLfloat, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :86:1: note: expanded from here gl_Uniform2fARB ^ gl-ext-arb.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(Uniform3fARB,GLvoid, GLint,GLfloat,GLfloat,GLfloat, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :103:1: note: expanded from here gl_Uniform3fARB ^ gl-ext-arb.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(Uniform4fARB,GLvoid, GLint,GLfloat,GLfloat,GLfloat,GLfloat, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :121:1: note: expanded from here gl_Uniform4fARB ^ gl-ext-arb.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(Uniform1iARB,GLvoid, GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :140:1: note: expanded from here gl_Uniform1iARB ^ gl-ext-arb.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(Uniform2iARB,GLvoid, GLint,GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :156:1: note: expanded from here gl_Uniform2iARB ^ gl-ext-arb.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(Uniform3iARB,GLvoid, GLint,GLint,GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :173:1: note: expanded from here gl_Uniform3iARB ^ gl-ext-arb.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(Uniform4iARB,GLvoid, GLint,GLint,GLint,GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :191:1: note: expanded from here gl_Uniform4iARB ^ gl-ext-arb.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform1fvARB,GLfloat,ary2cflt,1) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :209:1: note: expanded from here gl_Uniform1fvARB ^ gl-ext-arb.c:438:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform1fvARB,GLfloat,ary2cflt,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform2fvARB,GLfloat,ary2cflt,2) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :216:1: note: expanded from here gl_Uniform2fvARB ^ gl-ext-arb.c:439:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform2fvARB,GLfloat,ary2cflt,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform3fvARB,GLfloat,ary2cflt,3) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :223:1: note: expanded from here gl_Uniform3fvARB ^ gl-ext-arb.c:440:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform3fvARB,GLfloat,ary2cflt,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform4fvARB,GLfloat,ary2cflt,4) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :230:1: note: expanded from here gl_Uniform4fvARB ^ gl-ext-arb.c:441:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform4fvARB,GLfloat,ary2cflt,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform1ivARB,GLint,ary2cint,1) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :237:1: note: expanded from here gl_Uniform1ivARB ^ gl-ext-arb.c:442:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform1ivARB,GLint,ary2cint,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform2ivARB,GLint,ary2cint,2) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :7:1: note: expanded from here gl_Uniform2ivARB ^ gl-ext-arb.c:443:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform2ivARB,GLint,ary2cint,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform3ivARB,GLint,ary2cint,3) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :14:1: note: expanded from here gl_Uniform3ivARB ^ gl-ext-arb.c:444:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform3ivARB,GLint,ary2cint,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform4ivARB,GLint,ary2cint,4) ^ gl-ext-arb.c:417:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :21:1: note: expanded from here gl_Uniform4ivARB ^ gl-ext-arb.c:445:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform4ivARB,GLint,ary2cint,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:426:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(UniformMatrix2fvARB,2) ^ gl-ext-arb.c:450:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :28:1: note: expanded from here gl_UniformMatrix2fvARB ^ gl-ext-arb.c:470:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(UniformMatrix2fvARB,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:460:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(UniformMatrix3fvARB,3) ^ gl-ext-arb.c:450:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :35:1: note: expanded from here gl_UniformMatrix3fvARB ^ gl-ext-arb.c:471:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(UniformMatrix3fvARB,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:460:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] UNIFORMMATRIX_FUNC(UniformMatrix4fvARB,4) ^ gl-ext-arb.c:450:14: note: expanded from macro 'UNIFORMMATRIX_FUNC' static VALUE \ ^ :42:1: note: expanded from here gl_UniformMatrix4fvARB ^ gl-ext-arb.c:472:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] UNIFORMMATRIX_FUNC(UniformMatrix4fvARB,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-arb.c:460:10: note: expanded from macro 'UNIFORMMATRIX_FUNC' count = RARRAY_LEN(rb_funcall(rb_Array(arg3),rb_intern("flatten"),0)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-arb.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETOBJECTPARAMETER_FUNC(GetObjectParameterivARB,GLint,cond_GLBOOL2RUBY) ^ gl-ext-arb.c:477:14: note: expanded from macro 'GETOBJECTPARAMETER_FUNC' static VALUE \ ^ :49:1: note: expanded from here gl_GetObjectParameterivARB ^ gl-ext-arb.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETOBJECTPARAMETER_FUNC(GetObjectParameterfvARB,GLfloat,cond_GLBOOL2RUBY_F) ^ gl-ext-arb.c:477:14: note: expanded from macro 'GETOBJECTPARAMETER_FUNC' static VALUE \ ^ :56:1: note: expanded from here gl_GetObjectParameterfvARB ^ gl-ext-arb.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetInfoLogARB(obj,arg1) ^ gl-ext-arb.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetShaderSourceARB(obj,arg1) ^ gl-ext-arb.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetActiveUniformARB(obj,arg1,arg2) ^ gl-ext-arb.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETUNIFORM_FUNC(GetUniformfvARB,GLfloat) ^ gl-ext-arb.c:574:14: note: expanded from macro 'GETUNIFORM_FUNC' static VALUE \ ^ :81:1: note: expanded from here gl_GetUniformfvARB ^ gl-ext-arb.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETUNIFORM_FUNC(GetUniformivARB,GLint) ^ gl-ext-arb.c:574:14: note: expanded from macro 'GETUNIFORM_FUNC' static VALUE \ ^ :92:1: note: expanded from here gl_GetUniformivARB ^ gl-ext-arb.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetUniformLocationARB(obj,arg1,arg2) ^ gl-ext-arb.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetAttachedObjectsARB(obj,arg1) ^ gl-ext-arb.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_BindAttribLocationARB(obj,arg1,arg2,arg3) ^ gl-ext-arb.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetActiveAttribARB(obj,arg1,arg2) ^ gl-ext-arb.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetAttribLocationARB(obj,arg1,arg2) ^ gl-ext-arb.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(ClampColorARB,GLvoid, GLenum,GLenum, "GL_ARB_color_buffer_float") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :125:1: note: expanded from here gl_ClampColorARB ^ 247 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-ext-ati.c In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-ext-ati.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-ext-ati.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-ext-ati.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-ati.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-ati.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-ext-ati.c:28:9: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(arg1); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ 77 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-ext-ext.c In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-ext-ext.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-ext-ext.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-ext-ext.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-ext.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-ext.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-ext-ext.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(BlendColorEXT,GLvoid, GLclampf,GLclampf,GLclampf,GLclampf, "GL_EXT_blend_color") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_BlendColorEXT ^ gl-ext-ext.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(PolygonOffsetEXT,GLvoid, GLfloat,GLfloat, "GL_EXT_polygon_offset") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :96:1: note: expanded from here gl_PolygonOffsetEXT ^ gl-ext-ext.c:29:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenTexturesEXT,"GL_EXT_texture_object") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-ext.c:30:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteTexturesEXT,"GL_EXT_texture_object") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BindTextureEXT,GLvoid, GLenum,GLint, "GL_EXT_texture_object") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :127:1: note: expanded from here gl_BindTextureEXT ^ gl-ext-ext.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_PrioritizeTexturesEXT(obj,arg1,arg2) ^ gl-ext-ext.c:44:14: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] if ((size = RARRAY_LEN(arg1)) != RARRAY_LEN(arg2)) ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_AreTexturesResidentEXT(obj,arg1) ^ gl-ext-ext.c:71:9: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(ary); ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsTextureEXT,GLboolean, GLuint, "GL_EXT_texture_object") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :149:1: note: expanded from here gl_IsTextureEXT ^ gl-ext-ext.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(BlendEquationEXT,GLvoid, GLenum, "GL_EXT_blend_minmax") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :164:1: note: expanded from here gl_BlendEquationEXT ^ gl-ext-ext.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(PointParameterfEXT,GLvoid, GLenum,GLfloat, "GL_EXT_point_parameters") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :179:1: note: expanded from here gl_PointParameterfEXT ^ gl-ext-ext.c:105:10: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] pname = NUM2UINT(arg1); ~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3bEXT,GLvoid, GLbyte,GLbyte,GLbyte, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :4:1: note: expanded from here gl_SecondaryColor3bEXT ^ gl-ext-ext.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3sEXT,GLvoid, GLshort,GLshort,GLshort, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :21:1: note: expanded from here gl_SecondaryColor3sEXT ^ gl-ext-ext.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3iEXT,GLvoid, GLint,GLint,GLint, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :38:1: note: expanded from here gl_SecondaryColor3iEXT ^ gl-ext-ext.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3fEXT,GLvoid, GLfloat,GLfloat,GLfloat, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :55:1: note: expanded from here gl_SecondaryColor3fEXT ^ gl-ext-ext.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3dEXT,GLvoid, GLdouble,GLdouble,GLdouble, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :72:1: note: expanded from here gl_SecondaryColor3dEXT ^ gl-ext-ext.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3ubEXT,GLvoid, GLubyte,GLubyte,GLubyte, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :89:1: note: expanded from here gl_SecondaryColor3ubEXT ^ gl-ext-ext.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3usEXT,GLvoid, GLushort,GLushort,GLushort, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :106:1: note: expanded from here gl_SecondaryColor3usEXT ^ gl-ext-ext.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(SecondaryColor3uiEXT,GLvoid, GLuint,GLuint,GLuint, "GL_EXT_secondary_color") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :123:1: note: expanded from here gl_SecondaryColor3uiEXT ^ gl-ext-ext.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_SecondaryColorPointerEXT(obj,arg1,arg2,arg3,arg4) ^ gl-ext-ext.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(LockArraysEXT,GLvoid, GLint,GLint, "GL_EXT_compiled_vertex_array") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :9:1: note: expanded from here gl_LockArraysEXT ^ gl-ext-ext.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_0(UnlockArraysEXT,GLvoid, "GL_EXT_compiled_vertex_array") ^ ./../common/funcdef.h:176:51: note: expanded from macro 'GL_FUNC_LOAD_0' #define GL_FUNC_LOAD_0(_name_,_returntype_,_ver_) GL_FUNC_LOAD(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :25:1: note: expanded from here gl_UnlockArraysEXT ^ gl-ext-ext.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_DrawRangeElementsEXT(obj,arg1,arg2,arg3,arg4,arg5,arg6) ^ gl-ext-ext.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MultiDrawArraysEXT(obj,arg1,arg2,arg3) ^ gl-ext-ext.c:220:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] len1 = RARRAY_LEN(arg2); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:221:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] len2 = RARRAY_LEN(arg3); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:261:22: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] size = RARRAY_LEN(ary); ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ gl-ext-ext.c:266:54: warning: incompatible pointer to integer conversion passing 'RArray *' (aka 'struct RArray *') to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] data = pack_array_or_pass_string(type,RARRAY_PTR(ary)[i]); ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:366:18: note: passing argument to parameter 'ary' here RARRAY_PTR(VALUE ary) ^ gl-ext-ext.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_MultiDrawElementsEXT(argc,argv,obj) ^ gl-ext-ext.c:261:11: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(ary); ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:269:17: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] counts[i] = RSTRING_LEN(data); ~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-ext.c:285:11: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(args[2]); ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:290:17: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] counts[i] = NUM2INT(rb_ary_entry(args[2],i)); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(FogCoordfEXT,GLvoid, GLfloat, "GL_EXT_fog_coord") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :48:1: note: expanded from here gl_FogCoordfEXT ^ gl-ext-ext.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(FogCoorddEXT,GLvoid, GLdouble, "GL_EXT_fog_coord") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :63:1: note: expanded from here gl_FogCoorddEXT ^ gl-ext-ext.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_FogCoordPointerEXT(obj,arg1,arg2,arg3) ^ gl-ext-ext.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(BlendFuncSeparateEXT,GLvoid, GLenum,GLenum,GLenum,GLenum, "GL_EXT_blend_func_separate") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :95:1: note: expanded from here gl_BlendFuncSeparateEXT ^ gl-ext-ext.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ActiveStencilFaceEXT,GLvoid, GLenum, "GL_EXT_stencil_two_side") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :113:1: note: expanded from here gl_ActiveStencilFaceEXT ^ gl-ext-ext.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(DepthBoundsEXT,GLvoid, GLclampd,GLclampd, "GL_EXT_depth_bounds_test") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :128:1: note: expanded from here gl_DepthBoundsEXT ^ gl-ext-ext.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BlendEquationSeparateEXT,GLvoid, GLenum,GLenum, "GL_EXT_blend_equation_separate") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :144:1: note: expanded from here gl_BlendEquationSeparateEXT ^ gl-ext-ext.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsRenderbufferEXT,GLboolean, GLuint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :160:1: note: expanded from here gl_IsRenderbufferEXT ^ gl-ext-ext.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BindRenderbufferEXT,GLvoid, GLenum,GLuint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :175:1: note: expanded from here gl_BindRenderbufferEXT ^ gl-ext-ext.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(RenderbufferStorageEXT,GLvoid, GLenum,GLenum,GLsizei,GLsizei, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :191:1: note: expanded from here gl_RenderbufferStorageEXT ^ gl-ext-ext.c:363:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenRenderbuffersEXT,"GL_EXT_framebuffer_object") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-ext.c:364:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteRenderbuffersEXT,"GL_EXT_framebuffer_object") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:371:54: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetRenderbufferParameterivEXT(NUM2UINT(arg1),NUM2UINT(arg2),¶m); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:371:39: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetRenderbufferParameterivEXT(NUM2UINT(arg1),NUM2UINT(arg2),¶m); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:376:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenFramebuffersEXT,"GL_EXT_framebuffer_object") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-ext.c:377:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteFramebuffersEXT,"GL_EXT_framebuffer_object") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsFramebufferEXT,GLboolean, GLuint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :32:1: note: expanded from here gl_IsFramebufferEXT ^ gl-ext-ext.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BindFramebufferEXT,GLvoid, GLenum,GLuint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :47:1: note: expanded from here gl_BindFramebufferEXT ^ gl-ext-ext.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(CheckFramebufferStatusEXT,GLenum, GLenum, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :63:1: note: expanded from here gl_CheckFramebufferStatusEXT ^ gl-ext-ext.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(FramebufferTexture1DEXT,GLvoid, GLenum,GLenum,GLenum,GLuint,GLint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :78:1: note: expanded from here gl_FramebufferTexture1DEXT ^ gl-ext-ext.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(FramebufferTexture2DEXT,GLvoid, GLenum,GLenum,GLenum,GLuint,GLint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :97:1: note: expanded from here gl_FramebufferTexture2DEXT ^ gl-ext-ext.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(FramebufferTexture3DEXT,GLvoid, GLenum,GLenum,GLenum,GLuint,GLint,GLint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :116:1: note: expanded from here gl_FramebufferTexture3DEXT ^ gl-ext-ext.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(FramebufferRenderbufferEXT,GLvoid, GLuint,GLuint,GLuint,GLuint, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :136:1: note: expanded from here gl_FramebufferRenderbufferEXT ^ gl-ext-ext.c:392:78: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetFramebufferAttachmentParameterivEXT(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),&ret); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:392:63: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetFramebufferAttachmentParameterivEXT(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),&ret); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:392:48: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetFramebufferAttachmentParameterivEXT(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),&ret); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:394:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] return cond_GLBOOL2RUBY(NUM2UINT(arg3),ret); ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(GenerateMipmapEXT,GLvoid, GLenum, "GL_EXT_framebuffer_object") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :157:1: note: expanded from here gl_GenerateMipmapEXT ^ gl-ext-ext.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(StencilClearTagEXT,GLvoid, GLsizei,GLuint, "GL_EXT_stencil_clear_tag") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :172:1: note: expanded from here gl_StencilClearTagEXT ^ gl-ext-ext.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_10(BlitFramebufferEXT,GLvoid, GLint,GLint,GLint,GLint,GLint,GLint,GLint,GLint,GLbitfield,GLenum, "GL_EXT_framebuffer_blit") ^ ./../common/funcdef.h:186:113: note: expanded from macro 'GL_FUNC_LOAD_10' #define GL_FUNC_LOAD_10(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10,_ver_) GL_FUNC_LOAD(10, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,targ7,targ8,targ9,targ10,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :188:1: note: expanded from here gl_BlitFramebufferEXT ^ gl-ext-ext.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(RenderbufferStorageMultisampleEXT,GLvoid, GLenum,GLsizei,GLenum,GLsizei,GLsizei, "GL_EXT_framebuffer_multisample") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :21:1: note: expanded from here gl_RenderbufferStorageMultisampleEXT ^ gl-ext-ext.c:421:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjecti64vEXT,GLint64EXT,cond_GLBOOL2RUBY_LL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:416:32: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:421:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjecti64vEXT,GLint64EXT,cond_GLBOOL2RUBY_LL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:416:18: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:421:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjecti64vEXT,GLint64EXT,cond_GLBOOL2RUBY_LL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:418:16: note: expanded from macro 'GETQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:422:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectui64vEXT,GLuint64EXT,cond_GLBOOL2RUBY_ULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:416:32: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:422:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectui64vEXT,GLuint64EXT,cond_GLBOOL2RUBY_ULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:416:18: note: expanded from macro 'GETQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:422:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETQUERY_FUNC(GetQueryObjectui64vEXT,GLuint64EXT,cond_GLBOOL2RUBY_ULL) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:418:16: note: expanded from macro 'GETQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-ext.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^ gl-ext-ext.c:429:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :53:1: note: expanded from here gl_ProgramEnvParameters4fvEXT ^ gl-ext-ext.c:447:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:436:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:447:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:441:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:447:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:441:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^ gl-ext-ext.c:429:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :60:1: note: expanded from here gl_ProgramLocalParameters4fvEXT ^ gl-ext-ext.c:448:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:436:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:448:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:441:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:448:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParameters4fvEXT,GLfloat,ary2cflt,"GL_EXT_gpu_program_parameters") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:441:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(ProgramParameteriEXT,GLvoid, GLuint,GLenum,GLint, "GL_EXT_geometry_shader4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :68:1: note: expanded from here gl_ProgramParameteriEXT ^ gl-ext-ext.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttribI1iEXT,GLvoid, GLuint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :85:1: note: expanded from here gl_VertexAttribI1iEXT ^ gl-ext-ext.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttribI2iEXT,GLvoid, GLuint,GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :101:1: note: expanded from here gl_VertexAttribI2iEXT ^ gl-ext-ext.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttribI3iEXT,GLvoid, GLuint,GLint,GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :118:1: note: expanded from here gl_VertexAttribI3iEXT ^ gl-ext-ext.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttribI4iEXT,GLvoid, GLuint,GLint,GLint,GLint,GLint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :136:1: note: expanded from here gl_VertexAttribI4iEXT ^ gl-ext-ext.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttribI1uiEXT,GLvoid, GLuint,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :155:1: note: expanded from here gl_VertexAttribI1uiEXT ^ gl-ext-ext.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttribI2uiEXT,GLvoid, GLuint,GLuint,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :171:1: note: expanded from here gl_VertexAttribI2uiEXT ^ gl-ext-ext.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttribI3uiEXT,GLvoid, GLuint,GLuint,GLuint,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :188:1: note: expanded from here gl_VertexAttribI3uiEXT ^ gl-ext-ext.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttribI4uiEXT,GLvoid, GLuint,GLuint,GLuint,GLuint,GLuint, "GL_ARB_shader_objects") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :8:1: note: expanded from here gl_VertexAttribI4uiEXT ^ gl-ext-ext.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI1ivEXT,GLint,ary2cint,1) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :26:1: note: expanded from here gl_VertexAttribI1ivEXT ^ gl-ext-ext.c:478:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI1ivEXT,GLint,ary2cint,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI2ivEXT,GLint,ary2cint,2) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :33:1: note: expanded from here gl_VertexAttribI2ivEXT ^ gl-ext-ext.c:479:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI2ivEXT,GLint,ary2cint,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI3ivEXT,GLint,ary2cint,3) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :40:1: note: expanded from here gl_VertexAttribI3ivEXT ^ gl-ext-ext.c:480:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI3ivEXT,GLint,ary2cint,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI4ivEXT,GLint,ary2cint,4) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :47:1: note: expanded from here gl_VertexAttribI4ivEXT ^ gl-ext-ext.c:481:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI4ivEXT,GLint,ary2cint,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI1uivEXT,GLuint,ary2cuint,1) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :54:1: note: expanded from here gl_VertexAttribI1uivEXT ^ gl-ext-ext.c:482:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI1uivEXT,GLuint,ary2cuint,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI2uivEXT,GLuint,ary2cuint,2) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :61:1: note: expanded from here gl_VertexAttribI2uivEXT ^ gl-ext-ext.c:483:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI2uivEXT,GLuint,ary2cuint,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI3uivEXT,GLuint,ary2cuint,3) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :68:1: note: expanded from here gl_VertexAttribI3uivEXT ^ gl-ext-ext.c:484:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI3uivEXT,GLuint,ary2cuint,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI4uivEXT,GLuint,ary2cuint,4) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :75:1: note: expanded from here gl_VertexAttribI4uivEXT ^ gl-ext-ext.c:485:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI4uivEXT,GLuint,ary2cuint,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI4bvEXT,GLbyte,ary2cbyte,4) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :82:1: note: expanded from here gl_VertexAttribI4bvEXT ^ gl-ext-ext.c:486:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI4bvEXT,GLbyte,ary2cbyte,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI4svEXT,GLshort,ary2cshort,4) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :89:1: note: expanded from here gl_VertexAttribI4svEXT ^ gl-ext-ext.c:487:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI4svEXT,GLshort,ary2cshort,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI4ubvEXT,GLubyte,ary2cubyte,4) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :96:1: note: expanded from here gl_VertexAttribI4ubvEXT ^ gl-ext-ext.c:488:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI4ubvEXT,GLubyte,ary2cubyte,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLVERTEXATTRIB_VFUNC(VertexAttribI4usvEXT,GLushort,ary2cushort,4) ^ gl-ext-ext.c:466:14: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' static VALUE \ ^ :103:1: note: expanded from here gl_VertexAttribI4usvEXT ^ gl-ext-ext.c:489:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GLVERTEXATTRIB_VFUNC(VertexAttribI4usvEXT,GLushort,ary2cushort,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:473:18: note: expanded from macro 'GLVERTEXATTRIB_VFUNC' fptr_gl##_name_(NUM2UINT(arg1),value); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribIivEXT,GLint,cond_GLBOOL2RUBY,"GL_EXT_gpu_shader4") ^ gl-ext-ext.c:494:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :110:1: note: expanded from here gl_GetVertexAttribIivEXT ^ gl-ext-ext.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribIuivEXT,GLuint,cond_GLBOOL2RUBY_U,"GL_EXT_gpu_shader4") ^ gl-ext-ext.c:494:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :117:1: note: expanded from here gl_GetVertexAttribIuivEXT ^ gl-ext-ext.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(Uniform1uiEXT,GLvoid, GLint,GLuint, "GL_EXT_gpu_shader4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :128:1: note: expanded from here gl_Uniform1uiEXT ^ gl-ext-ext.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(Uniform2uiEXT,GLvoid, GLint,GLuint,GLuint, "GL_EXT_gpu_shader4") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :144:1: note: expanded from here gl_Uniform2uiEXT ^ gl-ext-ext.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(Uniform3uiEXT,GLvoid, GLint,GLuint,GLuint,GLuint, "GL_EXT_gpu_shader4") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :161:1: note: expanded from here gl_Uniform3uiEXT ^ gl-ext-ext.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(Uniform4uiEXT,GLvoid, GLint,GLuint,GLuint,GLuint,GLuint, "GL_EXT_gpu_shader4") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :179:1: note: expanded from here gl_Uniform4uiEXT ^ gl-ext-ext.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform1uivEXT,GLuint,ary2cuint,1) ^ gl-ext-ext.c:558:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :16:1: note: expanded from here gl_Uniform1uivEXT ^ gl-ext-ext.c:579:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform1uivEXT,GLuint,ary2cuint,1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:567:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform2uivEXT,GLuint,ary2cuint,2) ^ gl-ext-ext.c:558:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :23:1: note: expanded from here gl_Uniform2uivEXT ^ gl-ext-ext.c:580:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform2uivEXT,GLuint,ary2cuint,2) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:567:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform3uivEXT,GLuint,ary2cuint,3) ^ gl-ext-ext.c:558:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :30:1: note: expanded from here gl_Uniform3uivEXT ^ gl-ext-ext.c:581:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform3uivEXT,GLuint,ary2cuint,3) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:567:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUNIFORM_VFUNC(Uniform4uivEXT,GLuint,ary2cuint,4) ^ gl-ext-ext.c:558:14: note: expanded from macro 'GLUNIFORM_VFUNC' static VALUE \ ^ :37:1: note: expanded from here gl_Uniform4uivEXT ^ gl-ext-ext.c:582:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GLUNIFORM_VFUNC(Uniform4uivEXT,GLuint,ary2cuint,4) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-ext.c:567:10: note: expanded from macro 'GLUNIFORM_VFUNC' count = RARRAY_LEN(arg2); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-ext.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETUNIFORM_FUNC(GetUniformuivEXT,GLuint) ^ gl-ext-ext.c:588:14: note: expanded from macro 'GETUNIFORM_FUNC' static VALUE \ ^ :44:1: note: expanded from here gl_GetUniformuivEXT ^ gl-ext-ext.c:624:48: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glBindFragDataLocationEXT(NUM2UINT(arg1),NUM2UINT(arg2),RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:624:33: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glBindFragDataLocationEXT(NUM2UINT(arg1),NUM2UINT(arg2),RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:635:38: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] ret = fptr_glGetFragDataLocationEXT(NUM2UINT(arg1),RSTRING_PTR(arg2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-ext.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(DrawArraysInstancedEXT,GLvoid, GLenum,GLint,GLsizei,GLsizei, "GL_EXT_draw_instanced") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :62:1: note: expanded from here gl_DrawArraysInstancedEXT ^ gl-ext-ext.c:644:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VALUE gl_DrawElementsInstancedEXT(obj,arg1,arg2,arg3,arg4,arg5) ^ gl-ext-ext.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(TexBufferEXT,GLvoid, GLenum,GLenum,GLenum, "GL_EXT_texture_buffer_object") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :83:1: note: expanded from here gl_TexBufferEXT ^ gl-ext-ext.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(ClearColorIiEXT,GLvoid, GLint,GLint,GLint,GLint, "GL_EXT_texture_integer") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :100:1: note: expanded from here gl_ClearColorIiEXT ^ gl-ext-ext.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(ClearColorIuiEXT,GLvoid, GLuint,GLuint,GLuint,GLuint, "GL_EXT_texture_integer") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :118:1: note: expanded from here gl_ClearColorIuiEXT ^ gl-ext-ext.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TEXPARAMETER_VFUNC(TexParameterIivEXT,GLint,ary2cint) ^ gl-ext-ext.c:676:14: note: expanded from macro 'TEXPARAMETER_VFUNC' static VALUE \ ^ :135:1: note: expanded from here gl_TexParameterIivEXT ^ gl-ext-ext.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TEXPARAMETER_VFUNC(TexParameterIuivEXT,GLuint,ary2cuint) ^ gl-ext-ext.c:676:14: note: expanded from macro 'TEXPARAMETER_VFUNC' static VALUE \ ^ :142:1: note: expanded from here gl_TexParameterIuivEXT ^ gl-ext-ext.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXPARAMETER_VFUNC(GetTexParameterIivEXT,GLint,cond_GLBOOL2RUBY) ^ gl-ext-ext.c:699:14: note: expanded from macro 'GETTEXPARAMETER_VFUNC' static VALUE \ ^ :149:1: note: expanded from here gl_GetTexParameterIivEXT ^ gl-ext-ext.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETTEXPARAMETER_VFUNC(GetTexParameterIuivEXT,GLuint,cond_GLBOOL2RUBY_U) ^ gl-ext-ext.c:699:14: note: expanded from macro 'GETTEXPARAMETER_VFUNC' static VALUE \ ^ :156:1: note: expanded from here gl_GetTexParameterIuivEXT ^ 216 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-ext-gremedy.c In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-ext-gremedy.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-ext-gremedy.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-ext-gremedy.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-gremedy.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-gremedy.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-ext-gremedy.c:26:29: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] fptr_glStringMarkerGREMEDY(RSTRING_LEN(arg1),RSTRING_PTR(arg1)); ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-gremedy.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_0(FrameTerminatorGREMEDY,GLvoid, "GL_GREMEDY_frame_terminator") ^ ./../common/funcdef.h:176:51: note: expanded from macro 'GL_FUNC_LOAD_0' #define GL_FUNC_LOAD_0(_name_,_returntype_,_ver_) GL_FUNC_LOAD(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :81:1: note: expanded from here gl_FrameTerminatorGREMEDY ^ 78 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl-ext-nv.c In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl-ext-nv.c:16: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl-ext-nv.c:16: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl-ext-nv.c:16: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-nv.c:16: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl-ext-nv.c:16: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl-ext-nv.c:21:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenFencesNV,"GL_NV_fence") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-nv.c:22:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteFencesNV,"GL_NV_fence") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(SetFenceNV,GLvoid, GLuint,GLenum, "GL_NV_fence") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :93:1: note: expanded from here gl_SetFenceNV ^ gl-ext-nv.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(TestFenceNV,GLboolean, GLuint,"GL_NV_fence") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :109:1: note: expanded from here gl_TestFenceNV ^ gl-ext-nv.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsFenceNV,GLboolean, GLuint,"GL_NV_fence") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :124:1: note: expanded from here gl_IsFenceNV ^ gl-ext-nv.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(FinishFenceNV,GLvoid, GLuint,"GL_NV_fence") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :139:1: note: expanded from here gl_FinishFenceNV ^ gl-ext-nv.c:33:36: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetFenceivNV(NUM2INT(arg1),NUM2INT(arg2),&ret); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:33:22: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetFenceivNV(NUM2INT(arg1),NUM2INT(arg2),&ret); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:35:26: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] return cond_GLBOOL2RUBY(NUM2INT(arg2),ret); ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:44:52: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] fptr_glLoadProgramNV(NUM2INT(arg1),NUM2UINT(arg2),RSTRING_LEN(arg3),(GLubyte *)RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:44:37: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glLoadProgramNV(NUM2INT(arg1),NUM2UINT(arg2),RSTRING_LEN(arg3),(GLubyte *)RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:44:23: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glLoadProgramNV(NUM2INT(arg1),NUM2UINT(arg2),RSTRING_LEN(arg3),(GLubyte *)RSTRING_PTR(arg3)); ~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:54:38: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramivNV(NUM2INT(arg1),NUM2INT(arg2),&ret); ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:54:24: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramivNV(NUM2INT(arg1),NUM2INT(arg2),&ret); ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:56:26: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] return cond_GLBOOL2RUBY(NUM2INT(arg2),ret); ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:69:24: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramivNV(NUM2INT(arg1),GL_PROGRAM_LENGTH_NV,&len); ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:76:43: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramStringNV(NUM2INT(arg1),NUM2INT(arg2),buffer); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:76:29: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetProgramStringNV(NUM2INT(arg1),NUM2INT(arg2),buffer); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(BindProgramNV,GLvoid, GLenum,GLuint,"GL_NV_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :169:1: note: expanded from here gl_BindProgramNV ^ gl-ext-nv.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsProgramNV,GLboolean, GLuint,"GL_NV_vertex_program") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :185:1: note: expanded from here gl_IsProgramNV ^ gl-ext-nv.c:86:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenProgramsNV,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-nv.c:87:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteProgramsNV,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:95:41: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glExecuteProgramNV(NUM2UINT(arg1),NUM2UINT(arg2),params); ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:95:26: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glExecuteProgramNV(NUM2UINT(arg1),NUM2UINT(arg2),params); ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetVertexAttribPointervNV(obj,arg1) ^ gl-ext-nv.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramParameter4dNV,GLvoid, GLenum,GLuint,GLdouble,GLdouble,GLdouble,GLdouble, "GL_NV_vertex_program") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :20:1: note: expanded from here gl_ProgramParameter4dNV ^ gl-ext-nv.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramParameter4fNV,GLvoid, GLenum,GLuint,GLfloat,GLfloat,GLfloat,GLfloat, "GL_NV_vertex_program") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :40:1: note: expanded from here gl_ProgramParameter4fNV ^ gl-ext-nv.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramParameter4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^ gl-ext-nv.c:154:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :59:1: note: expanded from here gl_ProgramParameter4dvNV ^ gl-ext-nv.c:166:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramParameter4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:166:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramParameter4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramParameter4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^ gl-ext-nv.c:154:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :66:1: note: expanded from here gl_ProgramParameter4fvNV ^ gl-ext-nv.c:167:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramParameter4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:167:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramParameter4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC(GetProgramParameterdvNV,GLdouble,"GL_NV_vertex_program") ^ gl-ext-nv.c:171:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC' static VALUE \ ^ :73:1: note: expanded from here gl_GetProgramParameterdvNV ^ gl-ext-nv.c:181:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramParameterdvNV,GLdouble,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:177:48: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:181:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramParameterdvNV,GLdouble,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:177:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:181:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramParameterdvNV,GLdouble,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:177:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC(GetProgramParameterfvNV,GLfloat,"GL_NV_vertex_program") ^ gl-ext-nv.c:171:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC' static VALUE \ ^ :81:1: note: expanded from here gl_GetProgramParameterfvNV ^ gl-ext-nv.c:182:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramParameterfvNV,GLfloat,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:177:48: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:182:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramParameterfvNV,GLfloat,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:177:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:182:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC(GetProgramParameterfvNV,GLfloat,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:177:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^ gl-ext-nv.c:187:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :89:1: note: expanded from here gl_ProgramParameters4dvNV ^ gl-ext-nv.c:205:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:194:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:205:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:205:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^ gl-ext-nv.c:187:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :96:1: note: expanded from here gl_ProgramParameters4fvNV ^ gl-ext-nv.c:206:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:194:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:206:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:206:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramParameters4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1dNV,GLvoid, GLuint,GLdouble, "GL_NV_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :104:1: note: expanded from here gl_VertexAttrib1dNV ^ gl-ext-nv.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1fNV,GLvoid, GLuint,GLfloat, "GL_NV_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :120:1: note: expanded from here gl_VertexAttrib1fNV ^ gl-ext-nv.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(VertexAttrib1sNV,GLvoid, GLuint,GLshort, "GL_NV_vertex_program") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :136:1: note: expanded from here gl_VertexAttrib1sNV ^ gl-ext-nv.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2dNV,GLvoid, GLuint,GLdouble,GLdouble, "GL_NV_vertex_program") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :152:1: note: expanded from here gl_VertexAttrib2dNV ^ gl-ext-nv.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2fNV,GLvoid, GLuint,GLfloat,GLfloat, "GL_NV_vertex_program") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :169:1: note: expanded from here gl_VertexAttrib2fNV ^ gl-ext-nv.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_3(VertexAttrib2sNV,GLvoid, GLuint,GLshort,GLshort, "GL_NV_vertex_program") ^ ./../common/funcdef.h:179:69: note: expanded from macro 'GL_FUNC_LOAD_3' #define GL_FUNC_LOAD_3(_name_,_returntype_,targ1,targ2,targ3,_ver_) GL_FUNC_LOAD(3, _name_,_returntype_,targ1,targ2,targ3,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :186:1: note: expanded from here gl_VertexAttrib2sNV ^ gl-ext-nv.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3dNV,GLvoid, GLuint,GLdouble,GLdouble,GLdouble, "GL_NV_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :11:1: note: expanded from here gl_VertexAttrib3dNV ^ gl-ext-nv.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3fNV,GLvoid, GLuint,GLfloat,GLfloat,GLfloat, "GL_NV_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :29:1: note: expanded from here gl_VertexAttrib3fNV ^ gl-ext-nv.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(VertexAttrib3sNV,GLvoid, GLuint,GLshort,GLshort,GLshort, "GL_NV_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :47:1: note: expanded from here gl_VertexAttrib3sNV ^ gl-ext-nv.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4dNV,GLvoid, GLuint,GLdouble,GLdouble,GLdouble,GLdouble, "GL_NV_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :65:1: note: expanded from here gl_VertexAttrib4dNV ^ gl-ext-nv.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4fNV,GLvoid, GLuint,GLfloat,GLfloat,GLfloat,GLfloat, "GL_NV_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :84:1: note: expanded from here gl_VertexAttrib4fNV ^ gl-ext-nv.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4sNV,GLvoid, GLuint,GLshort,GLshort,GLshort,GLshort, "GL_NV_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :103:1: note: expanded from here gl_VertexAttrib4sNV ^ gl-ext-nv.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(VertexAttrib4ubNV,GLvoid, GLuint,GLubyte,GLubyte,GLubyte,GLubyte, "GL_NV_vertex_program") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :122:1: note: expanded from here gl_VertexAttrib4ubNV ^ gl-ext-nv.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4ubvNV,GLubyte,ary2cubyte,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :140:1: note: expanded from here gl_VertexAttrib4ubvNV ^ gl-ext-nv.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4dvNV,GLdouble,ary2cdbl,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :147:1: note: expanded from here gl_VertexAttrib4dvNV ^ gl-ext-nv.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4fvNV,GLfloat,ary2cflt,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :154:1: note: expanded from here gl_VertexAttrib4fvNV ^ gl-ext-nv.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib4svNV,GLshort,ary2cshort,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :161:1: note: expanded from here gl_VertexAttrib4svNV ^ gl-ext-nv.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3dvNV,GLdouble,ary2cdbl,3,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :168:1: note: expanded from here gl_VertexAttrib3dvNV ^ gl-ext-nv.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3fvNV,GLfloat,ary2cflt,3,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :175:1: note: expanded from here gl_VertexAttrib3fvNV ^ gl-ext-nv.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib3svNV,GLshort,ary2cshort,3,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :182:1: note: expanded from here gl_VertexAttrib3svNV ^ gl-ext-nv.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2dvNV,GLdouble,ary2cdbl,2,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :189:1: note: expanded from here gl_VertexAttrib2dvNV ^ gl-ext-nv.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2fvNV,GLfloat,ary2cflt,2,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :196:1: note: expanded from here gl_VertexAttrib2fvNV ^ gl-ext-nv.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib2svNV,GLshort,ary2cshort,2,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :203:1: note: expanded from here gl_VertexAttrib2svNV ^ gl-ext-nv.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1dvNV,GLdouble,ary2cdbl,1,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :3:1: note: expanded from here gl_VertexAttrib1dvNV ^ gl-ext-nv.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1fvNV,GLfloat,ary2cflt,1,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :10:1: note: expanded from here gl_VertexAttrib1fvNV ^ gl-ext-nv.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_FUNC_V(VertexAttrib1svNV,GLshort,ary2cshort,1,"GL_NV_vertex_program") ^ gl-ext-nv.c:224:14: note: expanded from macro 'VERTEXATTRIB_FUNC_V' static VALUE \ ^ :17:1: note: expanded from here gl_VertexAttrib1svNV ^ gl-ext-nv.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4ubvNV,GLubyte,ary2cubyte,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :24:1: note: expanded from here gl_VertexAttribs4ubvNV ^ gl-ext-nv.c:275:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4ubvNV,GLubyte,ary2cubyte,4,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4dvNV,GLdouble,ary2cdbl,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :31:1: note: expanded from here gl_VertexAttribs4dvNV ^ gl-ext-nv.c:276:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4dvNV,GLdouble,ary2cdbl,4,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4fvNV,GLfloat,ary2cflt,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :38:1: note: expanded from here gl_VertexAttribs4fvNV ^ gl-ext-nv.c:277:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4fvNV,GLfloat,ary2cflt,4,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4svNV,GLshort,ary2cshort,4,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :45:1: note: expanded from here gl_VertexAttribs4svNV ^ gl-ext-nv.c:278:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs4svNV,GLshort,ary2cshort,4,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs3dvNV,GLdouble,ary2cdbl,3,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :52:1: note: expanded from here gl_VertexAttribs3dvNV ^ gl-ext-nv.c:279:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs3dvNV,GLdouble,ary2cdbl,3,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs3fvNV,GLfloat,ary2cflt,3,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :59:1: note: expanded from here gl_VertexAttribs3fvNV ^ gl-ext-nv.c:280:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs3fvNV,GLfloat,ary2cflt,3,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs3svNV,GLshort,ary2cshort,3,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :66:1: note: expanded from here gl_VertexAttribs3svNV ^ gl-ext-nv.c:281:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs3svNV,GLshort,ary2cshort,3,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs2dvNV,GLdouble,ary2cdbl,2,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :73:1: note: expanded from here gl_VertexAttribs2dvNV ^ gl-ext-nv.c:282:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs2dvNV,GLdouble,ary2cdbl,2,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs2fvNV,GLfloat,ary2cflt,2,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :80:1: note: expanded from here gl_VertexAttribs2fvNV ^ gl-ext-nv.c:283:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs2fvNV,GLfloat,ary2cflt,2,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs2svNV,GLshort,ary2cshort,2,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :87:1: note: expanded from here gl_VertexAttribs2svNV ^ gl-ext-nv.c:284:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs2svNV,GLshort,ary2cshort,2,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs1dvNV,GLdouble,ary2cdbl,1,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :94:1: note: expanded from here gl_VertexAttribs1dvNV ^ gl-ext-nv.c:285:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs1dvNV,GLdouble,ary2cdbl,1,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs1fvNV,GLfloat,ary2cflt,1,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :101:1: note: expanded from here gl_VertexAttribs1fvNV ^ gl-ext-nv.c:286:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs1fvNV,GLfloat,ary2cflt,1,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs1svNV,GLshort,ary2cshort,1,"GL_NV_vertex_program") ^ gl-ext-nv.c:255:14: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' static VALUE \ ^ :108:1: note: expanded from here gl_VertexAttribs1svNV ^ gl-ext-nv.c:287:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] VERTEXATTRIB_MULTI_FUNC_V(VertexAttribs1svNV,GLshort,ary2cshort,1,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:263:8: note: expanded from macro 'VERTEXATTRIB_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg2)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribdvNV,GLdouble,"GL_NV_vertex_program") ^ gl-ext-nv.c:292:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :115:1: note: expanded from here gl_GetVertexAttribdvNV ^ gl-ext-nv.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETVERTEXATTRIB_FUNC(GetVertexAttribfvNV,GLfloat,"GL_NV_vertex_program") ^ gl-ext-nv.c:292:14: note: expanded from macro 'GETVERTEXATTRIB_FUNC' static VALUE \ ^ :123:1: note: expanded from here gl_GetVertexAttribfvNV ^ gl-ext-nv.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gl_GetVertexAttribivNV(obj,arg1,arg2) ^ gl-ext-nv.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(TrackMatrixNV,GLvoid, GLenum,GLuint,GLenum,GLenum, "GL_NV_vertex_program") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :135:1: note: expanded from here gl_TrackMatrixNV ^ gl-ext-nv.c:343:58: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetTrackMatrixivNV(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),&ret); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:343:43: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetTrackMatrixivNV(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),&ret); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:343:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glGetTrackMatrixivNV(NUM2UINT(arg1),NUM2UINT(arg2),NUM2UINT(arg3),&ret); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:355:7: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] n = RARRAY_LEN(arg1); ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:362:13: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] program = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:381:9: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] size = RARRAY_LEN(ary); ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:401:1: warning: comparison of integers of different signs: 'unsigned int' and 'GLsizei' (aka 'int') [-Wsign-compare] GL_FUNC_GENOBJECTS_LOAD(GenOcclusionQueriesNV,"GL_NV_occlusion_query") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:215:16: note: expanded from macro 'GL_FUNC_GENOBJECTS_LOAD' for (i = 0; i < n; i++) \ ~ ^ ~ gl-ext-nv.c:402:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GL_FUNC_DELETEOBJECTS_LOAD(DeleteOcclusionQueriesNV,"GL_NV_occlusion_query") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/funcdef.h:248:7: note: expanded from macro 'GL_FUNC_DELETEOBJECTS_LOAD' n = RARRAY_LEN(arg1); \ ~ ^~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(IsOcclusionQueryNV,GLboolean, GLuint, "GL_NV_occlusion_query") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :12:1: note: expanded from here gl_IsOcclusionQueryNV ^ gl-ext-nv.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(BeginOcclusionQueryNV,GLvoid, GLuint, "GL_NV_occlusion_query") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :27:1: note: expanded from here gl_BeginOcclusionQueryNV ^ gl-ext-nv.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_0(EndOcclusionQueryNV,GLvoid, "GL_NV_occlusion_query") ^ ./../common/funcdef.h:176:51: note: expanded from macro 'GL_FUNC_LOAD_0' #define GL_FUNC_LOAD_0(_name_,_returntype_,_ver_) GL_FUNC_LOAD(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :42:1: note: expanded from here gl_EndOcclusionQueryNV ^ gl-ext-nv.c:418:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETOCCLUSIONQUERY_FUNC(GetOcclusionQueryivNV,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:413:32: note: expanded from macro 'GETOCCLUSIONQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:418:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETOCCLUSIONQUERY_FUNC(GetOcclusionQueryivNV,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:413:18: note: expanded from macro 'GETOCCLUSIONQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:418:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETOCCLUSIONQUERY_FUNC(GetOcclusionQueryivNV,GLint,cond_GLBOOL2RUBY) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:415:16: note: expanded from macro 'GETOCCLUSIONQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:419:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETOCCLUSIONQUERY_FUNC(GetOcclusionQueryuivNV,GLuint,cond_GLBOOL2RUBY_U) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:413:32: note: expanded from macro 'GETOCCLUSIONQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:419:1: warning: implicit conversion loses integer precision: 'long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETOCCLUSIONQUERY_FUNC(GetOcclusionQueryuivNV,GLuint,cond_GLBOOL2RUBY_U) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:413:18: note: expanded from macro 'GETOCCLUSIONQUERY_FUNC' fptr_gl##_name_(NUM2INT(arg1),NUM2INT(arg2),&ret); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:419:1: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETOCCLUSIONQUERY_FUNC(GetOcclusionQueryuivNV,GLuint,cond_GLBOOL2RUBY_U) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:415:16: note: expanded from macro 'GETOCCLUSIONQUERY_FUNC' return _conv_(NUM2INT(arg2),ret); \ ~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ gl-ext-nv.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(PointParameteriNV,GLvoid, GLenum,GLint, "GL_NV_point_sprite") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :70:1: note: expanded from here gl_PointParameteriNV ^ gl-ext-nv.c:431:28: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] fptr_glPointParameterivNV(NUM2UINT(arg1),¶m); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMNAMEDPARAM_FUNC(ProgramNamedParameter4dNV,GLdouble,NUM2DBL,"GL_NV_fragment_program") ^ gl-ext-nv.c:439:14: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC' static VALUE \ ^ :88:1: note: expanded from here gl_ProgramNamedParameter4dNV ^ gl-ext-nv.c:450:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC(ProgramNamedParameter4dNV,GLdouble,NUM2DBL,"GL_NV_fragment_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:445:33: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),_conv_(arg3),_conv_(arg4),_conv_(arg5),_conv_(arg6)); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:450:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC(ProgramNamedParameter4dNV,GLdouble,NUM2DBL,"GL_NV_fragment_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:445:18: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),_conv_(arg3),_conv_(arg4),_conv_(arg5),_conv_(arg6)); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMNAMEDPARAM_FUNC(ProgramNamedParameter4fNV,GLfloat,NUM2DBL,"GL_NV_fragment_program") ^ gl-ext-nv.c:439:14: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC' static VALUE \ ^ :95:1: note: expanded from here gl_ProgramNamedParameter4fNV ^ gl-ext-nv.c:451:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC(ProgramNamedParameter4fNV,GLfloat,NUM2DBL,"GL_NV_fragment_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:445:33: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),_conv_(arg3),_conv_(arg4),_conv_(arg5),_conv_(arg6)); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:451:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC(ProgramNamedParameter4fNV,GLfloat,NUM2DBL,"GL_NV_fragment_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:445:18: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),_conv_(arg3),_conv_(arg4),_conv_(arg5),_conv_(arg6)); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMNAMEDPARAM_FUNC_V(ProgramNamedParameter4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^ gl-ext-nv.c:456:14: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC_V' static VALUE \ ^ :102:1: note: expanded from here gl_ProgramNamedParameter4dvNV ^ gl-ext-nv.c:469:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC_V(ProgramNamedParameter4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:464:33: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:469:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC_V(ProgramNamedParameter4dvNV,GLdouble,ary2cdbl,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:464:18: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMNAMEDPARAM_FUNC_V(ProgramNamedParameter4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^ gl-ext-nv.c:456:14: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC_V' static VALUE \ ^ :109:1: note: expanded from here gl_ProgramNamedParameter4fvNV ^ gl-ext-nv.c:470:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC_V(ProgramNamedParameter4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:464:33: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:470:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMNAMEDPARAM_FUNC_V(ProgramNamedParameter4fvNV,GLfloat,ary2cflt,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:464:18: note: expanded from macro 'PROGRAMNAMEDPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMNAMEDPARAM_FUNC(GetProgramNamedParameterdvNV,GLdouble,"GL_NV_vertex_program") ^ gl-ext-nv.c:475:14: note: expanded from macro 'GETPROGRAMNAMEDPARAM_FUNC' static VALUE \ ^ :116:1: note: expanded from here gl_GetProgramNamedParameterdvNV ^ gl-ext-nv.c:486:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GETPROGRAMNAMEDPARAM_FUNC(GetProgramNamedParameterdvNV,GLdouble,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:482:33: note: expanded from macro 'GETPROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:486:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMNAMEDPARAM_FUNC(GetProgramNamedParameterdvNV,GLdouble,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:482:18: note: expanded from macro 'GETPROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMNAMEDPARAM_FUNC(GetProgramNamedParameterfvNV,GLfloat,"GL_NV_vertex_program") ^ gl-ext-nv.c:475:14: note: expanded from macro 'GETPROGRAMNAMEDPARAM_FUNC' static VALUE \ ^ :124:1: note: expanded from here gl_GetProgramNamedParameterfvNV ^ gl-ext-nv.c:487:1: warning: implicit conversion loses integer precision: 'long' to 'GLsizei' (aka 'int') [-Wshorten-64-to-32] GETPROGRAMNAMEDPARAM_FUNC(GetProgramNamedParameterfvNV,GLfloat,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:482:33: note: expanded from macro 'GETPROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rstring.h:46:27: note: expanded from macro 'RSTRING_LEN' #define RSTRING_LEN RSTRING_LEN ^ gl-ext-nv.c:487:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMNAMEDPARAM_FUNC(GetProgramNamedParameterfvNV,GLfloat,"GL_NV_vertex_program") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:482:18: note: expanded from macro 'GETPROGRAMNAMEDPARAM_FUNC' fptr_gl##_name_(NUM2UINT(arg1),RSTRING_LEN(arg2),(GLubyte *)RSTRING_PTR(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_0(PrimitiveRestartNV,GLvoid, "GL_NV_primitive_restart") ^ ./../common/funcdef.h:176:51: note: expanded from macro 'GL_FUNC_LOAD_0' #define GL_FUNC_LOAD_0(_name_,_returntype_,_ver_) GL_FUNC_LOAD(0, _name_,_returntype_,0,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :133:1: note: expanded from here gl_PrimitiveRestartNV ^ gl-ext-nv.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(PrimitiveRestartIndexNV,GLvoid, GLuint, "GL_NV_primitive_restart") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :147:1: note: expanded from here gl_PrimitiveRestartIndexNV ^ gl-ext-nv.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramLocalParameterI4iNV,GLvoid, GLenum,GLuint, GLint,GLint,GLint,GLint, "GL_NV_gpu_program4") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :162:1: note: expanded from here gl_ProgramLocalParameterI4iNV ^ gl-ext-nv.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramLocalParameterI4uiNV,GLvoid, GLenum,GLuint, GLuint,GLuint,GLuint,GLuint, "GL_NV_gpu_program4") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :18:1: note: expanded from here gl_ProgramLocalParameterI4uiNV ^ gl-ext-nv.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramEnvParameterI4iNV,GLvoid, GLenum,GLuint, GLint,GLint,GLint,GLint, "GL_NV_gpu_program4") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :38:1: note: expanded from here gl_ProgramEnvParameterI4iNV ^ gl-ext-nv.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(ProgramEnvParameterI4uiNV,GLvoid, GLenum,GLuint, GLuint,GLuint,GLuint,GLuint, "GL_NV_gpu_program4") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :58:1: note: expanded from here gl_ProgramEnvParameterI4uiNV ^ gl-ext-nv.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramLocalParameterI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:154:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :77:1: note: expanded from here gl_ProgramLocalParameterI4ivNV ^ gl-ext-nv.c:500:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameterI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:500:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameterI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramLocalParameterI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:154:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :84:1: note: expanded from here gl_ProgramLocalParameterI4uivNV ^ gl-ext-nv.c:501:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameterI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:501:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramLocalParameterI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramEnvParameterI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:154:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :91:1: note: expanded from here gl_ProgramEnvParameterI4ivNV ^ gl-ext-nv.c:502:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameterI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:502:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameterI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_FUNC_V(ProgramEnvParameterI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:154:14: note: expanded from macro 'PROGRAMPARAM_FUNC_V' static VALUE \ ^ :98:1: note: expanded from here gl_ProgramEnvParameterI4uivNV ^ gl-ext-nv.c:503:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameterI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:33: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:503:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_FUNC_V(ProgramEnvParameterI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:161:18: note: expanded from macro 'PROGRAMPARAM_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:187:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :105:1: note: expanded from here gl_ProgramLocalParametersI4ivNV ^ gl-ext-nv.c:505:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:194:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:505:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:505:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:187:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :112:1: note: expanded from here gl_ProgramLocalParametersI4uivNV ^ gl-ext-nv.c:506:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:194:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:506:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:506:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramLocalParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:187:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :119:1: note: expanded from here gl_ProgramEnvParametersI4ivNV ^ gl-ext-nv.c:507:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:194:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:507:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:507:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4ivNV,GLint,ary2cint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:187:14: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' static VALUE \ ^ :126:1: note: expanded from here gl_ProgramEnvParametersI4uivNV ^ gl-ext-nv.c:508:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:194:8: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' len = RARRAY_LEN(rb_Array(arg3)); \ ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ gl-ext-nv.c:508:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:33: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:508:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] PROGRAMPARAM_MULTI_FUNC_V(ProgramEnvParametersI4uivNV,GLuint,ary2cuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:199:18: note: expanded from macro 'PROGRAMPARAM_MULTI_FUNC_V' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),len / 4, cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC_2(GetProgramLocalParameterIivNV,GLint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:515:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' static VALUE \ ^ :133:1: note: expanded from here gl_GetProgramLocalParameterIivNV ^ gl-ext-nv.c:525:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramLocalParameterIivNV,GLint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:525:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramLocalParameterIivNV,GLint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC_2(GetProgramLocalParameterIuivNV,GLuint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:515:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' static VALUE \ ^ :141:1: note: expanded from here gl_GetProgramLocalParameterIuivNV ^ gl-ext-nv.c:526:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramLocalParameterIuivNV,GLuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:526:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramLocalParameterIuivNV,GLuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC_2(GetProgramEnvParameterIivNV,GLint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:515:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' static VALUE \ ^ :149:1: note: expanded from here gl_GetProgramEnvParameterIivNV ^ gl-ext-nv.c:527:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramEnvParameterIivNV,GLint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:527:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramEnvParameterIivNV,GLint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GETPROGRAMPARAM_FUNC_2(GetProgramEnvParameterIuivNV,GLuint,"GL_NV_gpu_program4") ^ gl-ext-nv.c:515:14: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' static VALUE \ ^ :8:1: note: expanded from here gl_GetProgramEnvParameterIuivNV ^ gl-ext-nv.c:528:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLuint' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramEnvParameterIuivNV,GLuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:33: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:528:1: warning: implicit conversion loses integer precision: 'unsigned long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] GETPROGRAMPARAM_FUNC_2(GetProgramEnvParameterIuivNV,GLuint,"GL_NV_gpu_program4") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gl-ext-nv.c:521:18: note: expanded from macro 'GETPROGRAMPARAM_FUNC_2' fptr_gl##_name_(NUM2UINT(arg1),NUM2UINT(arg2),cary); \ ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~ ./../common/conv.h:73:18: note: expanded from macro 'NUM2UINT' #define NUM2UINT num2uint ^ gl-ext-nv.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(ProgramVertexLimitNV,GLvoid, GLenum,GLint, "GL_NV_gpu_program4") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :17:1: note: expanded from here gl_ProgramVertexLimitNV ^ gl-ext-nv.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_4(FramebufferTextureEXT,GLvoid, GLenum,GLenum,GLuint,GLuint, "GL_EXT_geometry_shader4") ^ ./../common/funcdef.h:180:75: note: expanded from macro 'GL_FUNC_LOAD_4' #define GL_FUNC_LOAD_4(_name_,_returntype_,targ1,targ2,targ3,targ4,_ver_) GL_FUNC_LOAD(4, _name_,_returntype_,targ1,targ2,targ3,targ4,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :33:1: note: expanded from here gl_FramebufferTextureEXT ^ gl-ext-nv.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(FramebufferTextureLayerEXT,GLvoid, GLenum,GLenum,GLuint,GLint,GLint, "GL_EXT_geometry_shader4") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :51:1: note: expanded from here gl_FramebufferTextureLayerEXT ^ gl-ext-nv.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_5(FramebufferTextureFaceEXT,GLvoid, GLenum,GLenum,GLuint,GLint,GLenum, "GL_EXT_geometry_shader4") ^ ./../common/funcdef.h:181:81: note: expanded from macro 'GL_FUNC_LOAD_5' #define GL_FUNC_LOAD_5(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,_ver_) GL_FUNC_LOAD(5, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :70:1: note: expanded from here gl_FramebufferTextureFaceEXT ^ gl-ext-nv.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(DepthRangedNV,GLvoid, GLdouble,GLdouble, "GL_NV_depth_buffer_float") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :89:1: note: expanded from here gl_DepthRangedNV ^ gl-ext-nv.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_1(ClearDepthdNV,GLvoid, GLdouble, "GL_NV_depth_buffer_float") ^ ./../common/funcdef.h:177:57: note: expanded from macro 'GL_FUNC_LOAD_1' #define GL_FUNC_LOAD_1(_name_,_returntype_,targ1,_ver_) GL_FUNC_LOAD(1, _name_,_returntype_,targ1,0,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :105:1: note: expanded from here gl_ClearDepthdNV ^ gl-ext-nv.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_2(DepthBoundsdNV,GLvoid, GLdouble,GLdouble, "GL_NV_depth_buffer_float") ^ ./../common/funcdef.h:178:63: note: expanded from macro 'GL_FUNC_LOAD_2' #define GL_FUNC_LOAD_2(_name_,_returntype_,targ1,targ2,_ver_) GL_FUNC_LOAD(2, _name_,_returntype_,targ1,targ2,0,0,0,0,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :120:1: note: expanded from here gl_DepthBoundsdNV ^ gl-ext-nv.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GL_FUNC_LOAD_6(RenderbufferStorageMultisampleCoverageNV,GLvoid, GLenum,GLsizei,GLsizei,GLenum,GLsizei,GLsizei, "GL_NV_framebuffer_multisample_coverage") ^ ./../common/funcdef.h:182:87: note: expanded from macro 'GL_FUNC_LOAD_6' #define GL_FUNC_LOAD_6(_name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,_ver_) GL_FUNC_LOAD(6, _name_,_returntype_,targ1,targ2,targ3,targ4,targ5,targ6,0,0,0,0,_ver_) ^ ./../common/funcdef.h:154:14: note: expanded from macro 'GL_FUNC_LOAD' static VALUE \ ^ :136:1: note: expanded from here gl_RenderbufferStorageMultisampleCoverageNV ^ 272 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c gl.c In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from gl.c:18: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from gl.c:18: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from gl.c:18: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl.c:18: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from gl.c:18: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ gl.c:48:37: warning: 'glGetString' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] const char *vstr = (const char *) glGetString(GL_VERSION); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2530:23: note: 'glGetString' has been explicitly marked deprecated here extern const GLubyte *glGetString (GLenum name) OPENGL_DEPRECATED(10.0, 10.14); ^ gl.c:78:37: warning: 'glGetString' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] const char *estr = (const char *) glGetString(GL_EXTENSIONS); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2530:23: note: 'glGetString' has been explicitly marked deprecated here extern const GLubyte *glGetString (GLenum name) OPENGL_DEPRECATED(10.0, 10.14); ^ gl.c:81:14: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] int len = strlen(estr); ~~~ ^~~~~~~~~~~~ gl.c:106:13: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] name_len = strlen(name); ~ ^~~~~~~~~~~~ gl.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] IsAvailable(obj,arg1) ^ gl.c:178:2: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetIntegerv(buffer,&result); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ 82 warnings generated. clang -dynamic -bundle -framework OpenGL -L/opt/pkg/lib -L/opt/pkg/lib -o gl.bundle gl-1.0-1.1.o gl-1.2.o gl-1.3.o gl-1.4.o gl-1.5.o gl-2.0.o gl-2.1.o gl-enums.o gl-error.o gl-ext-3dfx.o gl-ext-arb.o gl-ext-ati.o gl-ext-ext.o gl-ext-gremedy.o gl-ext-nv.o gl.o -lpthread -lpthread -lruby34.3.4.4 /opt/pkg/bin/ruby34 mkrf_conf.rb cp ext/gl/gl.bundle lib /opt/pkg/bin/rake34 clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c glu-enums.c In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from glu-enums.c:5: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from glu-enums.c:5: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from glu-enums.c:5: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from glu-enums.c:5: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from glu-enums.c:5: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ 76 warnings generated. clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c glu.c In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from glu.c:20: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from glu.c:20: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from glu.c:20: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from glu.c:20: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from glu.c:20: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ glu.c:28:9: warning: 'GLUtesselator' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] typedef GLUtesselator tesselatorObj; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:230:30: note: 'GLUtesselator' has been explicitly marked deprecated here typedef struct GLUtesselator GLUtesselator OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:43:2: warning: 'GLUnurbsObj' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUnurbsObj *nobj; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:232:25: note: 'GLUnurbsObj' has been explicitly marked deprecated here typedef struct GLUnurbs GLUnurbsObj OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:52:2: warning: 'GLUquadricObj' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUquadricObj *qobj; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:233:27: note: 'GLUquadricObj' has been explicitly marked deprecated here typedef struct GLUquadric GLUquadricObj OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_curve_dim(type) ^ glu.c:139:8: warning: initializing 'char *' with an expression of type 'const char[1]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] char *error_string = ""; ^ ~~ glu.c:147:39: warning: assigning to 'char *' from 'const char[18]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GLU_INVALID_ENUM: error_string = "invalid enumerant"; break; ^ ~~~~~~~~~~~~~~~~~~~ glu.c:148:40: warning: assigning to 'char *' from 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GLU_INVALID_VALUE: error_string = "invalid value"; break; ^ ~~~~~~~~~~~~~~~ glu.c:149:44: warning: assigning to 'char *' from 'const char[18]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GLU_INVALID_OPERATION: error_string = "invalid operation"; break; ^ ~~~~~~~~~~~~~~~~~~~ glu.c:150:40: warning: assigning to 'char *' from 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GLU_OUT_OF_MEMORY: error_string = "out of memory"; break; ^ ~~~~~~~~~~~~~~~ glu.c:151:25: warning: assigning to 'char *' from 'const char[14]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] default: error_string = "unknown error"; break; ^ ~~~~~~~~~~~~~~~ glu.c:167:19: warning: 'gluDeleteNurbsRenderer' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] if (ndata->nobj) gluDeleteNurbsRenderer(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:252:13: note: 'gluDeleteNurbsRenderer' has been explicitly marked deprecated here extern void gluDeleteNurbsRenderer (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_nurbs(ndata) ^ glu.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mark_nurbs(ndata) ^ glu.c:188:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(nurbs, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :76:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] n_error(errorno) ^ glu.c:198:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :77:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:208:3: warning: 'gluNurbsCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluNurbsCallback(ndata->nobj, type, NULL); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:270:13: note: 'gluNurbsCallback' has been explicitly marked deprecated here extern void gluNurbsCallback (GLUnurbs* nurb, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:210:3: warning: 'gluNurbsCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluNurbsCallback(ndata->nobj, type, n_error); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:270:13: note: 'gluNurbsCallback' has been explicitly marked deprecated here extern void gluNurbsCallback (GLUnurbs* nurb, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NurbsCallback(obj, arg1, arg2, arg3) ^ glu.c:223:16: warning: 'gluNewNurbsRenderer' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ndata->nobj = gluNewNurbsRenderer(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:266:18: note: 'gluNewNurbsRenderer' has been explicitly marked deprecated here extern GLUnurbs* gluNewNurbsRenderer (void) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NewNurbsRenderer(obj) ^ glu.c:233:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :78:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_DeleteNurbsRenderer(obj, arg1) ^ glu.c:245:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :79:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:248:2: warning: 'gluNurbsProperty' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluNurbsProperty(ndata->nobj, property, value); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:274:13: note: 'gluNurbsProperty' has been explicitly marked deprecated here extern void gluNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat value) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NurbsProperty(obj, arg1, arg2, arg3) ^ glu.c:259:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :80:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:261:2: warning: 'gluGetNurbsProperty' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluGetNurbsProperty(ndata->nobj, property, &value); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:261:13: note: 'gluGetNurbsProperty' has been explicitly marked deprecated here extern void gluGetNurbsProperty (GLUnurbs* nurb, GLenum property, GLfloat* data) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_GetNurbsProperty(obj, arg1, arg2) ^ glu.c:270:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :81:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:272:2: warning: 'gluBeginCurve' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluBeginCurve(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:240:13: note: 'gluBeginCurve' has been explicitly marked deprecated here extern void gluBeginCurve (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_BeginCurve(obj, arg1) ^ glu.c:281:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :82:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:282:2: warning: 'gluEndCurve' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluEndCurve(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:256:13: note: 'gluEndCurve' has been explicitly marked deprecated here extern void gluEndCurve (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_EndCurve(obj, arg1) ^ glu.c:340:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(args[0], ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :83:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:341:2: warning: 'gluNurbsCurve' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluNurbsCurve(ndata->nobj, uknot_count, uknot, u_stride, ctlarray, uorder, type); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:273:13: note: 'gluNurbsCurve' has been explicitly marked deprecated here extern void gluNurbsCurve (GLUnurbs* nurb, GLint knotCount, GLfloat *knots, GLint stride, GLfloat *control, GLint order, GLenum type) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NurbsCurve(argc,argv,obj) ^ glu.c:313:18: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] uknot_count = RARRAY_LEN(args[1]); ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ glu.c:355:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :84:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:357:2: warning: 'gluBeginSurface' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluBeginSurface(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:242:13: note: 'gluBeginSurface' has been explicitly marked deprecated here extern void gluBeginSurface (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_BeginSurface(obj, arg1) ^ glu.c:366:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :85:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:367:2: warning: 'gluEndSurface' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluEndSurface(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:258:13: note: 'gluEndSurface' has been explicitly marked deprecated here extern void gluEndSurface (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_EndSurface(obj, arg1) ^ glu.c:447:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(args[0], ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :86:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:448:2: warning: 'gluNurbsSurface' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluNurbsSurface(ndata->nobj, sknot_count, sknot, tknot_count, tknot, ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:275:13: note: 'gluNurbsSurface' has been explicitly marked deprecated here extern void gluNurbsSurface (GLUnurbs* nurb, GLint sKnotCount, GLfloat* sKnots, GLint tKnotCount, GLfloat* tKnots, GLint sStride, GLint tStride, GLfloat* control, GLint sOrder, GLint tOrder, GLenum type) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NurbsSurface(argc, argv, obj) ^ glu.c:404:18: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] sknot_count = RARRAY_LEN(args[1]); ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ glu.c:408:18: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] tknot_count = RARRAY_LEN(args[2]); ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ glu.c:466:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :87:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:468:2: warning: 'gluBeginTrim' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluBeginTrim(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:243:13: note: 'gluBeginTrim' has been explicitly marked deprecated here extern void gluBeginTrim (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_BeginTrim(obj, arg1) ^ glu.c:477:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :88:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:478:2: warning: 'gluEndTrim' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluEndTrim(ndata->nobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:259:13: note: 'gluEndTrim' has been explicitly marked deprecated here extern void gluEndTrim (GLUnurbs* nurb) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_EndTrim(obj, arg1) ^ glu.c:522:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(args[0], ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :89:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:523:2: warning: 'gluPwlCurve' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluPwlCurve(ndata->nobj, count, array, stride, type); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:281:13: note: 'gluPwlCurve' has been explicitly marked deprecated here extern void gluPwlCurve (GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_PwlCurve(argc, argv, obj) ^ glu.c:500:12: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] count = RARRAY_LEN(args[1]); ~ ^~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ glu.c:501:11: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] type = NUM2INT(args[2]); ~ ^~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glu.c:509:12: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] count = NUM2INT(args[1]); ~ ^~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glu.c:510:13: warning: implicit conversion loses integer precision: 'long' to 'GLint' (aka 'int') [-Wshorten-64-to-32] stride = NUM2INT(args[3]); ~ ^~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glu.c:511:11: warning: implicit conversion loses integer precision: 'long' to 'GLenum' (aka 'unsigned int') [-Wshorten-64-to-32] type = NUM2INT(args[4]); ~ ^~~~~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glu.c:537:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetNURBS(arg1, ndata); ^ glu.c:63:2: note: expanded from macro 'GetNURBS' Data_Get_Struct(obj, struct nurbsdata, ndata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :90:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:538:32: warning: too few arguments in call to 'ary2cmatfloat' ary2cmatfloat(arg2,mdl_mtx,4,4); ~~~~~~~~~~~~~ ^ glu.c:539:34: warning: too few arguments in call to 'ary2cmatfloat' ary2cmatfloat(arg3,persp_mtx,4,4); ~~~~~~~~~~~~~ ^ glu.c:542:2: warning: 'gluLoadSamplingMatrices' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluLoadSamplingMatrices(ndata->nobj,mdl_mtx,persp_mtx,viewport); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:264:13: note: 'gluLoadSamplingMatrices' has been explicitly marked deprecated here extern void gluLoadSamplingMatrices (GLUnurbs* nurb, const GLfloat *model, const GLfloat *perspective, const GLint *view) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:529:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VALUE glu_LoadSamplingMatrices(obj,arg1,arg2,arg3,arg4) ^ glu.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mark_tess(tdata) ^ glu.c:580:3: warning: 'gluDeleteTess' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluDeleteTess(tdata->tobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:254:13: note: 'gluDeleteTess' has been explicitly marked deprecated here extern void gluDeleteTess (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_tess(tdata) ^ glu.c:591:16: warning: 'gluNewTess' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] tdata->tobj = gluNewTess(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:268:23: note: 'gluNewTess' has been explicitly marked deprecated here extern GLUtesselator* gluNewTess (void) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NewTess(obj) ^ glu.c:601:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :91:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_DeleteTess(obj, arg1) ^ glu.c:620:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :92:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_begin(type) ^ glu.c:627:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :93:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_edgeFlag(flag) ^ glu.c:634:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :94:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_vertex(data) ^ glu.c:640:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :95:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:647:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :96:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_error(errorno) ^ glu.c:655:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :97:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_begin_data(type, user_data) ^ glu.c:663:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :98:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_edgeFlag_data(flag, user_data) ^ glu.c:671:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :99:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_vertex_data(data, user_data) ^ glu.c:678:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :100:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_end_data(user_data) ^ glu.c:686:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :101:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_error_data(errorno, user_data) ^ glu.c:699:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :102:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_combine(coords, vertex_data, weight, outData) ^ glu.c:724:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] TESS_CALLBACK_COMMON ^ glu.c:613:10: note: expanded from macro 'TESS_CALLBACK_COMMON' return; \ ^ glu.c:68:2: note: expanded from macro '\ GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ note: (skipping 2 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :103:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] t_combine_data(coords, vertex_data, weight, outData, user_data) ^ glu.c:744:35: warning: parameter 'arg3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] glu_TessProperty(obj, arg1, arg2, arg3) ^ glu.c:750:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :104:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:753:2: warning: 'gluTessProperty' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessProperty(tdata->tobj, property, value); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:295:13: note: 'gluTessProperty' has been explicitly marked deprecated here extern void gluTessProperty (GLUtesselator* tess, GLenum which, GLdouble data) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessProperty(obj, arg1, arg2, arg3) ^ glu.c:764:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :105:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:766:2: warning: 'gluGetTessProperty' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluGetTessProperty(tdata->tobj, property, &value); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:263:13: note: 'gluGetTessProperty' has been explicitly marked deprecated here extern void gluGetTessProperty (GLUtesselator* tess, GLenum which, GLdouble* data) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_GetTessProperty(obj, arg1, arg2) ^ glu.c:776:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :106:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:780:2: warning: 'gluTessNormal' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessNormal(tdata->tobj, x, y, z); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:294:13: note: 'gluTessNormal' has been explicitly marked deprecated here extern void gluTessNormal (GLUtesselator* tess, GLdouble valueX, GLdouble valueY, GLdouble valueZ) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessNormal(obj, arg1, arg2, arg3, arg4) ^ glu.c:789:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :107:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:794:2: warning: 'gluTessBeginPolygon' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessBeginPolygon(tdata->tobj, (void*)arg2); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:290:13: note: 'gluTessBeginPolygon' has been explicitly marked deprecated here extern void gluTessBeginPolygon (GLUtesselator* tess, GLvoid* data) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessBeginPolygon(obj, arg1, arg2) ^ glu.c:803:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :108:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:804:2: warning: 'gluTessEndPolygon' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessEndPolygon(tdata->tobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:293:13: note: 'gluTessEndPolygon' has been explicitly marked deprecated here extern void gluTessEndPolygon (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessEndPolygon(obj, arg1) ^ glu.c:817:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :109:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:818:2: warning: 'gluTessBeginContour' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessBeginContour(tdata->tobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:289:13: note: 'gluTessBeginContour' has been explicitly marked deprecated here extern void gluTessBeginContour (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessBeginContour(obj, arg1) ^ glu.c:827:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :110:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:828:2: warning: 'gluTessEndContour' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessEndContour(tdata->tobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:292:13: note: 'gluTessEndContour' has been explicitly marked deprecated here extern void gluTessEndContour (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessEndContour(obj, arg1) ^ glu.c:848:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :111:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:854:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_BEGIN,t_begin) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:854:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_BEGIN,t_begin) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:855:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_BEGIN_DATA,t_begin_data) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:855:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_BEGIN_DATA,t_begin_data) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:856:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_EDGE_FLAG,t_edgeFlag) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:856:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_EDGE_FLAG,t_edgeFlag) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:857:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_EDGE_FLAG_DATA,t_edgeFlag_data) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:857:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_EDGE_FLAG_DATA,t_edgeFlag_data) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:858:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_VERTEX,t_vertex) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:858:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_VERTEX,t_vertex) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:859:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_VERTEX_DATA,t_vertex_data) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:859:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_VERTEX_DATA,t_vertex_data) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:860:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_END,t_end) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:860:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_END,t_end) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:861:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_END_DATA,t_end_data) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:861:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_END_DATA,t_end_data) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:862:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_ERROR,t_error) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:862:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_ERROR,t_error) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:863:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_ERROR_DATA,t_error_data) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:863:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_ERROR_DATA,t_error_data) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:864:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_COMBINE,t_combine) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:864:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_COMBINE,t_combine) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:865:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_COMBINE_DATA,t_combine_data) ^ glu.c:837:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, NULL); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:865:3: warning: 'gluTessCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] TESS_CALLBACK_CASE(TESS_COMBINE_DATA,t_combine_data) ^ glu.c:839:17: note: expanded from macro 'TESS_CALLBACK_CASE' gluTessCallback(tdata->tobj, type, _function_); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:291:13: note: 'gluTessCallback' has been explicitly marked deprecated here extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessCallback(obj, arg1, arg2, arg3) ^ glu.c:877:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :124:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:880:2: warning: 'gluBeginPolygon' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluBeginPolygon(tdata->tobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:241:13: note: 'gluBeginPolygon' has been explicitly marked deprecated here extern void gluBeginPolygon (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:873:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_BeginPolygon(obj, arg1) ^ glu.c:890:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :125:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:894:2: warning: 'gluTessVertex' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluTessVertex(tdata->tobj, v,(void *)arg3); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:296:13: note: 'gluTessVertex' has been explicitly marked deprecated here extern void gluTessVertex (GLUtesselator* tess, GLdouble *location, GLvoid* data) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_TessVertex(obj, arg1, arg2, arg3) ^ glu.c:904:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :126:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:906:2: warning: 'gluNextContour' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluNextContour(tdata->tobj, type); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:269:13: note: 'gluNextContour' has been explicitly marked deprecated here extern void gluNextContour (GLUtesselator* tess, GLenum type) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NextContour(obj, arg1, arg2) ^ glu.c:915:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetTESS(arg1, tdata); ^ glu.c:68:2: note: expanded from macro 'GetTESS' Data_Get_Struct(obj, struct tessdata, tdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :127:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:916:2: warning: 'gluEndPolygon' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluEndPolygon(tdata->tobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:257:13: note: 'gluEndPolygon' has been explicitly marked deprecated here extern void gluEndPolygon (GLUtesselator* tess) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_EndPolygon(obj, arg1) ^ glu.c:937:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(quad, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :128:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] q_error(errorno) ^ glu.c:947:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :129:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:958:3: warning: 'gluQuadricCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluQuadricCallback(qdata->qobj, type, NULL); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:282:13: note: 'gluQuadricCallback' has been explicitly marked deprecated here extern void gluQuadricCallback (GLUquadric* quad, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:960:3: warning: 'gluQuadricCallback' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluQuadricCallback(qdata->qobj, type, q_error); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:282:13: note: 'gluQuadricCallback' has been explicitly marked deprecated here extern void gluQuadricCallback (GLUquadric* quad, GLenum which, GLvoid (*CallBackFunc)()) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_QuadricCallback(obj, arg1, arg2, arg3) ^ glu.c:970:20: warning: 'gluDeleteQuadric' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] if (qdata->qobj) gluDeleteQuadric(qdata->qobj); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:253:13: note: 'gluDeleteQuadric' has been explicitly marked deprecated here extern void gluDeleteQuadric (GLUquadric* quad) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_quad(qdata) ^ glu.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mark_quad(qdata) ^ glu.c:988:16: warning: 'gluNewQuadric' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] qdata->qobj = gluNewQuadric(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:267:20: note: 'gluNewQuadric' has been explicitly marked deprecated here extern GLUquadric* gluNewQuadric (void) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_NewQuadric(obj) ^ glu.c:998:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :130:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_DeleteQuadric(obj, arg1) ^ glu.c:1009:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :131:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1011:2: warning: 'gluQuadricNormals' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluQuadricNormals(qdata->qobj, normals); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:284:13: note: 'gluQuadricNormals' has been explicitly marked deprecated here extern void gluQuadricNormals (GLUquadric* quad, GLenum normal) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_QuadricNormals(obj, arg1, arg2) ^ glu.c:1021:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :132:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1023:2: warning: 'gluQuadricTexture' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluQuadricTexture(qdata->qobj, textureCoords); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:286:13: note: 'gluQuadricTexture' has been explicitly marked deprecated here extern void gluQuadricTexture (GLUquadric* quad, GLboolean texture) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1016:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_QuadricTexture(obj, arg1, arg2) ^ glu.c:1033:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :133:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1035:2: warning: 'gluQuadricOrientation' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluQuadricOrientation(qdata->qobj, orientation); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:285:13: note: 'gluQuadricOrientation' has been explicitly marked deprecated here extern void gluQuadricOrientation (GLUquadric* quad, GLenum orientation) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_QuadricOrientation(obj, arg1, arg2) ^ glu.c:1045:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :134:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1047:2: warning: 'gluQuadricDrawStyle' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluQuadricDrawStyle(qdata->qobj, drawStyle); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:283:13: note: 'gluQuadricDrawStyle' has been explicitly marked deprecated here extern void gluQuadricDrawStyle (GLUquadric* quad, GLenum draw) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_QuadricDrawStyle(obj, arg1, arg2) ^ glu.c:1062:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :135:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1070:2: warning: 'gluCylinder' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluCylinder(qdata->qobj, baseRadius, topRadius, height, slices, stacks); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:251:13: note: 'gluCylinder' has been explicitly marked deprecated here extern void gluCylinder (GLUquadric* quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Cylinder(obj, arg1, arg2, arg3, arg4, arg5, arg6) ^ glu.c:1085:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :136:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1093:2: warning: 'gluDisk' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluDisk(qdata->qobj, innerRadius, outerRadius, slices, loops); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:255:13: note: 'gluDisk' has been explicitly marked deprecated here extern void gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Disk(obj, arg1, arg2, arg3, arg4, arg5) ^ glu.c:1110:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :137:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1119:2: warning: 'gluPartialDisk' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluPartialDisk(qdata->qobj, innerRadius, outerRadius, slices, loops, startAngle, sweepAngle); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:277:13: note: 'gluPartialDisk' has been explicitly marked deprecated here extern void gluPartialDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops, GLdouble start, GLdouble sweep) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_PartialDisk(obj, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ^ glu.c:1133:2: warning: 'rb_data_object_get_warning' is deprecated: by TypedData [-Wdeprecated-declarations] GetQUAD(arg1, qdata); ^ glu.c:73:2: note: expanded from macro 'GetQUAD' Data_Get_Struct(obj, struct quaddata, qdata);\ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:275:34: note: expanded from macro 'Data_Get_Struct' ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:367:31: note: expanded from macro 'rb_data_object_get' #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) ^ note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all) /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:49:35: note: expanded from macro 'RBIMPL_MACRO_SELECT' #define RBIMPL_MACRO_SELECT(x, y) x ## y ^ :138:1: note: expanded from here rb_data_object_get_1 ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:365:31: note: expanded from macro 'rb_data_object_get_1' #define rb_data_object_get_1 rb_data_object_get_warning ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:314:1: note: 'rb_data_object_get_warning' has been explicitly marked deprecated here RBIMPL_ATTRSET_UNTYPED_DATA_FUNC() ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rdata.h:47:5: note: expanded from macro 'RBIMPL_ATTRSET_UNTYPED_DATA_FUNC' RBIMPL_ATTR_DEPRECATED(("by TypedData")) ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ glu.c:1139:2: warning: 'gluSphere' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluSphere(qdata->qobj, radius, slices, stacks); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:288:13: note: 'gluSphere' has been explicitly marked deprecated here extern void gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Sphere(obj, arg1, arg2, arg3, arg4) ^ glu.c:1169:2: warning: 'gluLookAt' is deprecated: first deprecated in macOS 10.9 - "Use GLKMatrix4MakeLookAt" [-Wdeprecated-declarations] gluLookAt( eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz ); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:265:13: note: 'gluLookAt' has been explicitly marked deprecated here extern void gluLookAt (GLdouble eyeX, GLdouble eyeY, GLdouble eyeZ, GLdouble centerX, GLdouble centerY, GLdouble centerZ, GLdouble upX, GLdouble upY, GLdouble upZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakeLookAt"); ^ glu.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_LookAt(obj,arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) ^ glu.c:1185:2: warning: 'gluOrtho2D' is deprecated: first deprecated in macOS 10.9 - "Use GLKMatrix4MakeOrtho" [-Wdeprecated-declarations] gluOrtho2D(left,right,bottom,top); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:276:13: note: 'gluOrtho2D' has been explicitly marked deprecated here extern void gluOrtho2D (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakeOrtho"); ^ glu.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Ortho2D(obj,arg1,arg2,arg3,arg4) ^ glu.c:1201:2: warning: 'gluPerspective' is deprecated: first deprecated in macOS 10.9 - "Use GLKMatrix4MakePerspective" [-Wdeprecated-declarations] gluPerspective(fovy,aspect,zNear,zFar); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:278:13: note: 'gluPerspective' has been explicitly marked deprecated here extern void gluPerspective (GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMatrix4MakePerspective"); ^ glu.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Perspective(obj,arg1,arg2,arg3,arg4) ^ glu.c:1223:4: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetIntegerv(GL_VIEWPORT, viewport); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1228:4: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetIntegerv(GL_VIEWPORT, viewport); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1240:2: warning: 'gluPickMatrix' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] gluPickMatrix(x, y, width, height, viewport); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:279:13: note: 'gluPickMatrix' has been explicitly marked deprecated here extern void gluPickMatrix (GLdouble x, GLdouble y, GLdouble delX, GLdouble delY, GLint *viewport) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_PickMatrix(argc,argv,obj) ^ glu.c:1265:4: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetDoublev(GL_MODELVIEW_MATRIX, mdl_mtx); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1266:4: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetDoublev(GL_PROJECTION_MATRIX, prj_mtx); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1267:4: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetIntegerv(GL_VIEWPORT, vport); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1270:41: warning: too few arguments in call to 'ary2cmatdouble' ary2cmatdouble(args[3], mdl_mtx, 4, 4); ~~~~~~~~~~~~~~ ^ glu.c:1271:41: warning: too few arguments in call to 'ary2cmatdouble' ary2cmatdouble(args[4], prj_mtx, 4, 4); ~~~~~~~~~~~~~~ ^ glu.c:1281:6: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations] if (gluProject(ox, oy, oz, mdl_mtx, prj_mtx, vport, &wx, &wy, &wz) == GL_TRUE) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject"); ^ glu.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Project(argc,argv,obj) ^ glu.c:1310:4: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetDoublev(GL_MODELVIEW_MATRIX, mdl_mtx); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1311:4: warning: 'glGetDoublev' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetDoublev(GL_PROJECTION_MATRIX, prj_mtx); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2507:13: note: 'glGetDoublev' has been explicitly marked deprecated here extern void glGetDoublev (GLenum pname, GLdouble *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1312:4: warning: 'glGetIntegerv' is deprecated: first deprecated in macOS 10.14 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glGetIntegerv(GL_VIEWPORT, vport); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2513:13: note: 'glGetIntegerv' has been explicitly marked deprecated here extern void glGetIntegerv (GLenum pname, GLint *params) OPENGL_DEPRECATED(10.0, 10.14); ^ glu.c:1315:41: warning: too few arguments in call to 'ary2cmatdouble' ary2cmatdouble(args[3], mdl_mtx, 4, 4); ~~~~~~~~~~~~~~ ^ glu.c:1316:41: warning: too few arguments in call to 'ary2cmatdouble' ary2cmatdouble(args[4], prj_mtx, 4, 4); ~~~~~~~~~~~~~~ ^ glu.c:1326:6: warning: 'gluUnProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathUnproject" [-Wdeprecated-declarations] if (gluUnProject(wx, wy, wz, mdl_mtx, prj_mtx, vport, &ox, &oy, &oz) == GL_TRUE) { ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:297:14: note: 'gluUnProject' has been explicitly marked deprecated here extern GLint gluUnProject (GLdouble winX, GLdouble winY, GLdouble winZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* objX, GLdouble* objY, GLdouble* objZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathUnproject"); ^ glu.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_UnProject(argc,argv,obj) ^ glu.c:1355:8: warning: 'gluBuild1DMipmaps' is deprecated: first deprecated in macOS 10.9 - "Use glGenerateMipmap" [-Wdeprecated-declarations] ret = gluBuild1DMipmaps(target, components, width, format, type, RSTRING_PTR(arg6)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:245:14: note: 'gluBuild1DMipmaps' has been explicitly marked deprecated here extern GLint gluBuild1DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use glGenerateMipmap"); ^ glu.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Build1DMipmaps(obj, arg1, arg2, arg3, arg4, arg5, arg6) ^ glu.c:1382:8: warning: 'gluBuild2DMipmaps' is deprecated: first deprecated in macOS 10.9 - "Use glGenerateMipmap" [-Wdeprecated-declarations] ret = gluBuild2DMipmaps(target, components, width, height, format, type, RSTRING_PTR(arg7)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:247:14: note: 'gluBuild2DMipmaps' has been explicitly marked deprecated here extern GLint gluBuild2DMipmaps (GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *data) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use glGenerateMipmap"); ^ glu.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_Build2DMipmaps(obj, arg1, arg2, arg3, arg4, arg5, arg6, arg7) ^ glu.c:1414:12: warning: 'gluScaleImage' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] retcode = gluScaleImage(format, widthin, heightin, typein, datain, ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:287:14: note: 'gluScaleImage' has been explicitly marked deprecated here extern GLint gluScaleImage (GLenum format, GLsizei wIn, GLsizei hIn, GLenum typeIn, const void *dataIn, GLsizei wOut, GLsizei hOut, GLenum typeOut, GLvoid* dataOut) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_ScaleImage(obj, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) ^ glu.c:1429:20: warning: 'gluErrorString' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] error = (GLubyte*)gluErrorString(errorCode); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:260:24: note: 'gluErrorString' has been explicitly marked deprecated here extern const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_ErrorString(obj, arg1) ^ glu.c:1443:18: warning: 'gluGetString' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] str = (GLubyte*)gluGetString(name); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glu.h:262:24: note: 'gluGetString' has been explicitly marked deprecated here extern const GLubyte * gluGetString (GLenum name) OPENGL_DEPRECATED(10.0, 10.9); ^ glu.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glu_GetString(obj, arg1) ^ 306 warnings generated. clang -dynamic -bundle -framework OpenGL -L/opt/pkg/lib -L/opt/pkg/lib -o glu.bundle glu-enums.o glu.o -lpthread -lpthread -lruby34.3.4.4 /opt/pkg/bin/ruby34 mkrf_conf.rb cp ext/glu/glu.bundle lib /opt/pkg/bin/rake34 clang -fno-common -pipe -Os -I/opt/pkg/include -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fdeclspec -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -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 -Wmisleading-indentation -Wundef -fno-common -arch arm64 -DRUBY_VERSION=344 -I/opt/pkg/include/ruby-3.4.0 -I/opt/pkg/include/ruby-3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/3.4.0/arm64-darwin23 -I/opt/pkg/lib/ruby/site_ruby/3.4.0 -I. -c glut.c In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:55:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2double,double,FIX2LONG,rb_num2dbl) ^ ./../common/conv.h:58:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2int,long,FIX2LONG,rb_num2int) ^ ./../common/conv.h:59:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FASTCONV(num2uint,unsigned long,FIX2ULONG,rb_num2uint) ^ ./../common/conv.h:116:1: warning: implicit conversion loses integer precision: 'GLint64EXT' (aka 'long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_LL,GLint64EXT,LL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:117:1: warning: implicit conversion loses integer precision: 'GLuint64EXT' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32] cond_GLBOOL2RUBY_FUNC(cond_GLBOOL2RUBY_ULL,GLuint64EXT,ULL2NUM) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:108:22: note: expanded from macro 'cond_GLBOOL2RUBY_FUNC' return GLBOOL2RUBY(value); \ ~~~~~~~~~~~~^~~~~~ ./../common/conv.h:78:80: note: expanded from macro 'GLBOOL2RUBY' #define GLBOOL2RUBY(x) (x)==GL_TRUE? Qtrue :( (x)==GL_FALSE? Qfalse : INT2NUM((x))) ~~~~~~~ ^ ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(int,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :43:1: note: expanded from here ary2cint ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:142:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(int,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(uint,NUM2UINT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :46:1: note: expanded from here ary2cuint ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:143:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(uint,NUM2UINT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(byte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :49:1: note: expanded from here ary2cbyte ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:144:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(byte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ubyte,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :52:1: note: expanded from here ary2cubyte ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:145:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ubyte,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(short,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :55:1: note: expanded from here ary2cshort ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:146:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(short,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(ushort,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :58:1: note: expanded from here ary2cushort ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:147:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(ushort,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(boolean,NUM2INT) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :61:1: note: expanded from here ary2cboolean ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:148:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(boolean,NUM2INT) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(float,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :64:1: note: expanded from here ary2cfloat ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:149:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(float,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:29: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:38: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: incompatible pointer to integer conversion passing 'struct RArray *' to parameter of type 'VALUE' (aka 'unsigned long') [-Wint-conversion] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:65: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ^~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:255:20: note: passing argument to parameter 'a' here rb_array_len(VALUE a) ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CTYPE(double,NUM2DBL) ^ ./../common/conv.h:125:19: note: expanded from macro 'ARY2CTYPE' static inline int ary2c##_type_( arg, cary, maxlen ) \ ^ :67:1: note: expanded from here ary2cdouble ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:134:18: note: expanded from macro 'ARY2CTYPE' maxlen = RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:150:1: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ARY2CTYPE(double,NUM2DBL) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./../common/conv.h:136:54: note: expanded from macro 'ARY2CTYPE' maxlen = maxlen < RARRAY_LEN(ary) ? maxlen : RARRAY_LEN(ary); \ ~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:176:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(double) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :70:1: note: expanded from here ary2cmatdouble ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:177:1: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] ARY2CMAT(float) ^ ./../common/conv.h:159:61: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ ./../common/conv.h:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./../common/conv.h:159:20: note: expanded from macro 'ARY2CMAT' static inline void ary2cmat##_type_(rary, cary, cols, rows, count) \ ^ :71:1: note: expanded from here ary2cmatfloat ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(double) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :73:1: note: expanded from here ary2cmatdoublecount ^ In file included from glut.c:23: In file included from ./../common/common.h:54: ./../common/conv.h:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ARY2CMATCNT(float) ^ ./../common/conv.h:181:20: note: expanded from macro 'ARY2CMATCNT' static inline void ary2cmat##_type_##count(rary, cary, cols, rows) \ ^ :75:1: note: expanded from here ary2cmatfloatcount ^ In file included from glut.c:23: ./../common/common.h:364:13: warning: 'NSAddImage' is deprecated: first deprecated in macOS 10.5 - dlopen() [-Wdeprecated-declarations] library = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL",NSADDIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:256:34: note: 'NSAddImage' has been explicitly marked deprecated here extern const struct mach_header* NSAddImage(const char* image_name, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlopen()"); ^ In file included from glut.c:23: ./../common/common.h:374:11: warning: 'NSLookupSymbolInImage' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] symbol = NSLookupSymbolInImage(library,symbolName,NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:208:17: note: 'NSLookupSymbolInImage' has been explicitly marked deprecated here extern NSSymbol NSLookupSymbolInImage(const struct mach_header* image, const char* symbolName, uint32_t options) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from glut.c:23: ./../common/common.h:380:14: warning: 'NSAddressOfSymbol' is deprecated: first deprecated in macOS 10.5 - dlsym() [-Wdeprecated-declarations] func_ptr = NSAddressOfSymbol(symbol); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/mach-o/dyld.h:214:21: note: 'NSAddressOfSymbol' has been explicitly marked deprecated here extern void * NSAddressOfSymbol(NSSymbol symbol) __API_UNAVAILABLE(ios, tvos, watchos) DYLD_DRIVERKIT_UNAVAILABLE DYLD_EXCLAVEKIT_UNAVAILABLE __OSX_DEPRECATED(10.1, 10.5, "dlsym()"); ^ In file included from glut.c:23: ./../common/common.h:405:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_FLOAT: type_str = "f*"; break; ^ ~~~~ ./../common/common.h:406:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_DOUBLE: type_str = "d*"; break; ^ ~~~~ ./../common/common.h:407:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_BYTE: type_str = "c*"; break; ^ ~~~~ ./../common/common.h:408:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_SHORT: type_str = "s*"; break; ^ ~~~~ ./../common/common.h:409:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_INT: type_str = "i*"; break; ^ ~~~~ ./../common/common.h:410:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_BYTE: type_str = "C*"; break; ^ ~~~~ ./../common/common.h:411:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_SHORT: type_str = "S*"; break; ^ ~~~~ ./../common/common.h:412:36: warning: assigning to 'char *' from 'const char[3]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] case GL_UNSIGNED_INT: type_str = "I*"; break; ^ ~~~~ glut.c:96:14: warning: call to undeclared function 'STR2CSTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] largv[i] = STR2CSTR(RARRAY_PTR(orig_arg)[i]); ^ glut.c:96:12: warning: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] largv[i] = STR2CSTR(RARRAY_PTR(orig_arg)[i]); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glut.c:98:2: warning: 'glutInit' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutInit(&largc, largv); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:431:22: note: 'glutInit' has been explicitly marked deprecated here extern void APIENTRY glutInit(int *argcp, char **argv) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:93:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] largc = RARRAY_LEN(orig_arg); ~ ^~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/core/rarray.h:51:36: note: expanded from macro 'RARRAY_LEN' #define RARRAY_LEN rb_array_len /**< @alias{rb_array_len} */ ^ glut.c:115:2: warning: 'glutInitDisplayMode' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutInitDisplayMode(mode); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:432:22: note: 'glutInitDisplayMode' has been explicitly marked deprecated here extern void APIENTRY glutInitDisplayMode(unsigned int mode) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:110:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VALUE glut_InitDisplayMode(obj,arg1) ^ glut.c:124:2: warning: 'glutInitDisplayString' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutInitDisplayString(RSTRING_PTR(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:434:22: note: 'glutInitDisplayString' has been explicitly marked deprecated here extern void APIENTRY glutInitDisplayString(const char *string) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_InitDisplayString(obj,arg1) ^ glut.c:135:2: warning: 'glutInitWindowPosition' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutInitWindowPosition(x,y); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:436:22: note: 'glutInitWindowPosition' has been explicitly marked deprecated here extern void APIENTRY glutInitWindowPosition(int x, int y) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_InitWindowPosition(obj,arg1,arg2) ^ glut.c:133:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:134:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:147:2: warning: 'glutInitWindowSize' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutInitWindowSize(width,height); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:437:22: note: 'glutInitWindowSize' has been explicitly marked deprecated here extern void APIENTRY glutInitWindowSize(int width, int height) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_InitWindowSize(obj, arg1, arg2) ^ glut.c:145:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] width = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:146:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] height = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:151:1: warning: 'glutMainLoop' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(MainLoop) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :77:1: note: expanded from here glutMainLoop ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:438:22: note: 'glutMainLoop' has been explicitly marked deprecated here extern void APIENTRY glutMainLoop(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(MainLoop) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :76:1: note: expanded from here glut_MainLoop ^ glut.c:175:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(DisplayFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:175:1: warning: 'glutDisplayFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(DisplayFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :81:1: note: expanded from here glutDisplayFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:505:22: note: 'glutDisplayFunc' has been explicitly marked deprecated here extern void APIENTRY glutDisplayFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:175:1: warning: 'glutDisplayFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(DisplayFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :82:1: note: expanded from here glutDisplayFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:505:22: note: 'glutDisplayFunc' has been explicitly marked deprecated here extern void APIENTRY glutDisplayFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(DisplayFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :80:1: note: expanded from here glut_DisplayFunc ^ glut.c:176:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(ReshapeFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:176:1: warning: 'glutReshapeFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(ReshapeFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :88:1: note: expanded from here glutReshapeFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:506:22: note: 'glutReshapeFunc' has been explicitly marked deprecated here extern void APIENTRY glutReshapeFunc(void (*func)(int width, int height)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:176:1: warning: 'glutReshapeFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(ReshapeFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :89:1: note: expanded from here glutReshapeFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:506:22: note: 'glutReshapeFunc' has been explicitly marked deprecated here extern void APIENTRY glutReshapeFunc(void (*func)(int width, int height)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(ReshapeFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :87:1: note: expanded from here glut_ReshapeFunc ^ glut.c:177:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(KeyboardFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:177:1: warning: 'glutKeyboardFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(KeyboardFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :95:1: note: expanded from here glutKeyboardFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:507:22: note: 'glutKeyboardFunc' has been explicitly marked deprecated here extern void APIENTRY glutKeyboardFunc(void (*func)(unsigned char key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:177:1: warning: 'glutKeyboardFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(KeyboardFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :96:1: note: expanded from here glutKeyboardFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:507:22: note: 'glutKeyboardFunc' has been explicitly marked deprecated here extern void APIENTRY glutKeyboardFunc(void (*func)(unsigned char key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(KeyboardFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :94:1: note: expanded from here glut_KeyboardFunc ^ glut.c:178:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(MouseFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:178:1: warning: 'glutMouseFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(MouseFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :102:1: note: expanded from here glutMouseFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:508:22: note: 'glutMouseFunc' has been explicitly marked deprecated here extern void APIENTRY glutMouseFunc(void (*func)(int button, int state, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:178:1: warning: 'glutMouseFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(MouseFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :103:1: note: expanded from here glutMouseFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:508:22: note: 'glutMouseFunc' has been explicitly marked deprecated here extern void APIENTRY glutMouseFunc(void (*func)(int button, int state, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(MouseFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :101:1: note: expanded from here glut_MouseFunc ^ glut.c:179:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(MotionFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:179:1: warning: 'glutMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(MotionFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :109:1: note: expanded from here glutMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:509:22: note: 'glutMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:179:1: warning: 'glutMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(MotionFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :110:1: note: expanded from here glutMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:509:22: note: 'glutMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(MotionFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :108:1: note: expanded from here glut_MotionFunc ^ glut.c:180:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(PassiveMotionFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:180:1: warning: 'glutPassiveMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(PassiveMotionFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :116:1: note: expanded from here glutPassiveMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:510:22: note: 'glutPassiveMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutPassiveMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:180:1: warning: 'glutPassiveMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(PassiveMotionFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :117:1: note: expanded from here glutPassiveMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:510:22: note: 'glutPassiveMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutPassiveMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(PassiveMotionFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :115:1: note: expanded from here glut_PassiveMotionFunc ^ glut.c:181:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(EntryFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:181:1: warning: 'glutEntryFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(EntryFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :123:1: note: expanded from here glutEntryFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:511:22: note: 'glutEntryFunc' has been explicitly marked deprecated here extern void APIENTRY glutEntryFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:181:1: warning: 'glutEntryFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(EntryFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :124:1: note: expanded from here glutEntryFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:511:22: note: 'glutEntryFunc' has been explicitly marked deprecated here extern void APIENTRY glutEntryFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(EntryFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :122:1: note: expanded from here glut_EntryFunc ^ glut.c:182:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(VisibilityFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:182:1: warning: 'glutVisibilityFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(VisibilityFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :130:1: note: expanded from here glutVisibilityFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:512:22: note: 'glutVisibilityFunc' has been explicitly marked deprecated here extern void APIENTRY glutVisibilityFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:182:1: warning: 'glutVisibilityFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(VisibilityFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :131:1: note: expanded from here glutVisibilityFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:512:22: note: 'glutVisibilityFunc' has been explicitly marked deprecated here extern void APIENTRY glutVisibilityFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(VisibilityFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :129:1: note: expanded from here glut_VisibilityFunc ^ glut.c:183:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpecialFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:183:1: warning: 'glutSpecialFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpecialFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :137:1: note: expanded from here glutSpecialFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:517:22: note: 'glutSpecialFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpecialFunc(void (*func)(int key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:183:1: warning: 'glutSpecialFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpecialFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :138:1: note: expanded from here glutSpecialFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:517:22: note: 'glutSpecialFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpecialFunc(void (*func)(int key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(SpecialFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :136:1: note: expanded from here glut_SpecialFunc ^ glut.c:184:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballMotionFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:184:1: warning: 'glutSpaceballMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballMotionFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :144:1: note: expanded from here glutSpaceballMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:518:22: note: 'glutSpaceballMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpaceballMotionFunc(void (*func)(int x, int y, int z)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:184:1: warning: 'glutSpaceballMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballMotionFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :145:1: note: expanded from here glutSpaceballMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:518:22: note: 'glutSpaceballMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpaceballMotionFunc(void (*func)(int x, int y, int z)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(SpaceballMotionFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :143:1: note: expanded from here glut_SpaceballMotionFunc ^ glut.c:185:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballRotateFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:185:1: warning: 'glutSpaceballRotateFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballRotateFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :151:1: note: expanded from here glutSpaceballRotateFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:519:22: note: 'glutSpaceballRotateFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpaceballRotateFunc(void (*func)(int x, int y, int z)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:185:1: warning: 'glutSpaceballRotateFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballRotateFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :152:1: note: expanded from here glutSpaceballRotateFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:519:22: note: 'glutSpaceballRotateFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpaceballRotateFunc(void (*func)(int x, int y, int z)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(SpaceballRotateFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :150:1: note: expanded from here glut_SpaceballRotateFunc ^ glut.c:186:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballButtonFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:186:1: warning: 'glutSpaceballButtonFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballButtonFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :158:1: note: expanded from here glutSpaceballButtonFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:520:22: note: 'glutSpaceballButtonFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpaceballButtonFunc(void (*func)(int button, int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:186:1: warning: 'glutSpaceballButtonFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpaceballButtonFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :159:1: note: expanded from here glutSpaceballButtonFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:520:22: note: 'glutSpaceballButtonFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpaceballButtonFunc(void (*func)(int button, int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(SpaceballButtonFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :157:1: note: expanded from here glut_SpaceballButtonFunc ^ glut.c:187:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(ButtonBoxFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:187:1: warning: 'glutButtonBoxFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(ButtonBoxFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :165:1: note: expanded from here glutButtonBoxFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:521:22: note: 'glutButtonBoxFunc' has been explicitly marked deprecated here extern void APIENTRY glutButtonBoxFunc(void (*func)(int button, int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:187:1: warning: 'glutButtonBoxFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(ButtonBoxFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :166:1: note: expanded from here glutButtonBoxFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:521:22: note: 'glutButtonBoxFunc' has been explicitly marked deprecated here extern void APIENTRY glutButtonBoxFunc(void (*func)(int button, int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(ButtonBoxFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :164:1: note: expanded from here glut_ButtonBoxFunc ^ glut.c:188:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(DialsFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:188:1: warning: 'glutDialsFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(DialsFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :172:1: note: expanded from here glutDialsFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:522:22: note: 'glutDialsFunc' has been explicitly marked deprecated here extern void APIENTRY glutDialsFunc(void (*func)(int dial, int value)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:188:1: warning: 'glutDialsFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(DialsFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :173:1: note: expanded from here glutDialsFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:522:22: note: 'glutDialsFunc' has been explicitly marked deprecated here extern void APIENTRY glutDialsFunc(void (*func)(int dial, int value)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(DialsFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :171:1: note: expanded from here glut_DialsFunc ^ glut.c:189:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(TabletMotionFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:189:1: warning: 'glutTabletMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(TabletMotionFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :179:1: note: expanded from here glutTabletMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:523:22: note: 'glutTabletMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutTabletMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:189:1: warning: 'glutTabletMotionFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(TabletMotionFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :180:1: note: expanded from here glutTabletMotionFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:523:22: note: 'glutTabletMotionFunc' has been explicitly marked deprecated here extern void APIENTRY glutTabletMotionFunc(void (*func)(int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(TabletMotionFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :178:1: note: expanded from here glut_TabletMotionFunc ^ glut.c:190:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(TabletButtonFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:190:1: warning: 'glutTabletButtonFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(TabletButtonFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :186:1: note: expanded from here glutTabletButtonFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:524:22: note: 'glutTabletButtonFunc' has been explicitly marked deprecated here extern void APIENTRY glutTabletButtonFunc(void (*func)(int button, int state, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:190:1: warning: 'glutTabletButtonFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(TabletButtonFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :2:1: note: expanded from here glutTabletButtonFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:524:22: note: 'glutTabletButtonFunc' has been explicitly marked deprecated here extern void APIENTRY glutTabletButtonFunc(void (*func)(int button, int state, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(TabletButtonFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :185:1: note: expanded from here glut_TabletButtonFunc ^ glut.c:191:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(OverlayDisplayFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:191:1: warning: 'glutOverlayDisplayFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(OverlayDisplayFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :8:1: note: expanded from here glutOverlayDisplayFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:527:22: note: 'glutOverlayDisplayFunc' has been explicitly marked deprecated here extern void APIENTRY glutOverlayDisplayFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:191:1: warning: 'glutOverlayDisplayFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(OverlayDisplayFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :9:1: note: expanded from here glutOverlayDisplayFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:527:22: note: 'glutOverlayDisplayFunc' has been explicitly marked deprecated here extern void APIENTRY glutOverlayDisplayFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(OverlayDisplayFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :7:1: note: expanded from here glut_OverlayDisplayFunc ^ glut.c:192:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(WindowStatusFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:192:1: warning: 'glutWindowStatusFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(WindowStatusFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :15:1: note: expanded from here glutWindowStatusFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:529:22: note: 'glutWindowStatusFunc' has been explicitly marked deprecated here extern void APIENTRY glutWindowStatusFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:192:1: warning: 'glutWindowStatusFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(WindowStatusFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :16:1: note: expanded from here glutWindowStatusFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:529:22: note: 'glutWindowStatusFunc' has been explicitly marked deprecated here extern void APIENTRY glutWindowStatusFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(WindowStatusFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :14:1: note: expanded from here glut_WindowStatusFunc ^ glut.c:193:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(KeyboardUpFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:193:1: warning: 'glutKeyboardUpFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(KeyboardUpFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :22:1: note: expanded from here glutKeyboardUpFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:532:22: note: 'glutKeyboardUpFunc' has been explicitly marked deprecated here extern void APIENTRY glutKeyboardUpFunc(void (*func)(unsigned char key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:193:1: warning: 'glutKeyboardUpFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(KeyboardUpFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :23:1: note: expanded from here glutKeyboardUpFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:532:22: note: 'glutKeyboardUpFunc' has been explicitly marked deprecated here extern void APIENTRY glutKeyboardUpFunc(void (*func)(unsigned char key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(KeyboardUpFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :21:1: note: expanded from here glut_KeyboardUpFunc ^ glut.c:194:1: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpecialUpFunc) ^ glut.c:45:11: note: expanded from macro 'WINDOW_CALLBACK_SETUP' win = glutGetWindow(); \ ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:194:1: warning: 'glutSpecialUpFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpecialUpFunc) ^ glut.c:50:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut ## _funcname(NULL); \ ^ :29:1: note: expanded from here glutSpecialUpFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:533:22: note: 'glutSpecialUpFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpecialUpFunc(void (*func)(int key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:194:1: warning: 'glutSpecialUpFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] WINDOW_CALLBACK_SETUP(SpecialUpFunc) ^ glut.c:52:4: note: expanded from macro 'WINDOW_CALLBACK_SETUP' glut##_funcname(&glut_##_funcname##Callback); \ ^ :30:1: note: expanded from here glutSpecialUpFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:533:22: note: 'glutSpecialUpFunc' has been explicitly marked deprecated here extern void APIENTRY glutSpecialUpFunc(void (*func)(int key, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] WINDOW_CALLBACK_SETUP(SpecialUpFunc) ^ glut.c:38:14: note: expanded from macro 'WINDOW_CALLBACK_SETUP' static VALUE \ ^ :28:1: note: expanded from here glut_SpecialUpFunc ^ glut.c:207:8: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] win = glutGetWindow(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:212:3: warning: 'glutJoystickFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutJoystickFunc(NULL,pollinterval); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:534:22: note: 'glutJoystickFunc' has been explicitly marked deprecated here extern void APIENTRY glutJoystickFunc(void (*func)(unsigned int buttonMask, int x, int y, int z), int pollInterval) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:214:3: warning: 'glutJoystickFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutJoystickFunc(glut_JoystickFuncCallback,pollinterval); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:534:22: note: 'glutJoystickFunc' has been explicitly marked deprecated here extern void APIENTRY glutJoystickFunc(void (*func)(unsigned int buttonMask, int x, int y, int z), int pollInterval) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_JoystickFunc(obj,arg1,arg2) ^ glut.c:206:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] pollinterval=NUM2INT(arg2); ~^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:230:8: warning: 'glutCreateWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutCreateWindow(RSTRING_PTR(title)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:441:21: note: 'glutCreateWindow' has been explicitly marked deprecated here extern int APIENTRY glutCreateWindow(const char *title) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:219:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VALUE glut_CreateWindow(argc, argv, obj) ^ glut.c:246:8: warning: 'glutCreateSubWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutCreateSubWindow(win, x, y, width, height); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:442:21: note: 'glutCreateSubWindow' has been explicitly marked deprecated here extern int APIENTRY glutCreateSubWindow(int win, int x, int y, int width, int height) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_CreateSubWindow(obj,arg1,arg2,arg3,arg4,arg5) ^ glut.c:241:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] win = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:242:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:243:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = NUM2INT(arg3); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:244:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] width = NUM2INT(arg4); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:245:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] height = NUM2INT(arg5); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:256:2: warning: 'glutDestroyWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutDestroyWindow(win); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:443:22: note: 'glutDestroyWindow' has been explicitly marked deprecated here extern void APIENTRY glutDestroyWindow(int win) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_DestroyWindow(obj,arg1) ^ glut.c:255:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] win = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:260:1: warning: 'glutPostRedisplay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(PostRedisplay) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :34:1: note: expanded from here glutPostRedisplay ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:444:22: note: 'glutPostRedisplay' has been explicitly marked deprecated here extern void APIENTRY glutPostRedisplay(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(PostRedisplay) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :33:1: note: expanded from here glut_PostRedisplay ^ glut.c:262:1: warning: 'glutSwapBuffers' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(SwapBuffers) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :36:1: note: expanded from here glutSwapBuffers ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:448:22: note: 'glutSwapBuffers' has been explicitly marked deprecated here extern void APIENTRY glutSwapBuffers(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(SwapBuffers) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :35:1: note: expanded from here glut_SwapBuffers ^ glut.c:269:8: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutGetWindow(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_GetWindow(obj) ^ glut.c:280:2: warning: 'glutSetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetWindow(win); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:450:22: note: 'glutSetWindow' has been explicitly marked deprecated here extern void APIENTRY glutSetWindow(int win) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetWindow(obj,arg1) ^ glut.c:279:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] win = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:290:2: warning: 'glutSetWindowTitle' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetWindowTitle(RSTRING_PTR(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:451:22: note: 'glutSetWindowTitle' has been explicitly marked deprecated here extern void APIENTRY glutSetWindowTitle(const char *title) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetWindowTitle(obj,arg1) ^ glut.c:300:2: warning: 'glutSetIconTitle' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetIconTitle(RSTRING_PTR(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:452:22: note: 'glutSetIconTitle' has been explicitly marked deprecated here extern void APIENTRY glutSetIconTitle(const char *title) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetIconTitle(obj, arg1) ^ glut.c:312:2: warning: 'glutPositionWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutPositionWindow(x,y); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:453:22: note: 'glutPositionWindow' has been explicitly marked deprecated here extern void APIENTRY glutPositionWindow(int x, int y) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_PositionWindow(obj,arg1,arg2) ^ glut.c:310:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:311:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:324:2: warning: 'glutReshapeWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutReshapeWindow(width, height); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:454:22: note: 'glutReshapeWindow' has been explicitly marked deprecated here extern void APIENTRY glutReshapeWindow(int width, int height) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_ReshapeWindow(obj,arg1,arg2) ^ glut.c:322:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] width = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:323:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] height = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:329:1: warning: 'glutPopWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(PopWindow) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :38:1: note: expanded from here glutPopWindow ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:455:22: note: 'glutPopWindow' has been explicitly marked deprecated here extern void APIENTRY glutPopWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(PopWindow) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :37:1: note: expanded from here glut_PopWindow ^ glut.c:330:1: warning: 'glutPushWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(PushWindow) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :40:1: note: expanded from here glutPushWindow ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:456:22: note: 'glutPushWindow' has been explicitly marked deprecated here extern void APIENTRY glutPushWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(PushWindow) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :39:1: note: expanded from here glut_PushWindow ^ glut.c:331:1: warning: 'glutIconifyWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(IconifyWindow) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :42:1: note: expanded from here glutIconifyWindow ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:457:22: note: 'glutIconifyWindow' has been explicitly marked deprecated here extern void APIENTRY glutIconifyWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(IconifyWindow) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :41:1: note: expanded from here glut_IconifyWindow ^ glut.c:332:1: warning: 'glutShowWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(ShowWindow) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :44:1: note: expanded from here glutShowWindow ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:458:22: note: 'glutShowWindow' has been explicitly marked deprecated here extern void APIENTRY glutShowWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(ShowWindow) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :43:1: note: expanded from here glut_ShowWindow ^ glut.c:333:1: warning: 'glutHideWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(HideWindow) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :46:1: note: expanded from here glutHideWindow ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:459:22: note: 'glutHideWindow' has been explicitly marked deprecated here extern void APIENTRY glutHideWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(HideWindow) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :45:1: note: expanded from here glut_HideWindow ^ glut.c:334:1: warning: 'glutFullScreen' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(FullScreen) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :48:1: note: expanded from here glutFullScreen ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:461:22: note: 'glutFullScreen' has been explicitly marked deprecated here extern void APIENTRY glutFullScreen(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(FullScreen) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :47:1: note: expanded from here glut_FullScreen ^ glut.c:343:2: warning: 'glutSetCursor' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetCursor(cursor); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:462:22: note: 'glutSetCursor' has been explicitly marked deprecated here extern void APIENTRY glutSetCursor(int cursor) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetCursor(obj,arg1) ^ glut.c:342:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] cursor = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:354:2: warning: 'glutWarpPointer' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutWarpPointer(x,y); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:464:22: note: 'glutWarpPointer' has been explicitly marked deprecated here extern void APIENTRY glutWarpPointer(int x, int y) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WarpPointer(obj,arg1,arg2) ^ glut.c:352:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:353:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:359:1: warning: 'glutEstablishOverlay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(EstablishOverlay) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :50:1: note: expanded from here glutEstablishOverlay ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:480:22: note: 'glutEstablishOverlay' has been explicitly marked deprecated here extern void APIENTRY glutEstablishOverlay(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(EstablishOverlay) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :49:1: note: expanded from here glut_EstablishOverlay ^ glut.c:360:1: warning: 'glutRemoveOverlay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(RemoveOverlay) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :52:1: note: expanded from here glutRemoveOverlay ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:481:22: note: 'glutRemoveOverlay' has been explicitly marked deprecated here extern void APIENTRY glutRemoveOverlay(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(RemoveOverlay) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :51:1: note: expanded from here glut_RemoveOverlay ^ glut.c:361:1: warning: 'glutPostOverlayRedisplay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(PostOverlayRedisplay) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :54:1: note: expanded from here glutPostOverlayRedisplay ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:483:22: note: 'glutPostOverlayRedisplay' has been explicitly marked deprecated here extern void APIENTRY glutPostOverlayRedisplay(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(PostOverlayRedisplay) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :53:1: note: expanded from here glut_PostOverlayRedisplay ^ glut.c:362:1: warning: 'glutShowOverlay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(ShowOverlay) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :56:1: note: expanded from here glutShowOverlay ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:487:22: note: 'glutShowOverlay' has been explicitly marked deprecated here extern void APIENTRY glutShowOverlay(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(ShowOverlay) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :55:1: note: expanded from here glut_ShowOverlay ^ glut.c:363:1: warning: 'glutHideOverlay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(HideOverlay) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :58:1: note: expanded from here glutHideOverlay ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:488:22: note: 'glutHideOverlay' has been explicitly marked deprecated here extern void APIENTRY glutHideOverlay(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(HideOverlay) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :57:1: note: expanded from here glut_HideOverlay ^ glut.c:366:19: warning: parameter 'arg1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] glut_UseLayer(obj,arg1) ^ glut.c:366:15: warning: parameter 'obj' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] glut_UseLayer(obj,arg1) ^ glut.c:370:2: warning: 'glutUseLayer' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutUseLayer(layer); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:482:22: note: 'glutUseLayer' has been explicitly marked deprecated here extern void APIENTRY glutUseLayer(GLenum layer) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_UseLayer(obj,arg1) ^ glut.c:381:9: warning: 'glutGetMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] menu = glutGetMenu(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:494:21: note: 'glutGetMenu' has been explicitly marked deprecated here extern int APIENTRY glutGetMenu(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:396:10: warning: 'glutCreateMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] menu = glutCreateMenu(NULL); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:492:21: note: 'glutCreateMenu' has been explicitly marked deprecated here extern int APIENTRY glutCreateMenu(void (*)(int)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:398:10: warning: 'glutCreateMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] menu = glutCreateMenu(glut_CreateMenuCallback); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:492:21: note: 'glutCreateMenu' has been explicitly marked deprecated here extern int APIENTRY glutCreateMenu(void (*)(int)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_CreateMenu(obj,arg1) ^ glut.c:411:2: warning: 'glutDestroyMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutDestroyMenu(menu); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:493:22: note: 'glutDestroyMenu' has been explicitly marked deprecated here extern void APIENTRY glutDestroyMenu(int menu) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_DestroyMenu(obj,arg1) ^ glut.c:410:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] menu = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:423:8: warning: 'glutGetMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutGetMenu(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:494:21: note: 'glutGetMenu' has been explicitly marked deprecated here extern int APIENTRY glutGetMenu(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_GetMenu(obj) ^ glut.c:432:2: warning: 'glutSetMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetMenu(NUM2INT(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:495:22: note: 'glutSetMenu' has been explicitly marked deprecated here extern void APIENTRY glutSetMenu(int menu) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetMenu(obj,arg1) ^ glut.c:432:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutSetMenu(NUM2INT(arg1)); ~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:442:2: warning: 'glutAddMenuEntry' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutAddMenuEntry(RSTRING_PTR(arg1), NUM2INT(arg2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:496:22: note: 'glutAddMenuEntry' has been explicitly marked deprecated here extern void APIENTRY glutAddMenuEntry(const char *label, int value) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_AddMenuEntry(obj,arg1,arg2) ^ glut.c:442:38: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutAddMenuEntry(RSTRING_PTR(arg1), NUM2INT(arg2)); ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:452:2: warning: 'glutAddSubMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutAddSubMenu(RSTRING_PTR(arg1), NUM2INT(arg2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:497:22: note: 'glutAddSubMenu' has been explicitly marked deprecated here extern void APIENTRY glutAddSubMenu(const char *label, int submenu) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_AddSubMenu(obj,arg1,arg2) ^ glut.c:452:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutAddSubMenu(RSTRING_PTR(arg1), NUM2INT(arg2)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:461:2: warning: 'glutChangeToMenuEntry' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutChangeToMenuEntry(NUM2INT(arg1), RSTRING_PTR(arg2), NUM2INT(arg3)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:498:22: note: 'glutChangeToMenuEntry' has been explicitly marked deprecated here extern void APIENTRY glutChangeToMenuEntry(int item, const char *label, int value) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:457:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VALUE glut_ChangeToMenuEntry(obj,arg1,arg2,arg3) ^ glut.c:461:58: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutChangeToMenuEntry(NUM2INT(arg1), RSTRING_PTR(arg2), NUM2INT(arg3)); ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:461:24: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutChangeToMenuEntry(NUM2INT(arg1), RSTRING_PTR(arg2), NUM2INT(arg3)); ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:470:2: warning: 'glutChangeToSubMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutChangeToSubMenu(NUM2INT(arg1), RSTRING_PTR(arg2), NUM2INT(arg3)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:499:22: note: 'glutChangeToSubMenu' has been explicitly marked deprecated here extern void APIENTRY glutChangeToSubMenu(int item, const char *label, int submenu) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:466:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static VALUE glut_ChangeToSubMenu(obj,arg1,arg2,arg3) ^ glut.c:470:56: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutChangeToSubMenu(NUM2INT(arg1), RSTRING_PTR(arg2), NUM2INT(arg3)); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:470:22: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutChangeToSubMenu(NUM2INT(arg1), RSTRING_PTR(arg2), NUM2INT(arg3)); ~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:477:2: warning: 'glutRemoveMenuItem' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutRemoveMenuItem(NUM2INT(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:500:22: note: 'glutRemoveMenuItem' has been explicitly marked deprecated here extern void APIENTRY glutRemoveMenuItem(int item) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:477:21: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutRemoveMenuItem(NUM2INT(arg1)); ~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:486:2: warning: 'glutAttachMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutAttachMenu(NUM2INT(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:501:22: note: 'glutAttachMenu' has been explicitly marked deprecated here extern void APIENTRY glutAttachMenu(int button) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_AttachMenu(obj,arg1) ^ glut.c:486:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutAttachMenu(NUM2INT(arg1)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:495:2: warning: 'glutDetachMenu' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutDetachMenu(NUM2INT(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:502:22: note: 'glutDetachMenu' has been explicitly marked deprecated here extern void APIENTRY glutDetachMenu(int button) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_DetachMenu(obj,arg1) ^ glut.c:495:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] glutDetachMenu(NUM2INT(arg1)); ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:504:35: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(DisplayFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_ReshapeFuncCallback(width, height) ^ glut.c:515:36: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry( ReshapeFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_KeyboardFuncCallback(key, x, y) ^ glut.c:523:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] unsigned char key; ^ glut.c:155:65: note: previous declaration is here static void GLUTCALLBACK glut_KeyboardFuncCallback(unsigned char, int, int); ^ glut.c:527:36: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(KeyboardFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_MouseFuncCallback(button, state, x, y) ^ glut.c:542:33: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(MouseFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_MotionFuncCallback(x, y) ^ glut.c:553:34: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(MotionFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_PassiveMotionFuncCallback(x, y) ^ glut.c:564:41: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(PassiveMotionFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_EntryFuncCallback(state) ^ glut.c:575:32: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(EntryFunc,glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_VisibilityFuncCallback(state) ^ glut.c:586:38: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(VisibilityFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:609:3: warning: 'glutIdleFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutIdleFunc(NULL); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:513:22: note: 'glutIdleFunc' has been explicitly marked deprecated here extern void APIENTRY glutIdleFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:611:3: warning: 'glutIdleFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutIdleFunc(glut_IdleFuncCallback); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:513:22: note: 'glutIdleFunc' has been explicitly marked deprecated here extern void APIENTRY glutIdleFunc(void (*func)(void)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_IdleFunc(obj, arg1) ^ glut.c:636:2: warning: 'glutTimerFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutTimerFunc(millis, glut_TimerFuncCallback, value); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:514:22: note: 'glutTimerFunc' has been explicitly marked deprecated here extern void APIENTRY glutTimerFunc(unsigned int millis, void (*func)(int value), int value) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_TimerFunc(obj, arg1, arg2, arg3) ^ glut.c:632:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] value = NUM2INT(arg3); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:658:3: warning: 'glutMenuStateFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutMenuStateFunc(NULL); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:515:22: note: 'glutMenuStateFunc' has been explicitly marked deprecated here extern void APIENTRY glutMenuStateFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:660:3: warning: 'glutMenuStateFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutMenuStateFunc(glut_MenuStateFuncCallback); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:515:22: note: 'glutMenuStateFunc' has been explicitly marked deprecated here extern void APIENTRY glutMenuStateFunc(void (*func)(int state)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_MenuStateFunc(obj, arg1) ^ glut.c:680:3: warning: 'glutMenuStatusFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutMenuStatusFunc(NULL); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:526:22: note: 'glutMenuStatusFunc' has been explicitly marked deprecated here extern void APIENTRY glutMenuStatusFunc(void (*func)(int status, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:682:3: warning: 'glutMenuStatusFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutMenuStatusFunc(glut_MenuStatusFuncCallback); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:526:22: note: 'glutMenuStatusFunc' has been explicitly marked deprecated here extern void APIENTRY glutMenuStatusFunc(void (*func)(int status, int x, int y)) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_MenuStatusFunc(obj, arg1) ^ glut.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SpecialFuncCallback(key, x, y) ^ glut.c:691:35: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(SpecialFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SpaceballMotionFuncCallback(x, y, z) ^ glut.c:702:43: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(SpaceballMotionFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SpaceballRotateFuncCallback(x, y, z) ^ glut.c:713:43: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(SpaceballRotateFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SpaceballButtonFuncCallback(button, state) ^ glut.c:724:43: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(SpaceballButtonFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_ButtonBoxFuncCallback(button, state) ^ glut.c:735:37: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(ButtonBoxFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_DialsFuncCallback(dial, value) ^ glut.c:746:33: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(DialsFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_TabletMotionFuncCallback(x, y) ^ glut.c:757:40: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(TabletMotionFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_TabletButtonFuncCallback(button, state, x, y) ^ glut.c:768:40: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(TabletButtonFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:770:23: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] rb_funcall(func, 4, INT2NUM(button), INT2NUM(state), INT2NUM(x), INT2NUM(y)); ~~~~~~~~~~ ^~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/arithmetic/int.h:43:20: note: expanded from macro 'INT2NUM' #define INT2NUM RB_INT2NUM /**< @old{RB_INT2NUM} */ ^ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/arithmetic/int.h:37:21: note: expanded from macro 'RB_INT2NUM' #define RB_INT2NUM rb_int2num_inline /**< @alias{rb_int2num_inline} */ ^ glut.c:778:42: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(OverlayDisplayFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WindowStatusFuncCallback(state) ^ glut.c:789:40: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(WindowStatusFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_JoystickFuncCallback(buttonMask,x,y,z) ^ glut.c:801:36: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(JoystickFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_KeyboardUpFuncCallback(key,x,y) ^ glut.c:808:15: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'unsigned char' declared in a previous prototype [-Wknr-promoted-parameter] unsigned char key; ^ glut.c:172:67: note: previous declaration is here static void GLUTCALLBACK glut_KeyboardUpFuncCallback(unsigned char,int,int); ^ glut.c:812:38: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(KeyboardUpFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SpecialUpFuncCallback(key,x,y) ^ glut.c:823:37: warning: 'glutGetWindow' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] func = rb_ary_entry(SpecialUpFunc, glutGetWindow()); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:449:21: note: 'glutGetWindow' has been explicitly marked deprecated here extern int APIENTRY glutGetWindow(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:842:2: warning: 'glutSetColor' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetColor(set, red, green, blue); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:540:22: note: 'glutSetColor' has been explicitly marked deprecated here extern void APIENTRY glutSetColor(int, GLfloat red, GLfloat green, GLfloat blue) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetColor(obj,arg1,arg2,arg3,arg4) ^ glut.c:838:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] set = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:856:17: warning: 'glutGetColor' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = (GLfloat)glutGetColor(ndx, component); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:541:25: note: 'glutGetColor' has been explicitly marked deprecated here extern GLfloat APIENTRY glutGetColor(int ndx, int component) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_GetColor(obj,arg1,arg2) ^ glut.c:854:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] ndx = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:855:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] component = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:867:2: warning: 'glutCopyColormap' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutCopyColormap(win); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:542:22: note: 'glutCopyColormap' has been explicitly marked deprecated here extern void APIENTRY glutCopyColormap(int win) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_CopyColormap(obj,arg1) ^ glut.c:866:8: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] win = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:880:8: warning: 'glutGet' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutGet(type); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:545:21: note: 'glutGet' has been explicitly marked deprecated here extern int APIENTRY glutGet(GLenum type) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_Get(obj,arg1) ^ glut.c:892:8: warning: 'glutDeviceGet' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutDeviceGet(type); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:546:21: note: 'glutDeviceGet' has been explicitly marked deprecated here extern int APIENTRY glutDeviceGet(GLenum type) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_DeviceGet(obj,arg1) ^ glut.c:904:8: warning: 'glutExtensionSupported' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutExtensionSupported(RSTRING_PTR(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:549:21: note: 'glutExtensionSupported' has been explicitly marked deprecated here extern int APIENTRY glutExtensionSupported(const char *name) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_ExtensionSupported(obj,arg1) ^ glut.c:913:8: warning: 'glutGetModifiers' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutGetModifiers(); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:552:21: note: 'glutGetModifiers' has been explicitly marked deprecated here extern int APIENTRY glutGetModifiers(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_GetModifiers(obj) ^ glut.c:925:8: warning: 'glutLayerGet' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutLayerGet(type); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:553:21: note: 'glutLayerGet' has been explicitly marked deprecated here extern int APIENTRY glutLayerGet(GLenum type) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_LayerGet(obj,arg1) ^ glut.c:972:2: warning: 'glutBitmapCharacter' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutBitmapCharacter(bitmap_font_map(font),character); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:560:22: note: 'glutBitmapCharacter' has been explicitly marked deprecated here extern void APIENTRY glutBitmapCharacter(void *font, int character) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_BitmapCharacter(obj,arg1,arg2) ^ glut.c:970:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] font = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:971:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] character = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:985:8: warning: 'glutBitmapWidth' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutBitmapWidth(bitmap_font_map(font), character); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:561:21: note: 'glutBitmapWidth' has been explicitly marked deprecated here extern int APIENTRY glutBitmapWidth(void *font, int character) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_BitmapWidth(obj,arg1,arg2) ^ glut.c:983:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] font = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:984:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] character = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:998:2: warning: 'glutStrokeCharacter' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutStrokeCharacter(stroke_font_map(font), character); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:562:22: note: 'glutStrokeCharacter' has been explicitly marked deprecated here extern void APIENTRY glutStrokeCharacter(void *font, int character) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_StrokeCharacter(obj,arg1,arg2) ^ glut.c:996:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] font = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:997:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] character = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1012:8: warning: 'glutStrokeWidth' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutStrokeWidth(stroke_font_map(font), character); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:563:21: note: 'glutStrokeWidth' has been explicitly marked deprecated here extern int APIENTRY glutStrokeWidth(void *font, int character) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_StrokeWidth(obj,arg1,arg2) ^ glut.c:1010:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] font = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1011:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] character = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1025:8: warning: 'glutBitmapLength' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutBitmapLength(bitmap_font_map(font), (const unsigned char*)RSTRING_PTR(arg2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:565:21: note: 'glutBitmapLength' has been explicitly marked deprecated here extern int APIENTRY glutBitmapLength(void *font, const unsigned char *string) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_BitmapLength(obj,arg1,arg2) ^ glut.c:1024:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] font = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1038:8: warning: 'glutStrokeLength' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutStrokeLength(stroke_font_map(font), (const unsigned char*)RSTRING_PTR(arg2)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:566:21: note: 'glutStrokeLength' has been explicitly marked deprecated here extern int APIENTRY glutStrokeLength(void *font, const unsigned char *string) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_StrokeLength(obj,arg1,arg2) ^ glut.c:1037:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] font = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1053:2: warning: 'glutWireSphere' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutWireSphere(radius, slices, stacks); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:570:22: note: 'glutWireSphere' has been explicitly marked deprecated here extern void APIENTRY glutWireSphere(GLdouble radius, GLint slices, GLint stacks) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WireSphere(obj,arg1,arg2,arg3) ^ glut.c:1068:2: warning: 'glutSolidSphere' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSolidSphere(radius, slices, stacks); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:571:22: note: 'glutSolidSphere' has been explicitly marked deprecated here extern void APIENTRY glutSolidSphere(GLdouble radius, GLint slices, GLint stacks) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SolidSphere(obj,arg1,arg2,arg3) ^ glut.c:1085:2: warning: 'glutWireCone' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutWireCone(base, height, slices, stacks); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:572:22: note: 'glutWireCone' has been explicitly marked deprecated here extern void APIENTRY glutWireCone(GLdouble base, GLdouble height, GLint slices, GLint stacks) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WireCone(obj,arg1,arg2,arg3,arg4) ^ glut.c:1102:2: warning: 'glutSolidCone' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSolidCone(base, height, slices, stacks); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:573:22: note: 'glutSolidCone' has been explicitly marked deprecated here extern void APIENTRY glutSolidCone(GLdouble base, GLdouble height, GLint slices, GLint stacks) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SolidCone(obj,arg1,arg2,arg3,arg4) ^ glut.c:1113:2: warning: 'glutWireCube' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutWireCube(size); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:574:22: note: 'glutWireCube' has been explicitly marked deprecated here extern void APIENTRY glutWireCube(GLdouble size) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WireCube(obj,arg1) ^ glut.c:1124:2: warning: 'glutSolidCube' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSolidCube(size); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:575:22: note: 'glutSolidCube' has been explicitly marked deprecated here extern void APIENTRY glutSolidCube(GLdouble size) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SolidCube(obj,arg1) ^ glut.c:1141:2: warning: 'glutWireTorus' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutWireTorus(innerRadius, outerRadius, sides, rings); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:576:22: note: 'glutWireTorus' has been explicitly marked deprecated here extern void APIENTRY glutWireTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WireTorus(obj,arg1,arg2,arg3,arg4) ^ glut.c:1158:2: warning: 'glutSolidTorus' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSolidTorus(innerRadius, outerRadius, sides, rings); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:577:22: note: 'glutSolidTorus' has been explicitly marked deprecated here extern void APIENTRY glutSolidTorus(GLdouble innerRadius, GLdouble outerRadius, GLint sides, GLint rings) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SolidTorus(obj,arg1,arg2,arg3,arg4) ^ glut.c:1163:1: warning: 'glutWireDodecahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(WireDodecahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :60:1: note: expanded from here glutWireDodecahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:578:22: note: 'glutWireDodecahedron' has been explicitly marked deprecated here extern void APIENTRY glutWireDodecahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(WireDodecahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :59:1: note: expanded from here glut_WireDodecahedron ^ glut.c:1164:1: warning: 'glutSolidDodecahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(SolidDodecahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :62:1: note: expanded from here glutSolidDodecahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:579:22: note: 'glutSolidDodecahedron' has been explicitly marked deprecated here extern void APIENTRY glutSolidDodecahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(SolidDodecahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :61:1: note: expanded from here glut_SolidDodecahedron ^ glut.c:1165:1: warning: 'glutWireOctahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(WireOctahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :64:1: note: expanded from here glutWireOctahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:582:22: note: 'glutWireOctahedron' has been explicitly marked deprecated here extern void APIENTRY glutWireOctahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(WireOctahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :63:1: note: expanded from here glut_WireOctahedron ^ glut.c:1166:1: warning: 'glutSolidOctahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(SolidOctahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :66:1: note: expanded from here glutSolidOctahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:583:22: note: 'glutSolidOctahedron' has been explicitly marked deprecated here extern void APIENTRY glutSolidOctahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(SolidOctahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :65:1: note: expanded from here glut_SolidOctahedron ^ glut.c:1167:1: warning: 'glutWireTetrahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(WireTetrahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :68:1: note: expanded from here glutWireTetrahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:584:22: note: 'glutWireTetrahedron' has been explicitly marked deprecated here extern void APIENTRY glutWireTetrahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(WireTetrahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :67:1: note: expanded from here glut_WireTetrahedron ^ glut.c:1168:1: warning: 'glutSolidTetrahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(SolidTetrahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :70:1: note: expanded from here glutSolidTetrahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:585:22: note: 'glutSolidTetrahedron' has been explicitly marked deprecated here extern void APIENTRY glutSolidTetrahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(SolidTetrahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :69:1: note: expanded from here glut_SolidTetrahedron ^ glut.c:1169:1: warning: 'glutWireIcosahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(WireIcosahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :72:1: note: expanded from here glutWireIcosahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:586:22: note: 'glutWireIcosahedron' has been explicitly marked deprecated here extern void APIENTRY glutWireIcosahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(WireIcosahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :71:1: note: expanded from here glut_WireIcosahedron ^ glut.c:1170:1: warning: 'glutSolidIcosahedron' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(SolidIcosahedron) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :74:1: note: expanded from here glutSolidIcosahedron ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:587:22: note: 'glutSolidIcosahedron' has been explicitly marked deprecated here extern void APIENTRY glutSolidIcosahedron(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(SolidIcosahedron) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :73:1: note: expanded from here glut_SolidIcosahedron ^ glut.c:1178:2: warning: 'glutWireTeapot' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutWireTeapot(size); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:580:22: note: 'glutWireTeapot' has been explicitly marked deprecated here extern void APIENTRY glutWireTeapot(GLdouble size) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_WireTeapot(obj,arg1) ^ glut.c:1189:2: warning: 'glutSolidTeapot' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSolidTeapot(size); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:581:22: note: 'glutSolidTeapot' has been explicitly marked deprecated here extern void APIENTRY glutSolidTeapot(GLdouble size) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SolidTeapot(obj,arg1) ^ glut.c:1201:8: warning: 'glutVideoResizeGet' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] ret = glutVideoResizeGet(param); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:591:21: note: 'glutVideoResizeGet' has been explicitly marked deprecated here extern int APIENTRY glutVideoResizeGet(GLenum param) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_VideoResizeGet(obj,arg1) ^ glut.c:1206:1: warning: 'glutSetupVideoResizing' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(SetupVideoResizing) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :76:1: note: expanded from here glutSetupVideoResizing ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:592:22: note: 'glutSetupVideoResizing' has been explicitly marked deprecated here extern void APIENTRY glutSetupVideoResizing(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(SetupVideoResizing) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :75:1: note: expanded from here glut_SetupVideoResizing ^ glut.c:1207:1: warning: 'glutStopVideoResizing' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(StopVideoResizing) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :78:1: note: expanded from here glutStopVideoResizing ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:593:22: note: 'glutStopVideoResizing' has been explicitly marked deprecated here extern void APIENTRY glutStopVideoResizing(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(StopVideoResizing) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :77:1: note: expanded from here glut_StopVideoResizing ^ glut.c:1221:2: warning: 'glutVideoResize' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutVideoResize(x,y, width, height); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:594:22: note: 'glutVideoResize' has been explicitly marked deprecated here extern void APIENTRY glutVideoResize(int x, int y, int width, int height) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_VideoResize(obj,arg1,arg2,arg3,arg4) ^ glut.c:1217:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1218:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1219:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] width = NUM2INT(arg3); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1220:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] height = NUM2INT(arg4); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1237:2: warning: 'glutVideoPan' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutVideoPan(x,y, width, height); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:595:22: note: 'glutVideoPan' has been explicitly marked deprecated here extern void APIENTRY glutVideoPan(int x, int y, int width, int height) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_VideoPan(obj,arg1,arg2,arg3,arg4) ^ glut.c:1233:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] x = NUM2INT(arg1); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1234:6: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] y = NUM2INT(arg2); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1235:10: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] width = NUM2INT(arg3); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1236:11: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] height = NUM2INT(arg4); ~ ^~~~~~~~~~~~~ ./../common/conv.h:70:17: note: expanded from macro 'NUM2INT' #define NUM2INT num2int ^ glut.c:1242:1: warning: 'glutReportErrors' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(ReportErrors) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :80:1: note: expanded from here glutReportErrors ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:598:22: note: 'glutReportErrors' has been explicitly marked deprecated here extern void APIENTRY glutReportErrors(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(ReportErrors) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :79:1: note: expanded from here glut_ReportErrors ^ glut.c:1249:2: warning: 'glutGameModeString' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutGameModeString((const char*)RSTRING_PTR(arg1)); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:628:22: note: 'glutGameModeString' has been explicitly marked deprecated here extern void APIENTRY glutGameModeString(const char *string) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_GameModeString(obj,arg1) ^ glut.c:1253:1: warning: 'glutEnterGameMode' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(EnterGameMode) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :82:1: note: expanded from here glutEnterGameMode ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:629:21: note: 'glutEnterGameMode' has been explicitly marked deprecated here extern int APIENTRY glutEnterGameMode(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(EnterGameMode) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :81:1: note: expanded from here glut_EnterGameMode ^ glut.c:1254:1: warning: 'glutLeaveGameMode' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(LeaveGameMode) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :84:1: note: expanded from here glutLeaveGameMode ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:630:22: note: 'glutLeaveGameMode' has been explicitly marked deprecated here extern void APIENTRY glutLeaveGameMode(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(LeaveGameMode) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :83:1: note: expanded from here glut_LeaveGameMode ^ glut.c:1256:1: warning: 'glutForceJoystickFunc' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] GLUT_SIMPLE_FUNCTION(ForceJoystickFunc) ^ glut.c:66:5: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' glut##_name_(); \ ^ :86:1: note: expanded from here glutForceJoystickFunc ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:616:22: note: 'glutForceJoystickFunc' has been explicitly marked deprecated here extern void APIENTRY glutForceJoystickFunc(void) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GLUT_SIMPLE_FUNCTION(ForceJoystickFunc) ^ glut.c:62:14: note: expanded from macro 'GLUT_SIMPLE_FUNCTION' static VALUE \ ^ :85:1: note: expanded from here glut_ForceJoystickFunc ^ glut.c:1265:6: warning: 'glutGameModeGet' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] i = glutGameModeGet(info); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:631:21: note: 'glutGameModeGet' has been explicitly marked deprecated here extern int APIENTRY glutGameModeGet(GLenum mode) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_GameModeGet(obj,arg1) ^ glut.c:1275:2: warning: 'glutSetKeyRepeat' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutSetKeyRepeat(repeatMode); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:615:22: note: 'glutSetKeyRepeat' has been explicitly marked deprecated here extern void APIENTRY glutSetKeyRepeat(int repeatMode) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_SetKeyRepeat(obj,arg1) ^ glut.c:1285:2: warning: 'glutIgnoreKeyRepeat' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutIgnoreKeyRepeat(ignore); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:614:22: note: 'glutIgnoreKeyRepeat' has been explicitly marked deprecated here extern void APIENTRY glutIgnoreKeyRepeat(int ignore) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_IgnoreKeyRepeat(obj,arg1) ^ glut.c:1295:2: warning: 'glutPostWindowOverlayRedisplay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutPostWindowOverlayRedisplay(win); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:485:22: note: 'glutPostWindowOverlayRedisplay' has been explicitly marked deprecated here extern void APIENTRY glutPostWindowOverlayRedisplay(int win) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_PostWindowOverlayRedisplay(obj,arg1) ^ glut.c:1305:2: warning: 'glutPostWindowRedisplay' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated. (Define GL_SILENCE_DEPRECATION to silence these warnings) [-Wdeprecated-declarations] glutPostWindowRedisplay(win); ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/System/Library/Frameworks/GLUT.framework/Headers/glut.h:446:22: note: 'glutPostWindowRedisplay' has been explicitly marked deprecated here extern void APIENTRY glutPostWindowRedisplay(int win) OPENGL_DEPRECATED(10_0, 10_9); ^ glut.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] glut_PostWindowRedisplay(obj,arg1) ^ glut.c:1591:11: warning: implicit conversion loses integer precision: 'ID' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] callId = rb_intern("call"); ~ ^~~~~~~~~~~~~~~~~ /Users/pbulk/build/graphics/ruby-opengl/work/.buildlink/include/ruby-3.4.0/ruby/internal/symbol.h:333:20: note: expanded from macro 'rb_intern' __extension__ ({ \ ^~~~ 451 warnings generated. clang -dynamic -bundle -framework GLUT -framework OpenGL -framework Cocoa -L/opt/pkg/lib -L/opt/pkg/lib -o glut.bundle glut.o -lpthread -lpthread -lruby34.3.4.4 Undefined symbols for architecture arm64: "_STR2CSTR", referenced from: _glut_Init in glut.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) rake aborted! Command failed with status (1): [clang -dynamic -bundle -framework GLUT -framework OpenGL -framework Cocoa -L/opt/pkg/lib -L/opt/pkg/lib -o glut.bundle glut.o -lpthread -lpthread -lruby34.3.4.4] /Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/ruby-opengl-0.60.1/ext/glut/Rakefile:34:in 'block in ' /opt/pkg/bin/rake34:26:in 'Kernel#load' /opt/pkg/bin/rake34:26:in '
' Tasks: TOP => default => glut.bundle (See full trace by running task with --trace) rake aborted! Command failed with status (1): [/opt/pkg/bin/rake34] Tasks: TOP => default => glut => ext/glut/glut.bundle (See full trace by running task with --trace) rake failed, exit code 1 Gem files will remain installed in /Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/gems/ruby-opengl-0.60.1 for inspection. Results logged to /Users/pbulk/build/graphics/ruby-opengl/work/.inst/opt/pkg/lib/ruby/gems/3.4.0/extensions/arm64-darwin-23/3.4.0/ruby-opengl-0.60.1/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/ruby-opengl *** Error code 1 Stop. bmake: stopped making "stage-install" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/ruby-opengl