Skip to content

Instantly share code, notes, and snippets.

@denisoster
Last active February 27, 2020 11:47
Show Gist options
  • Save denisoster/b46632bb386958121df67ee540a5a912 to your computer and use it in GitHub Desktop.
Save denisoster/b46632bb386958121df67ee540a5a912 to your computer and use it in GitHub Desktop.
current directory: /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/gems/gems/therubyracer-0.12.3/ext/v8
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/bin/truffleruby -I /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/mri -r ./siteconf20200227-67518-189d4or.rb extconf.rb
checking for -lpthread... yes
checking for -lobjc... yes
creating Makefile
current directory: /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/gems/gems/therubyracer-0.12.3/ext/v8
make "DESTDIR=" clean
current directory: /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/gems/gems/therubyracer-0.12.3/ext/v8
make "DESTDIR="
compiling accessor.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from accessor.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from accessor.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from accessor.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling array.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from array.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from array.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from array.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling backref.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from backref.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from backref.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from backref.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling constants.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from constants.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from constants.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from constants.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling constraints.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from constraints.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from constraints.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from constraints.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling context.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from context.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from context.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from context.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling date.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from date.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from date.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from date.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling exception.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from exception.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from exception.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from exception.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling external.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from external.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from external.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from external.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling function.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from function.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from function.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from function.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling gc.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from gc.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from gc.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from gc.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling handles.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from handles.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from handles.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from handles.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling heap.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from heap.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from heap.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from heap.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling init.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from init.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from init.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from init.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
init.cc:11:20: warning: empty parentheses interpreted as a function declaration [-Wvexing-parse]
v8::Locker lock();
^~
init.cc:11:20: note: remove parentheses to declare a variable
v8::Locker lock();
^~
init.cc:11:16: warning: 'lock' has C-linkage specified, but returns user-defined type 'v8::Locker' which is incompatible with C [-Wreturn-type-c-linkage]
v8::Locker lock();
^
6 warnings generated.
compiling invocation.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from invocation.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from invocation.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from invocation.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling locker.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from locker.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from locker.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from locker.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling message.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from message.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from message.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from message.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
4 warnings generated.
compiling object.cc
clang-8: warning: argument unused during compilation: '-rdynamic' [-Wunused-command-line-argument]
In file included from object.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:878:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct RUBY_ALIGNAS(SIZEOF_VALUE) RBasic {
^
In file included from object.cc:1:
In file included from ./rr.h:5:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby.h:33:
In file included from /Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/ruby.h:1907:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:19: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/intern.h:56:36: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
void rb_mem_clear(register VALUE*, register long);
^~~~~~~~~
In file included from object.cc:1:
In file included from ./rr.h:8:
/Users/denisoster/.asdf/installs/ruby/truffleruby-19.3.0/lib/cext/include/ruby/encoding.h:297:1: warning: empty struct has size 0 in C, size 1 in C++ [-Wextern-c-compat]
struct rb_econv_t {};
^
object.cc:94:10: error: no matching conversion for functional-style cast from 'v8::PropertyAttribute' to 'rr::PropertyAttribute'
return PropertyAttribute(Object(self)->GetPropertyAttributes(Value(key)));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./rr.h:447:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::PropertyAttribute' to 'const rr::PropertyAttribute' for 1st argument
class PropertyAttribute: public Enum<v8::PropertyAttribute> {
^
./rr.h:447:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::PropertyAttribute' to 'rr::PropertyAttribute' for 1st argument
./rr.h:449:10: note: candidate constructor not viable: no known conversion from 'v8::PropertyAttribute' to 'VALUE' (aka 'void *') for 1st argument
inline PropertyAttribute(VALUE value) : Enum<v8::PropertyAttribute>(value, v8::None) {}
^
4 warnings and 1 error generated.
make: *** [object.o] Error 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment