[#84280] [Ruby trunk Bug#14181] hangs or deadlocks from waitpid, threads, and trapping SIGCHLD — nobu@...
Issue #14181 has been updated by nobu (Nobuyoshi Nakada).
3 messages
2017/12/15
[#84398] [Ruby trunk Bug#14220] WEBrick changes - failures on MSWIN, MinGW — Greg.mpls@...
Issue #14220 has been reported by MSP-Greg (Greg L).
3 messages
2017/12/22
[#84472] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\ — Eric Wong <normalperson@...>
Shouldn't English posts be on ruby-core instead of ruby-dev?
3 messages
2017/12/26
[ruby-core:84249] [Ruby trunk Bug#14180][Open] error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
From:
duerst@...
Date:
2017-12-14 05:10:35 UTC
List:
ruby-core #84249
Issue #14180 has been updated by duerst (Martin Dürst).
Status changed from Closed to Open
Assignee changed from mrkn (Kenta Murata) to nobu (Nobuyoshi Nakada)
I am up to date at r61221 and have restarted with `./configure`, but part of the errors continue, as follows:
```
compiling bigdecimal.c
bigdecimal.c: In function ‘BigDecimal_version’:
bigdecimal.c:150:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
# error RUBY_BIGDECIMAL_VERSION is not defined
^
In file included from ../.././include/ruby/ruby.h:36:0,
from bigdecimal.h:14,
from bigdecimal.c:13:
bigdecimal.c:153:22: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in t his function)
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
^
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTE NSION_BLOCK’
#define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
^
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cs tr’
#define rb_str_new2 rb_str_new_cstr
^
bigdecimal.c:153:10: note: in expansion of macro ‘rb_str_new2’
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
^
bigdecimal.c:153:22: note: each undeclared identifier is reported only once for each function it appears in
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
^
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTE NSION_BLOCK’
#define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
^
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cs tr’
#define rb_str_new2 rb_str_new_cstr
^
bigdecimal.c:153:10: note: in expansion of macro ‘rb_str_new2’
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
^
bigdecimal.c: In function ‘Init_bigdecimal’:
bigdecimal.c:3308:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
# error RUBY_BIGDECIMAL_VERSION is not defined
^
In file included from ../.././include/ruby/ruby.h:36:0,
from bigdecimal.h:14,
from bigdecimal.c:13:
bigdecimal.c:3313:60: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in this function)
rb_define_const(rb_cBigDecimal, "VERSION", rb_str_new2(RUBY_BIGDECIMAL_VERS ION));
^
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTE NSION_BLOCK’
#define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
^
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cs tr’
#define rb_str_new2 rb_str_new_cstr
^
bigdecimal.c:3313:48: note: in expansion of macro ‘rb_str_new2’
rb_define_const(rb_cBigDecimal, "VERSION", rb_str_new2(RUBY_BIGDECIMAL_VERS ION));
^
bigdecimal.c: In function ‘BigDecimal_version’:
bigdecimal.c:154:1: warning: control reaches end of non-void function [-Wreturn- type]
}
^
bigdecimal.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
make[2]: *** [Makefile:279: bigdecimal.o] Error 1
make[2]: Leaving directory '/cygdrive/c/Data/ruby/ext/bigdecimal'
make[1]: *** [exts.mk:196: ext/bigdecimal/all] Error 2
make[1]: Leaving directory '/cygdrive/c/Data/ruby'
make: *** [uncommon.mk:238: build-ext] Error 2
```
----------------------------------------
Bug #14180: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
https://bugs.ruby-lang.org/issues/14180#change-68376
* Author: duerst (Martin Dürst)
* Status: Open
* Priority: Normal
* Assignee: nobu (Nobuyoshi Nakada)
* Target version:
* ruby -v: ruby 2.5.0dev (2017-12-13 trunk 61201) [x86_64-cygwin]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
When compiling the newest checkout, I get the error messages in the attached file.
The first few lines of the error messages are as follows:
```
compiling bigdecimal.c
bigdecimal.c: In function ‘BigDecimal_version’:
bigdecimal.c:150:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
# error RUBY_BIGDECIMAL_VERSION is not defined
^
In file included from ../.././include/ruby/ruby.h:36:0,
from bigdecimal.h:14,
from bigdecimal.c:13:
bigdecimal.c:153:22: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in this function)
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
```
---Files--------------------------------
errors20171214.txt (3.76 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>