{"action":"created","issue":{"url":"https://api.github.com/repos/sonots/cumo/issues/91","repository_url":"https://api.github.com/repos/sonots/cumo","labels_url":"https://api.github.com/repos/sonots/cumo/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/sonots/cumo/issues/91/comments","events_url":"https://api.github.com/repos/sonots/cumo/issues/91/events","html_url":"https://github.com/sonots/cumo/issues/91","id":341391957,"node_id":"MDU6SXNzdWUzNDEzOTE5NTc=","number":91,"title":"Can't compile cumo","user":{"login":"Watson1978","id":199156,"node_id":"MDQ6VXNlcjE5OTE1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/199156?v=4","gravatar_id":"","url":"https://api.github.com/users/Watson1978","html_url":"https://github.com/Watson1978","followers_url":"https://api.github.com/users/Watson1978/followers","following_url":"https://api.github.com/users/Watson1978/following{/other_user}","gists_url":"https://api.github.com/users/Watson1978/gists{/gist_id}","starred_url":"https://api.github.com/users/Watson1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Watson1978/subscriptions","organizations_url":"https://api.github.com/users/Watson1978/orgs","repos_url":"https://api.github.com/users/Watson1978/repos","events_url":"https://api.github.com/users/Watson1978/events{/privacy}","received_events_url":"https://api.github.com/users/Watson1978/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-16T05:09:37Z","updated_at":"2018-07-17T08:33:58Z","closed_at":null,"author_association":"NONE","body":"I tried to compile cumo on [MacBook Pro 15-inch Late 2013 model](https://support.apple.com/kb/SP690?locale=ja_JP&viewlocale=ja_JP) with latest [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit).\r\n\r\nI got following build error.\r\n\r\n```\r\n$ bundle exec rake compile\r\ncd ext/cumo && ruby extconf.rb && make && make build-ctest\r\nchecking for numo/narray.h... yes\r\nchecking for dlfcn.h... yes\r\nchecking for -ldl... yes\r\nchecking for dlopen()... yes\r\nchecking for stdbool.h... yes\r\nchecking for stdint.h... yes\r\nchecking for bool in stdbool.h... yes\r\nchecking for u_int8_t in stdint.h... yes\r\nchecking for u_int16_t in stdint.h... yes\r\nchecking for int32_t in stdint.h... yes\r\nchecking for u_int32_t in stdint.h... yes\r\nchecking for int64_t in stdint.h... yes\r\nchecking for u_int64_t in stdint.h... yes\r\nchecking for exp10()... no\r\nchecking for rb_cComplex... yes\r\nchecking for rb_thread_call_without_gvl()... yes\r\ncreating include/cumo/extconf.h\r\ncreating depend\r\nchecking for -lcuda... yes\r\nchecking for -lcudart... yes\r\nchecking for -lnvrtc... yes\r\nchecking for -lcublas... yes\r\ncreating Makefile\r\ncompiling cumo.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o cumo.o -c cumo.c\r\ncompiling narray/narray.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/narray.o -c narray/narray.c\r\nnarray/narray.c:360:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]\r\n    ndim = RARRAY_LEN(v);\r\n         ~ ^~~~~~~~~~~~~\r\n/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/ruby.h:1021:23: note: expanded from macro 'RARRAY_LEN'\r\n#define RARRAY_LEN(a) rb_array_len(a)\r\n                      ^~~~~~~~~~~~~~~\r\nnarray/narray.c:1188:18: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]\r\n            nd = RARRAY_LEN(vshape);\r\n               ~ ^~~~~~~~~~~~~~~~~~\r\n/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/ruby.h:1021:23: note: expanded from macro 'RARRAY_LEN'\r\n#define RARRAY_LEN(a) rb_array_len(a)\r\n                      ^~~~~~~~~~~~~~~\r\nnarray/narray.c:1515:21: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]\r\n            r = beg + step*j;\r\n              ~ ~~~~^~~~~~~~\r\n3 warnings generated.\r\ncompiling narray/array.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/array.o -c narray/array.c\r\nnarray/array.c:118:9: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]\r\n        MDAI_ATTR_TYPE(type,v,begin);\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:113:11: note: expanded from macro 'MDAI_ATTR_TYPE'\r\n    {tp = cumo_na_object_type(tp,rb_funcall(v,cumo_id_##attr,0));}\r\n        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:119:9: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]\r\n        MDAI_ATTR_TYPE(type,v,end);\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:113:11: note: expanded from macro 'MDAI_ATTR_TYPE'\r\n    {tp = cumo_na_object_type(tp,rb_funcall(v,cumo_id_##attr,0));}\r\n        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:121:9: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]\r\n        MDAI_ATTR_TYPE(type,v,begin);\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:113:11: note: expanded from macro 'MDAI_ATTR_TYPE'\r\n    {tp = cumo_na_object_type(tp,rb_funcall(v,cumo_id_##attr,0));}\r\n        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:122:9: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]\r\n        MDAI_ATTR_TYPE(type,v,end);\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:113:11: note: expanded from macro 'MDAI_ATTR_TYPE'\r\n    {tp = cumo_na_object_type(tp,rb_funcall(v,cumo_id_##attr,0));}\r\n        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:123:9: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]\r\n        MDAI_ATTR_TYPE(type,v,step);\r\n        ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:113:11: note: expanded from macro 'MDAI_ATTR_TYPE'\r\n    {tp = cumo_na_object_type(tp,rb_funcall(v,cumo_id_##attr,0));}\r\n        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nnarray/array.c:125:16: warning: implicit conversion loses integer precision: 'VALUE' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32]\r\n        type = cumo_na_object_type(type,v);\r\n             ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n6 warnings generated.\r\ncompiling narray/step.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/step.o -c narray/step.c\r\ncompiling narray/index.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/index.o -c narray/index.c\r\nnarray/index.c:127:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]\r\n    int n = RARRAY_LEN(ary);\r\n        ~   ^~~~~~~~~~~~~~~\r\n/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/ruby.h:1021:23: note: expanded from macro 'RARRAY_LEN'\r\n#define RARRAY_LEN(a) rb_array_len(a)\r\n                      ^~~~~~~~~~~~~~~\r\nnarray/index.c:200:23: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]\r\n    n = (end-beg)/step+1;\r\n      ~ ~~~~~~~~~~~~~~^~\r\nnarray/index.c:226:19: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]\r\n            len = RARRAY_LEN(e->args);\r\n                ~ ^~~~~~~~~~~~~~~~~~~\r\n/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/ruby.h:1021:23: note: expanded from macro 'RARRAY_LEN'\r\n#define RARRAY_LEN(a) rb_array_len(a)\r\n                      ^~~~~~~~~~~~~~~\r\nnarray/index.c:324:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]\r\n    nidx = RARRAY_LEN(args);\r\n         ~ ^~~~~~~~~~~~~~~~\r\n/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/ruby.h:1021:23: note: expanded from macro 'RARRAY_LEN'\r\n#define RARRAY_LEN(a) rb_array_len(a)\r\n                      ^~~~~~~~~~~~~~~\r\n4 warnings generated.\r\ncompiling narray/ndloop.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/ndloop.o -c narray/ndloop.c\r\ncompiling narray/data.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/data.o -c narray/data.c\r\nmkdir -p narray/types types\r\nruby narray/gen/cogen.rb -l -o narray/types/bit.c narray/gen/def/bit.rb\r\ncompiling narray/types/bit.c\r\nclang -I. -Iinclude -Inarray -Icuda -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/x86_64-darwin17 -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0/ruby/backward -I/Users/watson/.rbenv/versions/2.5.1/include/ruby-2.5.0 -I. -I/Users/watson/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/numo-narray-0.9.1.2/ext/numo/narray -DHAVE_NUMO_NARRAY_H -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_STDBOOL_H -DHAVE_STDINT_H -DHAVE_TYPE_BOOL -DHAVE_TYPE_U_INT8_T -DHAVE_TYPE_U_INT16_T -DHAVE_TYPE_INT32_T -DHAVE_TYPE_U_INT32_T -DHAVE_TYPE_INT64_T -DHAVE_TYPE_U_INT64_T -DHAVE_RB_CCOMPLEX -DHAVE_RB_THREAD_CALL_WITHOUT_GVL -I/usr/local/cuda/include -I/Users/watson/.rbenv/versions/2.5.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -fno-common -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -pipe -o narray/types/bit.o -c narray/types/bit.c\r\nnarray/gen/tmpl/lib.c:22:1: error: unknown type name 'narray'\r\nnarray/types/bit.c\r\n^\r\nnarray/gen/tmpl/lib.c:22:7: error: expected identifier or '('\r\nnarray/types/bit.c\r\n      ^\r\nnarray/gen/tmpl/lib.c:23:34: error: expected \"FILENAME\" or <FILENAME>\r\n#include <static ID cumo_id_cast;\r\n                                 ^\r\nnarray/gen/tmpl/lib.c:29:1: error: expected identifier or '('\r\n>\r\n^\r\nnarray/gen/tmpl/lib.c:34:1: error: unknown type name 'cumo'\r\ncumo/types/bit.h\r\n^\r\nnarray/gen/tmpl/lib.c:34:5: error: expected identifier or '('\r\ncumo/types/bit.h\r\n    ^\r\nnarray/gen/tmpl/class.c:9:1: error: unknown type name 'bit_store'\r\nbit_store\r\n^\r\nnarray/gen/tmpl/alloc_func.c:1:1: error: expected identifier or '('\r\nstatic size_t\r\n^\r\nnarray/gen/tmpl/alloc_func.c:53:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]\r\n    {0, Cumo::Bit_free, _memsize,},\r\n        ^~~~~\r\n        .Cumo =\r\nnarray/gen/tmpl/alloc_func.c:53:14: error: expected expression\r\n    {0, Cumo::Bit_free, _memsize,},\r\n             ^\r\nnarray/gen/tmpl/alloc_func.c:55:6: error: use of undeclared identifier 'bitbit_info'; did you mean 'bit_info'?\r\n    &bitbit_info,\r\n     ^~~~~~~~~~~\r\n     bit_info\r\nnarray/gen/tmpl/alloc_func.c:42:32: note: 'bit_info' declared here\r\nstatic cumo_narray_type_info_t bit_info = {\r\n                               ^\r\nnarray/gen/tmpl/alloc_func.c:73:42: error: use of undeclared identifier 'bit_s_alloc_func_data_type'\r\n    return TypedData_Wrap_Struct(klass, &bit_s_alloc_func_data_type, (void*)na);\r\n                                         ^\r\nnarray/gen/tmpl/alloc_func.c:75:1: error: unknown type name 'bit'\r\nbit\r\n^\r\nnarray/gen/tmpl_bit/allocate.c:1:1: error: expected identifier or '('\r\nstatic VALUE\r\n^\r\nnarray/gen/tmpl_bit/allocate.c:25:1: error: unknown type name 'bit_allocate'\r\nbit_allocate\r\n^\r\nnarray/gen/tmpl_bit/extract.c:10:1: error: expected identifier or '('\r\nstatic VALUE\r\n^\r\nnarray/gen/tmpl_bit/extract.c:31:1: error: unknown type name 'extractbit'\r\nextractbit\r\n^\r\nnarray/gen/tmpl_bit/extract_cpu.c:9:1: error: expected identifier or '('\r\nstatic VALUE\r\n^\r\nnarray/gen/tmpl_bit/extract_cpu.c:30:1: error: unknown type name 'extract_cpubit'\r\nextract_cpubit\r\n^\r\nnarray/gen/tmpl/new_dim0.c:1:1: error: expected identifier or '('\r\nvoid (dtype *ptr, dtype x);\r\n^\r\nfatal error: too many errors emitted, stopping now [-ferror-limit=]\r\n1 warning and 20 errors generated.\r\nmake: *** [narray/types/bit.o] Error 1\r\nrake aborted!\r\nCommand failed with status (2): [cd ext/cumo && ruby extconf.rb && make && ...]\r\n/Users/watson/src/cumo/Rakefile:11:in `block in <top (required)>'\r\n/Users/watson/.rbenv/versions/2.5.1/bin/bundle:23:in `load'\r\n/Users/watson/.rbenv/versions/2.5.1/bin/bundle:23:in `<main>'\r\nTasks: TOP => compile\r\n(See full trace by running task with --trace)\r\n```"},"comment":{"url":"https://api.github.com/repos/sonots/cumo/issues/comments/405504061","html_url":"https://github.com/sonots/cumo/issues/91#issuecomment-405504061","issue_url":"https://api.github.com/repos/sonots/cumo/issues/91","id":405504061,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTUwNDA2MQ==","user":{"login":"sonots","id":2290461,"node_id":"MDQ6VXNlcjIyOTA0NjE=","avatar_url":"https://avatars2.githubusercontent.com/u/2290461?v=4","gravatar_id":"","url":"https://api.github.com/users/sonots","html_url":"https://github.com/sonots","followers_url":"https://api.github.com/users/sonots/followers","following_url":"https://api.github.com/users/sonots/following{/other_user}","gists_url":"https://api.github.com/users/sonots/gists{/gist_id}","starred_url":"https://api.github.com/users/sonots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonots/subscriptions","organizations_url":"https://api.github.com/users/sonots/orgs","repos_url":"https://api.github.com/users/sonots/repos","events_url":"https://api.github.com/users/sonots/events{/privacy}","received_events_url":"https://api.github.com/users/sonots/received_events","type":"User","site_admin":false},"created_at":"2018-07-17T08:33:58Z","updated_at":"2018-07-17T08:33:58Z","author_association":"OWNER","body":"Added `#include <string>` at ext/cumo/cuda/memory_pool_impl.hpp via https://github.com/sonots/cumo/commit/db408bd7f63a2f6844683c45de2ad768129d6425"}}
{"actor":{"display_login":"sonots"}}