yoshoku / magro Goto Github PK
View Code? Open in Web Editor NEWMagro is a minimal image processing library in Ruby
Home Page: https://rubygems.org/gems/magro
License: BSD 3-Clause "New" or "Revised" License
Magro is a minimal image processing library in Ruby
Home Page: https://rubygems.org/gems/magro
License: BSD 3-Clause "New" or "Revised" License
Hello. @yoshoku
Thank you for all your wonderful work.
I want to open images on the internet from URLs with Magro.
(I tried to display Ghibli images in LibUI window using magro.)
But I couldn't find a way to do it, so I used chunky_png.
url = format('https://www.ghibli.jp/gallery/thumb-redturtle%03d.png', (i + 1))
f = URI.open(url)
canvas = ChunkyPNG::Canvas.from_io(f)
f.close
data = canvas.to_rgba_stream
width = canvas.width
height = canvas.height
image = UI.new_image(width, height)
UI.image_append(image, data, width, height, width * 4)
Is it possible to open an image from a URL?
If you don't have that feature, I would love to have it.
I try to install this gem on Windows 10, but have error: "failed to build gem native extension".
Before gem installation i'am installed libpng and libjpeg.
Command gem install magro
output:
current directory: C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/magro-0.3.0/ext/magro
C:/Ruby26-x64/bin/ruby.exe -I C:/Ruby26-x64/lib/ruby/2.6.0 -r ./siteconf20200529-368524-1pbjcm2.rb extconf.rb
checking for numo/narray.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby26-x64/bin/$(RUBY_BASE_NAME)
C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:467:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:601:in `try_cpp'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:1109:in `block in have_header'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:959:in `block in checking_for'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:361:in `block (2 levels) in postpone'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:331:in `open'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:361:in `block in postpone'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:331:in `open'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:357:in `postpone'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:958:in `checking_for'
from C:/Ruby26-x64/lib/ruby/2.6.0/mkmf.rb:1108:in `have_header'
from extconf.rb:11:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/extensions/x64-mingw32/2.6.0/magro-0.3.0/mkmf.log
extconf failed, exit code 1
Mkmf.log:
"x86_64-w64-mingw32-gcc -o conftest.exe -IC:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo -IC:/Ruby26-x64/include/ruby-2.6.0/x64-mingw32 -IC:/Ruby26-x64/include/ruby-2.6.0/ruby/backward -IC:/Ruby26-x64/include/ruby-2.6.0 -I. -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby26-x64/lib -L. -pipe -s -fstack-protector-strong -lx64-msvcrt-ruby260 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
In file included from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:139:8: error: unknown type name 'VALUE'
139 | extern VALUE numo_cNArray;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:140:8: error: unknown type name 'VALUE'
140 | extern VALUE rb_mNumo;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:141:8: error: unknown type name 'VALUE'
141 | extern VALUE nary_eCastError;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:142:8: error: unknown type name 'VALUE'
142 | extern VALUE nary_eShapeError;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:143:8: error: unknown type name 'VALUE'
143 | extern VALUE nary_eOperationError;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:144:8: error: unknown type name 'VALUE'
144 | extern VALUE nary_eDimensionError;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:145:8: error: unknown type name 'VALUE'
145 | extern VALUE nary_eValueError;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:146:14: error: unknown type name 'rb_data_type_t'
146 | extern const rb_data_type_t na_data_type;
| ^~~~~~~~~~~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:156:8: error: unknown type name 'VALUE'
156 | extern VALUE numo_cBit;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:157:8: error: unknown type name 'VALUE'
157 | extern VALUE numo_cDFloat;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:158:8: error: unknown type name 'VALUE'
158 | extern VALUE numo_cSFloat;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:159:8: error: unknown type name 'VALUE'
159 | extern VALUE numo_cDComplex;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:160:8: error: unknown type name 'VALUE'
160 | extern VALUE numo_cSComplex;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:161:8: error: unknown type name 'VALUE'
161 | extern VALUE numo_cInt64;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:162:8: error: unknown type name 'VALUE'
162 | extern VALUE numo_cInt32;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:163:8: error: unknown type name 'VALUE'
163 | extern VALUE numo_cInt16;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:164:8: error: unknown type name 'VALUE'
164 | extern VALUE numo_cInt8;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:165:8: error: unknown type name 'VALUE'
165 | extern VALUE numo_cUInt64;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:166:8: error: unknown type name 'VALUE'
166 | extern VALUE numo_cUInt32;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:167:8: error: unknown type name 'VALUE'
167 | extern VALUE numo_cUInt16;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:168:8: error: unknown type name 'VALUE'
168 | extern VALUE numo_cUInt8;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:169:8: error: unknown type name 'VALUE'
169 | extern VALUE numo_cRObject;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:174:8: error: unknown type name 'VALUE'
174 | extern VALUE rb_cArithSeq;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:177:8: error: unknown type name 'VALUE'
177 | extern VALUE sym_reduce;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:178:8: error: unknown type name 'VALUE'
178 | extern VALUE sym_option;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:179:8: error: unknown type name 'VALUE'
179 | extern VALUE sym_loop_opt;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:180:8: error: unknown type name 'VALUE'
180 | extern VALUE sym_init;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:193:5: error: unknown type name 'VALUE'
193 | VALUE reduce;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:211:5: error: unknown type name 'VALUE'
211 | VALUE data; // data object
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:244:5: error: unknown type name 'VALUE'
244 | VALUE obj;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:245:5: error: unknown type name 'ID'
245 | ID meth;
| ^~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:246:5: error: unknown type name 'VALUE'
246 | VALUE args;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:248:5: error: unknown type name 'VALUE'
248 | VALUE fib;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:249:5: error: unknown type name 'VALUE'
249 | VALUE dst;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:250:5: error: unknown type name 'VALUE'
250 | VALUE lookahead;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:251:5: error: unknown type name 'VALUE'
251 | VALUE feedvalue;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:252:5: error: unknown type name 'VALUE'
252 | VALUE stop_exc;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:253:5: error: unknown type name 'VALUE'
253 | VALUE size;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:261:17: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
261 | na_get_narray_t(VALUE obj)
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:271:18: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
271 | _na_get_narray_t(VALUE obj, unsigned char na_type)
| ^~~~~
| PVALUE
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:450,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:16:5: error: unknown type name 'VALUE'
16 | VALUE value;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:32:5: error: unknown type name 'VALUE'
32 | VALUE option;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:34:5: error: unknown type name 'VALUE'
34 | VALUE err_type;
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:67:32: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_'
67 | typedef void (*na_iter_func_t) _((na_loop_t *const));
| ^
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:68:16: error: expected declaration specifiers or '...' before '*' token
68 | typedef VALUE (*na_text_func_t) _((char *ptr, size_t pos, VALUE opt));
| ^
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:73:5: error: unknown type name 'VALUE'
73 | VALUE type; // argument types
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:79:5: error: unknown type name 'VALUE'
79 | VALUE type; // argument types
| ^~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/ndloop.h:86:5: error: unknown type name 'na_iter_func_t'
86 | na_iter_func_t func; // user function
| ^~~~~~~~~~~~~~
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:451,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:10:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
10 | VALUE nary_new(VALUE elem, int ndim, size_t *shape);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:10:16: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
10 | VALUE nary_new(VALUE elem, int ndim, size_t *shape);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:12:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
12 | VALUE nary_view_new(VALUE elem, int ndim, size_t *shape);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:12:21: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
12 | VALUE nary_view_new(VALUE elem, int ndim, size_t *shape);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:14:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
14 | VALUE nary_debug_info(VALUE);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:17:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
17 | VALUE nary_make_view(VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:17:22: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
17 | VALUE nary_make_view(VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:20:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
20 | VALUE nary_s_allocate(VALUE klass);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:20:23: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
20 | VALUE nary_s_allocate(VALUE klass);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:22:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
22 | VALUE nary_s_allocate_view(VALUE klass);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:22:28: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
22 | VALUE nary_s_allocate_view(VALUE klass);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:24:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
24 | VALUE nary_s_new_like(VALUE type, VALUE obj);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:24:23: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
24 | VALUE nary_s_new_like(VALUE type, VALUE obj);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:24:35: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
24 | VALUE nary_s_new_like(VALUE type, VALUE obj);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:27:33: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
27 | void na_array_to_internal_shape(VALUE self, VALUE ary, size_t *shape);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:27:45: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
27 | void na_array_to_internal_shape(VALUE self, VALUE ary, size_t *shape);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:28:47: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
28 | void na_index_arg_to_internal_order(int argc, VALUE *argv, VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:28:60: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
28 | void na_index_arg_to_internal_order(int argc, VALUE *argv, VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:33:34: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
33 | unsigned int nary_element_stride(VALUE nary);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:35:34: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
35 | size_t nary_dtype_element_stride(VALUE klass);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:46:24: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
46 | size_t nary_get_offset(VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:49:22: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
49 | void nary_copy_flags(VALUE src, VALUE dst);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:49:33: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
49 | void nary_copy_flags(VALUE src, VALUE dst);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:52:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
52 | VALUE nary_check_ladder(VALUE self, int start_dim);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:52:25: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
52 | VALUE nary_check_ladder(VALUE self, int start_dim);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:54:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
54 | VALUE nary_check_contiguous(VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:54:29: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
54 | VALUE nary_check_contiguous(VALUE self);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:57:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
57 | VALUE nary_flatten_dim(VALUE self, int sd);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:57:24: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
57 | VALUE nary_flatten_dim(VALUE self, int sd);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:60:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
60 | VALUE nary_flatten(VALUE);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:63:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
63 | VALUE nary_dup(VALUE);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:66:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
66 | VALUE nary_store(VALUE self, VALUE src);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:66:18: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
66 | VALUE nary_store(VALUE self, VALUE src);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:66:30: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
66 | VALUE nary_store(VALUE self, VALUE src);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:69:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
69 | VALUE numo_na_upcast(VALUE type1, VALUE type2);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:69:22: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
69 | VALUE numo_na_upcast(VALUE type1, VALUE type2);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:69:35: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
69 | VALUE numo_na_upcast(VALUE type1, VALUE type2);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:75:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
75 | VALUE nary_reduce_dimension(int argc, VALUE *argv, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:75:39: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
75 | VALUE nary_reduce_dimension(int argc, VALUE *argv, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:75:63: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
75 | VALUE nary_reduce_dimension(int argc, VALUE *argv, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:76:44: error: unknown type name 'na_iter_func_t'
76 | ndfunc_t *ndf, na_iter_func_t nan_iter);
| ^~~~~~~~~~~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:79:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
79 | VALUE nary_reduce_options(VALUE axes, VALUE *opts, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:79:27: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
79 | VALUE nary_reduce_options(VALUE axes, VALUE *opts, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:79:39: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
79 | VALUE nary_reduce_options(VALUE axes, VALUE *opts, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:79:63: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
79 | VALUE nary_reduce_options(VALUE axes, VALUE *opts, int naryc, VALUE *naryv,
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:83:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
83 | VALUE na_ndloop(ndfunc_t *nf, int argc, ...);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:84:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
84 | VALUE na_ndloop2(ndfunc_t *nf, VALUE args);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:84:32: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
84 | VALUE na_ndloop2(ndfunc_t *nf, VALUE args);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:85:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
85 | VALUE na_ndloop3(ndfunc_t *nf, void *ptr, int argc, ...);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:86:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
86 | VALUE na_ndloop4(ndfunc_t *nf, void *ptr, VALUE args);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:86:43: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
86 | VALUE na_ndloop4(ndfunc_t *nf, void *ptr, VALUE args);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:88:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
88 | VALUE na_ndloop_cast_narray_to_rarray(ndfunc_t *nf, VALUE nary, VALUE fmt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:88:53: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
88 | VALUE na_ndloop_cast_narray_to_rarray(ndfunc_t *nf, VALUE nary, VALUE fmt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:88:65: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
88 | VALUE na_ndloop_cast_narray_to_rarray(ndfunc_t *nf, VALUE nary, VALUE fmt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:89:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
89 | VALUE na_ndloop_store_rarray(ndfunc_t *nf, VALUE nary, VALUE rary);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:89:44: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
89 | VALUE na_ndloop_store_rarray(ndfunc_t *nf, VALUE nary, VALUE rary);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:89:56: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
89 | VALUE na_ndloop_store_rarray(ndfunc_t *nf, VALUE nary, VALUE rary);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:90:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
90 | VALUE na_ndloop_store_rarray2(ndfunc_t *nf, VALUE nary, VALUE rary, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:90:45: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
90 | VALUE na_ndloop_store_rarray2(ndfunc_t *nf, VALUE nary, VALUE rary, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:90:57: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
90 | VALUE na_ndloop_store_rarray2(ndfunc_t *nf, VALUE nary, VALUE rary, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:90:69: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
90 | VALUE na_ndloop_store_rarray2(ndfunc_t *nf, VALUE nary, VALUE rary, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:91:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
91 | VALUE na_ndloop_inspect(VALUE nary, na_text_func_t func, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:91:25: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
91 | VALUE na_ndloop_inspect(VALUE nary, na_text_func_t func, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:91:37: error: unknown type name 'na_text_func_t'
91 | VALUE na_ndloop_inspect(VALUE nary, na_text_func_t func, VALUE opt);
| ^~~~~~~~~~~~~~
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:91:58: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
91 | VALUE na_ndloop_inspect(VALUE nary, na_text_func_t func, VALUE opt);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:92:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
92 | VALUE na_ndloop_with_index(ndfunc_t *nf, int argc, ...);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:95:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
95 | VALUE nary_info_str(VALUE);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:98:23: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
98 | bool nary_test_reduce(VALUE reduce, int dim);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:100:28: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
100 | void nary_step_array_index(VALUE self, size_t ary_size, size_t *plen, ssize_t *pbeg, ssize_t *pstep);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:101:25: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
101 | void nary_step_sequence(VALUE self, size_t *plen, double *pbeg, double *pstep);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:102:31: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
102 | void na_parse_enumerator_step(VALUE enum_obj, VALUE *pstep );
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:102:47: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
102 | void na_parse_enumerator_step(VALUE enum_obj, VALUE *pstep );
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:106:31: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
106 | int nary_get_result_dimension(VALUE self, int argc, VALUE *argv, ssize_t stride, size_t *pos_idx);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:106:53: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
106 | int nary_get_result_dimension(VALUE self, int argc, VALUE *argv, ssize_t stride, size_t *pos_idx);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:108:1: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
108 | VALUE nary_aref_main(int nidx, VALUE *idx, VALUE self, int keep_dim, int nd);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:108:32: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
108 | VALUE nary_aref_main(int nidx, VALUE *idx, VALUE self, int keep_dim, int nd);
| ^~~~~
| PVALUE
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/intern.h:108:44: error: unknown type name 'VALUE'; did you mean 'PVALUE'?
108 | VALUE nary_aref_main(int nidx, VALUE *idx, VALUE self, int keep_dim, int nd);
| ^~~~~
| PVALUE
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby/win32.h:41,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:345,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:998: warning: "RSTRING_LEN" redefined
998 | #define RSTRING_LEN(str) \
|
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:20,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/compat.h:5: note: this is the location of the previous definition
5 | #define RSTRING_LEN(a) RSTRING(a)->len
|
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:1002: warning: "RSTRING_PTR" redefined
1002 | #define RSTRING_PTR(str) \
|
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:20,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/compat.h:8: note: this is the location of the previous definition
8 | #define RSTRING_PTR(a) RSTRING(a)->ptr
|
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:1058: warning: "RARRAY_LEN" redefined
1058 | #define RARRAY_LEN(a) rb_array_len(a)
|
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:20,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/compat.h:11: note: this is the location of the previous definition
11 | #define RARRAY_LEN(a) RARRAY(a)->len
|
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:1089: warning: "RARRAY_AREF" redefined
1089 | #define RARRAY_AREF(a, i) (RARRAY_CONST_PTR_TRANSIENT(a)[i])
|
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:20,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/compat.h:17: note: this is the location of the previous definition
17 | #define RARRAY_AREF(a,i) RARRAY_PTR(a)[i]
|
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:1090: warning: "RARRAY_ASET" redefined
1090 | #define RARRAY_ASET(a, i, v) do { \
|
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:20,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/compat.h:20: note: this is the location of the previous definition
20 | #define RARRAY_ASET(a,i,v) (RARRAY_PTR(a)[i] = v)
|
In file included from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:1098: warning: "RARRAY_PTR" redefined
1098 | #define RARRAY_PTR(a) ((VALUE *)RARRAY_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(ARRAY, a)))
|
In file included from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/narray.h:20,
from ./io.h:13,
from C:/Ruby26-x64/msys64/mingw64/x86_64-w64-mingw32/include/sys/stat.h:14,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/defines.h:128,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby/ruby.h:29,
from C:/Ruby26-x64/include/ruby-2.6.0/ruby.h:33,
from conftest.c:1:
C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/numo-narray-0.9.1.8/lib/numo/numo/compat.h:14: note: this is the location of the previous definition
14 | #define RARRAY_PTR(a) RARRAY(a)->ptr
|
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main(int argc, char **argv)
6: {
7: return 0;
8: }
/* end */
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.