我是个新手,我想做一个项目,但我不能,因为我对Byebug Gem有问题,我搜索了很多论坛,但都没有解决我的问题Ruby 2.3.1和rbenv rails 4.2.2 MacBook Air M1在advance.........................................................................................中感谢.........................................................................................................................
➜ backend-ror git:(dev) sudo gem install byebug -v '8.2.1' --source 'https://rubygems.org/'
Building native extensions. This could take a while...
ERROR: Error installing byebug:
ERROR: Failed to build gem native extension.
current directory: /Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/byebug-8.2.1/ext/byebug
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/bin/ruby -r ./siteconf20220828-8331-k85pho.rb extconf.rb
creating Makefile
current directory: /Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/byebug-8.2.1/ext/byebug
make "DESTDIR=" clean
current directory: /Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/byebug-8.2.1/ext/byebug
make "DESTDIR="
compiling locker.c
compiling byebug.c
byebug.c:198:27: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_line"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:198:27: note: '{' token is here
return call_at(ctx, dc, rb_intern("at_line"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:198:27: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_line"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:198:27: note: ')' token is here
return call_at(ctx, dc, rb_intern("at_line"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:204:27: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_tracing"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:204:27: note: '{' token is here
return call_at(ctx, dc, rb_intern("at_tracing"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:204:27: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_tracing"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:204:27: note: ')' token is here
return call_at(ctx, dc, rb_intern("at_tracing"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:212:27: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_breakpoint"), 1, breakpoint);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:212:27: note: '{' token is here
return call_at(ctx, dc, rb_intern("at_breakpoint"), 1, breakpoint);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:212:27: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_breakpoint"), 1, breakpoint);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:212:27: note: ')' token is here
return call_at(ctx, dc, rb_intern("at_breakpoint"), 1, breakpoint);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:220:27: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_catchpoint"), 1, exp);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:220:27: note: '{' token is here
return call_at(ctx, dc, rb_intern("at_catchpoint"), 1, exp);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:220:27: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_catchpoint"), 1, exp);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:220:27: note: ')' token is here
return call_at(ctx, dc, rb_intern("at_catchpoint"), 1, exp);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:228:27: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_return"), 1, return_value);
^~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:228:27: note: '{' token is here
return call_at(ctx, dc, rb_intern("at_return"), 1, return_value);
^~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:228:27: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_return"), 1, return_value);
^~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:228:27: note: ')' token is here
return call_at(ctx, dc, rb_intern("at_return"), 1, return_value);
^~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:236:27: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_end"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:236:27: note: '{' token is here
return call_at(ctx, dc, rb_intern("at_end"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:236:27: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
return call_at(ctx, dc, rb_intern("at_end"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:236:27: note: ')' token is here
return call_at(ctx, dc, rb_intern("at_end"), 0, Qnil);
^~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:442:35: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
rb_ivar_set(raised_exception, rb_intern("@__bb_context"), pm_context);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:442:35: note: '{' token is here
rb_ivar_set(raised_exception, rb_intern("@__bb_context"), pm_context);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:442:35: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
rb_ivar_set(raised_exception, rb_intern("@__bb_context"), pm_context);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:442:35: note: ')' token is here
rb_ivar_set(raised_exception, rb_intern("@__bb_context"), pm_context);
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:560:33: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
list = rb_funcall(rb_cThread, rb_intern("list"), 0);
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:560:33: note: '{' token is here
list = rb_funcall(rb_cThread, rb_intern("list"), 0);
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:560:33: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
list = rb_funcall(rb_cThread, rb_intern("list"), 0);
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:560:33: note: ')' token is here
list = rb_funcall(rb_cThread, rb_intern("list"), 0);
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:900:12: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
idPuts = rb_intern("puts");
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:900:12: note: '{' token is here
idPuts = rb_intern("puts");
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
byebug.c:900:12: error: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
idPuts = rb_intern("puts");
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1727:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
}
^
byebug.c:900:12: note: ')' token is here
idPuts = rb_intern("puts");
^~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:51: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:901:13: error: '(' and '{' tokens introducing statement expression appear in different macro expansion contexts [-Werror,-Wcompound-token-split-by-macro]
idEmpty = rb_intern("empty?");
^~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:23: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^
byebug.c:901:13: note: '{' token is here
idEmpty = rb_intern("empty?");
^~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1737:24: note: expanded from macro 'rb_intern'
__extension__ (CONST_ID_CACHE((ID), (str))) : \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1730:37: note: expanded from macro 'CONST_ID_CACHE'
# define CONST_ID_CACHE(result, str) RUBY_CONST_ID_CACHE(result, str)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/ruby.h:1722:5: note: expanded from macro 'RUBY_CONST_ID_CACHE'
{ \
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make:***[byebug.o] Error 1
make failed, exit code 2
Gem files will remain installed in /Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/byebug-8.2.1 for inspection.
Results logged to /Users/cristopherhuarocolivera/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/extensions/-darwin-21/2.3.0-static/byebug-8.2.1/gem_make.out
1条答案
按热度按时间3qpi33ja1#
也许你可以试试这个