Project

General

Profile

Actions

Bug #14180

closed

error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared

Added by duerst (Martin Dürst) over 6 years ago. Updated over 6 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.5.0dev (2017-12-13 trunk 61201) [x86_64-cygwin]
[ruby-core:84247]

Description

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) errors20171214.txt duerst (Martin Dürst), 12/14/2017 04:15 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0