Project

General

Profile

Bug #14180 » errors20171214.txt

duerst (Martin Dürst), 12/14/2017 04:15 AM

 
1
linking shared-library cygruby250.dll
2
generating makefiles ext/configure-ext.mk
3
ext/configure-ext.mk unchanged
4
make[1]: Entering directory '/cygdrive/c/Data/ruby'
5
make[2]: Entering directory '/cygdrive/c/Data/ruby/ext/bigdecimal'
6
compiling bigdecimal.c
7
bigdecimal.c: In function ‘BigDecimal_version’:
8
bigdecimal.c:150:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
9
 # error RUBY_BIGDECIMAL_VERSION is not defined
10
   ^
11
In file included from ../.././include/ruby/ruby.h:36:0,
12
                 from bigdecimal.h:14,
13
                 from bigdecimal.c:13:
14
bigdecimal.c:153:22: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in this function)
15
   return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
16
                      ^
17
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTENSION_BLOCK’
18
 #define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
19
                                                     ^
20
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cstr’
21
 #define rb_str_new2 rb_str_new_cstr
22
                     ^
23
bigdecimal.c:153:10: note: in expansion of macro ‘rb_str_new2’
24
   return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
25
          ^
26
bigdecimal.c:153:22: note: each undeclared identifier is reported only once for each function it appears in
27
   return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
28
                      ^
29
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTENSION_BLOCK’
30
 #define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
31
                                                     ^
32
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cstr’
33
 #define rb_str_new2 rb_str_new_cstr
34
                     ^
35
bigdecimal.c:153:10: note: in expansion of macro ‘rb_str_new2’
36
   return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
37
          ^
38
bigdecimal.c: In function ‘Init_bigdecimal’:
39
bigdecimal.c:3308:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
40
 # error RUBY_BIGDECIMAL_VERSION is not defined
41
   ^
42
In file included from ../.././include/ruby/ruby.h:36:0,
43
                 from bigdecimal.h:14,
44
                 from bigdecimal.c:13:
45
bigdecimal.c:3313:60: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in this function)
46
     rb_define_const(rb_cBigDecimal, "VERSION", rb_str_new2(RUBY_BIGDECIMAL_VERSION));
47
                                                            ^
48
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTENSION_BLOCK’
49
 #define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
50
                                                     ^
51
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cstr’
52
 #define rb_str_new2 rb_str_new_cstr
53
                     ^
54
bigdecimal.c:3313:48: note: in expansion of macro ‘rb_str_new2’
55
     rb_define_const(rb_cBigDecimal, "VERSION", rb_str_new2(RUBY_BIGDECIMAL_VERSION));
56
                                                ^
57
bigdecimal.c: In function ‘BigDecimal_version’:
58
bigdecimal.c:154:1: warning: control reaches end of non-void function [-Wreturn-type]
59
 }
60
 ^
61
bigdecimal.c: At top level:
62
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
63
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
64
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
65
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
66
make[2]: *** [Makefile:279: bigdecimal.o] Error 1
67
make[2]: Leaving directory '/cygdrive/c/Data/ruby/ext/bigdecimal'
68
make[1]: *** [exts.mk:196: ext/bigdecimal/all] Error 2
69
make[1]: Leaving directory '/cygdrive/c/Data/ruby'
70
make: *** [uncommon.mk:238: build-ext] Error 2
71
rm cygruby250.rc