Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 80.21 KB | None | 0 0
  1. [2016-12-07 12:39:49] __rvm_make
  2. __rvm_make ()
  3. {
  4. \make "$@" || return $?
  5. }
  6. current path: /home/ramon/.rvm/src/ruby-1.9.3-p551
  7. GEM_HOME=/home/ramon/.rvm/gems/ruby-1.9.3-p551
  8. PATH=/home/ramon/.rvm/gems/ruby-1.9.3-p551/bin:/home/ramon/.rvm/gems/ruby-1.9.3-p551@global/bin:/home/ramon/.rvm/rubies/ruby-1.9.3-p551/bin:/home/ramon/.rvm/bin:/home/ramon/.nvm/versions/node/v6.9.1/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/bin:/home/ramon/.cabal/bin:/bin:/home/ramon/npm/bin:/home/ramon/.opam/system/bin:/usr/local/bin:/home/ramon/.cabal/bin:/bin:/home/ramon/npm/bin:/home/ramon/.opam/system/bin
  9. GEM_PATH=/home/ramon/.rvm/gems/ruby-1.9.3-p551:/home/ramon/.rvm/gems/ruby-1.9.3-p551@global
  10. command(2): __rvm_make -j8
  11. ++ make -j8
  12. CC = gcc
  13. LD = ld
  14. LDSHARED = gcc -shared
  15. CFLAGS = -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC
  16. XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
  17. CPPFLAGS = -I. -I.ext/include/x86_64-linux -I./include -I.
  18. DLDFLAGS = -Wl,-soname,libruby.so.1.9
  19. SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
  20. compiling main.c
  21. compiling dmydln.c
  22. compiling dmyencoding.c
  23. compiling version.c
  24. compiling miniprelude.c
  25. compiling array.c
  26. compiling bignum.c
  27. compiling class.c
  28. compiling compar.c
  29. compiling complex.c
  30. compiling dir.c
  31. In file included from bignum.c:12:0:
  32. bignum.c: In function ‘rb_big_cmp’:
  33. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  34. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  35. ^
  36. bignum.c:1449:23: note: in expansion of macro ‘INT2FIX’
  37. if (a > 0.0) return INT2FIX(-1);
  38. ^~~~~~~
  39. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  40. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  41. ^
  42. bignum.c:1460:51: note: in expansion of macro ‘INT2FIX’
  43. if (RBIGNUM_SIGN(x) < RBIGNUM_SIGN(y)) return INT2FIX(-1);
  44. ^~~~~~~
  45. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  46. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  47. ^
  48. bignum.c:1462:29: note: in expansion of macro ‘INT2FIX’
  49. return (RBIGNUM_SIGN(x)) ? INT2FIX(-1) : INT2FIX(1);
  50. ^~~~~~~
  51. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  52. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  53. ^
  54. bignum.c:1464:42: note: in expansion of macro ‘INT2FIX’
  55. return (RBIGNUM_SIGN(x)) ? INT2FIX(1) : INT2FIX(-1);
  56. ^~~~~~~
  57. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  58. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  59. ^
  60. bignum.c:1472:34: note: in expansion of macro ‘INT2FIX’
  61. (RBIGNUM_SIGN(x) ? INT2FIX(1) : INT2FIX(-1)) :
  62. ^~~~~~~
  63. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  64. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  65. ^
  66. bignum.c:1473:25: note: in expansion of macro ‘INT2FIX’
  67. (RBIGNUM_SIGN(x) ? INT2FIX(-1) : INT2FIX(1));
  68. ^~~~~~~
  69. bignum.c: In function ‘big_op’:
  70. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  71. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  72. ^
  73. bignum.c:1493:22: note: in expansion of macro ‘INT2FIX’
  74. if (a > 0.0) rel = INT2FIX(-1);
  75. ^~~~~~~
  76. bignum.c: In function ‘rb_big_neg’:
  77. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  78. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  79. ^
  80. bignum.c:1680:20: note: in expansion of macro ‘INT2FIX’
  81. if (!i) return INT2FIX(~(SIGNED_VALUE)0);
  82. ^~~~~~~
  83. class.c: In function ‘rb_obj_methods’:
  84. class.c:1020:8: warning: variable ‘args’ set but not used [-Wunused-but-set-variable]
  85. VALUE args[1];
  86. ^~~~
  87. In file included from array.c:14:0:
  88. array.c: In function ‘rb_ary_cmp’:
  89. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  90. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  91. ^
  92. array.c:3341:12: note: in expansion of macro ‘INT2FIX’
  93. return INT2FIX(-1);
  94. ^~~~~~~
  95. bignum.c: In function ‘bdigbitsize’:
  96. bignum.c:2918:23: warning: left shift of negative value [-Wshift-negative-value]
  97. BDIGIT bits = (~0 << nb);
  98. ^~
  99. In file included from bignum.c:12:0:
  100. bignum.c: In function ‘check_shiftdown’:
  101. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  102. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  103. ^
  104. bignum.c:3414:40: note: in expansion of macro ‘INT2FIX’
  105. return RBIGNUM_SIGN(x) ? INT2FIX(0) : INT2FIX(-1);
  106. ^~~~~~~
  107. bignum.c: In function ‘big_rshift’:
  108. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  109. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  110. ^
  111. bignum.c:3538:13: note: in expansion of macro ‘INT2FIX’
  112. return INT2FIX(-1);
  113. ^~~~~~~
  114. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  115. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  116. ^
  117. bignum.c:3548:14: note: in expansion of macro ‘INT2FIX’
  118. else return INT2FIX(-1);
  119. ^~~~~~~
  120. bignum.c:3532:20: warning: variable ‘save_x’ set but not used [-Wunused-but-set-variable]
  121. volatile VALUE save_x;
  122. ^~~~~~
  123. dir.c: In function ‘dir_read’:
  124. dir.c:589:5: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
  125. if (READDIR(dirp->dir, dirp->enc, &STRUCT_DIRENT(entry), dp)) {
  126. ^~
  127. In file included from dir.c:26:0:
  128. /usr/include/dirent.h:183:12: note: declared here
  129. extern int readdir_r (DIR *__restrict __dirp,
  130. ^~~~~~~~~
  131. dir.c: In function ‘dir_each’:
  132. dir.c:631:5: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
  133. while (READDIR(dirp->dir, dirp->enc, &STRUCT_DIRENT(entry), dp)) {
  134. ^~~~~
  135. In file included from dir.c:26:0:
  136. /usr/include/dirent.h:183:12: note: declared here
  137. extern int readdir_r (DIR *__restrict __dirp,
  138. ^~~~~~~~~
  139. compiling dln_find.c
  140. dir.c: In function ‘glob_helper’:
  141. dir.c:1387:2: warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
  142. while (READDIR(dirp, enc, &STRUCT_DIRENT(entry), dp)) {
  143. ^~~~~
  144. In file included from dir.c:26:0:
  145. /usr/include/dirent.h:183:12: note: declared here
  146. extern int readdir_r (DIR *__restrict __dirp,
  147. ^~~~~~~~~
  148. dir.c: In function ‘dir_open_dir’:
  149. dir.c:1852:22: warning: variable ‘dirp’ set but not used [-Wunused-but-set-variable]
  150. struct dir_data *dirp;
  151. ^~~~
  152. compiling enum.c
  153. compiling enumerator.c
  154. compiling error.c
  155. compiling eval.c
  156. compiling load.c
  157. compiling proc.c
  158. proc.c: In function ‘binding_free’:
  159. proc.c:241:19: warning: variable ‘bind’ set but not used [-Wunused-but-set-variable]
  160. rb_binding_t *bind;
  161. ^~~~
  162. In file included from eval.c:14:0:
  163. eval.c: In function ‘rb_rescue2’:
  164. eval_intern.h:112:23: warning: ‘_th’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  165. rb_thread_t * const _th = (th); \
  166. ^~~
  167. eval_intern.h:112:23: note: ‘_th’ was declared here
  168. rb_thread_t * const _th = (th); \
  169. ^
  170. eval_intern.h:125:20: note: in expansion of macro ‘TH_PUSH_TAG’
  171. #define PUSH_TAG() TH_PUSH_TAG(GET_THREAD())
  172. ^~~~~~~~~~~
  173. eval.c:667:7: note: in expansion of macro ‘PUSH_TAG’
  174. PUSH_TAG();
  175. ^~~~~~~~
  176. compiling file.c
  177. compiling gc.c
  178. In file included from file.c:23:0:
  179. file.c: In function ‘rb_stat_cmp’:
  180. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  181. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  182. ^
  183. file.c:323:51: note: in expansion of macro ‘INT2FIX’
  184. if (ts1.tv_nsec < ts2.tv_nsec) return INT2FIX(-1);
  185. ^~~~~~~
  186. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  187. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  188. ^
  189. file.c:326:45: note: in expansion of macro ‘INT2FIX’
  190. if (ts1.tv_sec < ts2.tv_sec) return INT2FIX(-1);
  191. ^~~~~~~
  192. gc.c: In function ‘objspace_each_objects’:
  193. gc.c:2721:20: warning: variable ‘v’ set but not used [-Wunused-but-set-variable]
  194. volatile VALUE v;
  195. ^
  196. compiling hash.c
  197. compiling inits.c
  198. compiling io.c
  199. io.c: In function ‘rb_io_each_byte’:
  200. io.c:3118:15: warning: variable ‘e’ set but not used [-Wunused-but-set-variable]
  201. char *p, *e;
  202. ^
  203. compiling marshal.c
  204. io.c: In function ‘pipe_open’:
  205. io.c:5357:12: warning: variable ‘argv’ set but not used [-Wunused-but-set-variable]
  206. VALUE *argv;
  207. ^~~~
  208. io.c:5356:9: warning: variable ‘argc’ set but not used [-Wunused-but-set-variable]
  209. int argc;
  210. ^~~~
  211. compiling math.c
  212. compiling node.c
  213. compiling numeric.c
  214. In file included from numeric.c:12:0:
  215. numeric.c: In function ‘rb_dbl_cmp’:
  216. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  217. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  218. ^
  219. numeric.c:1066:23: note: in expansion of macro ‘INT2FIX’
  220. if (a < b) return INT2FIX(-1);
  221. ^~~~~~~
  222. numeric.c: In function ‘flo_cmp’:
  223. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  224. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  225. ^
  226. numeric.c:1095:18: note: in expansion of macro ‘INT2FIX’
  227. else return INT2FIX(-1);
  228. ^~~~~~~
  229. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  230. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  231. ^
  232. numeric.c:1112:13: note: in expansion of macro ‘INT2FIX’
  233. return INT2FIX(-1);
  234. ^~~~~~~
  235. numeric.c: In function ‘fix_pow’:
  236. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  237. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  238. ^
  239. numeric.c:2778:10: note: in expansion of macro ‘INT2FIX’
  240. return INT2FIX(-1);
  241. ^~~~~~~
  242. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  243. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  244. ^
  245. numeric.c:2792:18: note: in expansion of macro ‘INT2FIX’
  246. else return INT2FIX(-1);
  247. ^~~~~~~
  248. numeric.c: In function ‘fix_cmp’:
  249. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  250. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  251. ^
  252. numeric.c:2855:9: note: in expansion of macro ‘INT2FIX’
  253. return INT2FIX(-1);
  254. ^~~~~~~
  255. numeric.c: In function ‘fix_rshift’:
  256. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  257. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  258. ^
  259. numeric.c:3110:22: note: in expansion of macro ‘INT2FIX’
  260. if (val < 0) return INT2FIX(-1);
  261. ^~~~~~~
  262. numeric.c: In function ‘Init_Numeric’:
  263. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  264. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  265. ^
  266. numeric.c:3590:43: note: in expansion of macro ‘INT2FIX’
  267. rb_define_const(rb_cFloat, "MIN_EXP", INT2FIX(DBL_MIN_EXP));
  268. ^~~~~~~
  269. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  270. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  271. ^
  272. numeric.c:3592:46: note: in expansion of macro ‘INT2FIX’
  273. rb_define_const(rb_cFloat, "MIN_10_EXP", INT2FIX(DBL_MIN_10_EXP));
  274. ^~~~~~~
  275. compiling object.c
  276. In file included from object.c:14:0:
  277. object.c: In function ‘rb_mod_cmp’:
  278. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  279. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  280. ^
  281. object.c:1470:9: note: in expansion of macro ‘INT2FIX’
  282. return INT2FIX(-1);
  283. ^~~~~~~
  284. compiling pack.c
  285. pack.c: In function ‘pack_pack’:
  286. pack.c:381:9: warning: variable ‘signed_p’ set but not used [-Wunused-but-set-variable]
  287. int signed_p, integer_size, bigendian_p;
  288. ^~~~~~~~
  289. compiling parse.c
  290. In file included from parse.y:22:0:
  291. parse.y: In function ‘ruby_yyparse’:
  292. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  293. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  294. ^
  295. parse.y:1340:4: note: in expansion of macro ‘nd_set_line’
  296. nd_set_line($$, $<num>2);
  297. ^~~~~~~~~~~
  298. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  299. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  300. ^
  301. parse.y:2653:5: note: in expansion of macro ‘nd_set_line’
  302. nd_set_line($3, $<num>2);
  303. ^~~~~~~~~~~
  304. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  305. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  306. ^
  307. parse.y:2656:4: note: in expansion of macro ‘nd_set_line’
  308. nd_set_line($$, $<num>2);
  309. ^~~~~~~~~~~
  310. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  311. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  312. ^
  313. parse.y:2946:4: note: in expansion of macro ‘nd_set_line’
  314. nd_set_line($$, $<num>4);
  315. ^~~~~~~~~~~
  316. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  317. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  318. ^
  319. parse.y:2991:4: note: in expansion of macro ‘nd_set_line’
  320. nd_set_line($$, $<num>3);
  321. ^~~~~~~~~~~
  322. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  323. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  324. ^
  325. parse.y:3012:4: note: in expansion of macro ‘nd_set_line’
  326. nd_set_line($$, $<num>1);
  327. ^~~~~~~~~~~
  328. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  329. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  330. ^
  331. parse.y:3034:4: note: in expansion of macro ‘nd_set_line’
  332. nd_set_line($$, $<num>1);
  333. ^~~~~~~~~~~
  334. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  335. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  336. ^
  337. parse.y:3586:4: note: in expansion of macro ‘nd_set_line’
  338. nd_set_line($$, $<num>2);
  339. ^~~~~~~~~~~
  340. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  341. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  342. ^
  343. parse.y:3732:4: note: in expansion of macro ‘nd_set_line’
  344. nd_set_line($$, $<num>2);
  345. ^~~~~~~~~~~
  346. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  347. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  348. ^
  349. parse.y:3751:4: note: in expansion of macro ‘nd_set_line’
  350. nd_set_line($$, $<num>2);
  351. ^~~~~~~~~~~
  352. parse.y: In function ‘parser_compile_string’:
  353. parse.y:5309:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
  354. volatile VALUE tmp;
  355. ^~~
  356. parse.y: In function ‘rb_parser_compile_file’:
  357. parse.y:5370:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
  358. volatile VALUE tmp;
  359. ^~~
  360. In file included from parse.y:22:0:
  361. parse.y: In function ‘parser_heredoc_identifier’:
  362. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  363. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  364. ^
  365. parse.y:6191:5: note: in expansion of macro ‘nd_set_line’
  366. nd_set_line(lex_strterm, ruby_sourceline);
  367. ^~~~~~~~~~~
  368. compiling process.c
  369. parse.y: In function ‘node_newnode’:
  370. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  371. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  372. ^
  373. parse.y:8024:5: note: in expansion of macro ‘nd_set_line’
  374. nd_set_line(n, ruby_sourceline);
  375. ^~~~~~~~~~~
  376. parse.y: In function ‘fixpos’:
  377. node.h:278:43: warning: left shift of negative value [-Wshift-negative-value]
  378. RNODE(n)->flags=((RNODE(n)->flags&~(-1<<NODE_LSHIFT))|(((l)&NODE_LMASK)<<NODE_LSHIFT))
  379. ^
  380. parse.y:8056:5: note: in expansion of macro ‘nd_set_line’
  381. nd_set_line(node, nd_line(orig));
  382. ^~~~~~~~~~~
  383. compiling random.c
  384. process.c: In function ‘rb_proc_exec_n’:
  385. process.c:1134:9: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  386. int ret = -1;
  387. ^~~
  388. In file included from process.c:14:0:
  389. process.c: In function ‘check_exec_fds’:
  390. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  391. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  392. ^
  393. process.c:1664:46: note: in expansion of macro ‘INT2FIX’
  394. rb_hash_aset(h, INT2FIX(fd), INT2FIX(-1));
  395. ^~~~~~~
  396. compiling range.c
  397. compiling rational.c
  398. compiling re.c
  399. compiling regcomp.c
  400. compiling regenc.c
  401. regcomp.c: In function ‘is_not_included’:
  402. regcomp.c:2436:13: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
  403. UChar *p, c;
  404. ^
  405. regcomp.c: In function ‘update_string_node_case_fold’:
  406. regcomp.c:3226:14: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]
  407. UChar *p, *q, *end, buf[ONIGENC_MBC_CASE_FOLD_MAXLEN];
  408. ^
  409. compiling regerror.c
  410. compiling regexec.c
  411. compiling regparse.c
  412. compiling regsyntax.c
  413. regparse.c: In function ‘fetch_escaped_value’:
  414. regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
  415. #define PFETCH_READY UChar* pfetch_prev
  416. ^
  417. regparse.c:2452:3: note: in expansion of macro ‘PFETCH_READY’
  418. PFETCH_READY;
  419. ^~~~~~~~~~~~
  420. regparse.c: In function ‘fetch_name’:
  421. regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
  422. #define PFETCH_READY UChar* pfetch_prev
  423. ^
  424. regparse.c:2665:3: note: in expansion of macro ‘PFETCH_READY’
  425. PFETCH_READY;
  426. ^~~~~~~~~~~~
  427. regparse.c: In function ‘parse_posix_bracket’:
  428. regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
  429. #define PFETCH_READY UChar* pfetch_prev
  430. ^
  431. regparse.c:4044:3: note: in expansion of macro ‘PFETCH_READY’
  432. PFETCH_READY;
  433. ^~~~~~~~~~~~
  434. regparse.c: In function ‘fetch_char_property_to_ctype’:
  435. regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
  436. #define PFETCH_READY UChar* pfetch_prev
  437. ^
  438. regparse.c:4097:3: note: in expansion of macro ‘PFETCH_READY’
  439. PFETCH_READY;
  440. ^~~~~~~~~~~~
  441. regparse.c: In function ‘code_exist_check’:
  442. regparse.c:261:30: warning: variable ‘pfetch_prev’ set but not used [-Wunused-but-set-variable]
  443. #define PFETCH_READY UChar* pfetch_prev
  444. ^
  445. regparse.c:4262:3: note: in expansion of macro ‘PFETCH_READY’
  446. PFETCH_READY;
  447. ^~~~~~~~~~~~
  448. compiling ruby.c
  449. compiling safe.c
  450. compiling signal.c
  451. signal.c: In function ‘trap_handler’:
  452. signal.c:826:17: warning: variable ‘proc’ set but not used [-Wunused-but-set-variable]
  453. rb_proc_t *proc;
  454. ^~~~
  455. compiling sprintf.c
  456. compiling st.c
  457. sprintf.c: In function ‘remove_sign_bits’:
  458. sprintf.c:26:32: warning: left shift of negative value [-Wshift-negative-value]
  459. #define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))
  460. ^
  461. sprintf.c:41:8: note: in expansion of macro ‘EXTENDSIGN’
  462. *t |= EXTENDSIGN(3, strlen(t));
  463. ^~~~~~~~~~
  464. sprintf.c:26:76: warning: left shift of negative value [-Wshift-negative-value]
  465. #define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))
  466. ^
  467. sprintf.c:41:8: note: in expansion of macro ‘EXTENDSIGN’
  468. *t |= EXTENDSIGN(3, strlen(t));
  469. ^~~~~~~~~~
  470. sprintf.c: In function ‘rb_str_format’:
  471. sprintf.c:902:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  472. if (s[0] != 'f') *--s = 'f'; break;
  473. ^~
  474. sprintf.c:902:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  475. if (s[0] != 'f') *--s = 'f'; break;
  476. ^~~~~
  477. sprintf.c:904:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  478. if (s[0] != '7') *--s = '7'; break;
  479. ^~
  480. sprintf.c:904:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  481. if (s[0] != '7') *--s = '7'; break;
  482. ^~~~~
  483. sprintf.c:906:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  484. if (s[0] != '1') *--s = '1'; break;
  485. ^~
  486. sprintf.c:906:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
  487. if (s[0] != '1') *--s = '1'; break;
  488. ^~~~~
  489. compiling strftime.c
  490. compiling string.c
  491. In file included from string.c:14:0:
  492. string.c: In function ‘rb_str_casecmp’:
  493. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  494. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  495. ^
  496. string.c:2429:12: note: in expansion of macro ‘INT2FIX’
  497. return INT2FIX(-1);
  498. ^~~~~~~
  499. compiling struct.c
  500. compiling time.c
  501. compiling transcode.c
  502. time.c: In function ‘timelocalw’:
  503. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  504. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  505. ^
  506. time.c:67:27: note: in definition of macro ‘lt’
  507. #define lt(x,y) (cmp((x),(y)) < 0)
  508. ^
  509. ./include/ruby/ruby.h:973:21: note: in expansion of macro ‘INT2FIX’
  510. # define INT2NUM(v) INT2FIX((int)(v))
  511. ^~~~~~~
  512. time.c:1621:19: note: in expansion of macro ‘INT2NUM’
  513. if (lt(v, INT2NUM(INT_MIN)) || lt(INT2NUM(INT_MAX), v))
  514. ^~~~~~~
  515. transcode.c: In function ‘rb_econv_open0’:
  516. transcode.c:985:25: warning: variable ‘denc’ set but not used [-Wunused-but-set-variable]
  517. rb_encoding *senc, *denc;
  518. ^~~~
  519. transcode.c:985:18: warning: variable ‘senc’ set but not used [-Wunused-but-set-variable]
  520. rb_encoding *senc, *denc;
  521. ^~~~
  522. time.c: In function ‘validate_utc_offset’:
  523. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  524. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  525. ^
  526. time.c:69:27: note: in definition of macro ‘le’
  527. #define le(x,y) (cmp((x),(y)) <= 0)
  528. ^
  529. time.c:2654:24: note: in expansion of macro ‘INT2FIX’
  530. if (le(utc_offset, INT2FIX(-86400)) || ge(utc_offset, INT2FIX(86400)))
  531. ^~~~~~~
  532. transcode.c: In function ‘make_replacement’:
  533. transcode.c:2177:18: warning: variable ‘enc’ set but not used [-Wunused-but-set-variable]
  534. rb_encoding *enc;
  535. ^~~
  536. In file included from time.c:12:0:
  537. time.c: In function ‘time_cmp’:
  538. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  539. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  540. ^
  541. time.c:3381:12: note: in expansion of macro ‘INT2FIX’
  542. return INT2FIX(-1);
  543. ^~~~~~~
  544. compiling util.c
  545. compiling variable.c
  546. compiling compile.c
  547. compile.c: In function ‘validate_label’:
  548. compile.c:444:10: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
  549. int ret;
  550. ^~~
  551. compile.c: In function ‘iseq_compile_each’:
  552. compile.c:3320:5: warning: variable ‘mid’ set but not used [-Wunused-but-set-variable]
  553. ID mid = 0;
  554. ^~~
  555. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  556. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  557. ^
  558. compile.c:196:62: note: in definition of macro ‘ADD_INSN1’
  559. new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
  560. ^~~
  561. compile.c:5007:48: note: in expansion of macro ‘INT2FIX’
  562. ADD_INSN1(ret, nd_line(node), putobject, INT2FIX(-1));
  563. ^~~~~~~
  564. ./include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  565. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  566. ^
  567. compile.c:196:62: note: in definition of macro ‘ADD_INSN1’
  568. new_insn_body(iseq, (line), BIN(insn), 1, (VALUE)(op1)))
  569. ^~~
  570. compile.c:5015:44: note: in expansion of macro ‘INT2FIX’
  571. ADD_INSN1(ret, nd_line(node), putobject, INT2FIX(-1));
  572. ^~~~~~~
  573. compile.c: In function ‘iseq_build_from_ary_exception’:
  574. compile.c:5273:6: warning: variable ‘sp’ set but not used [-Wunused-but-set-variable]
  575. int sp;
  576. ^~
  577. compiling debug.c
  578. compiling iseq.c
  579. In file included from vm_core.h:25:0,
  580. from iseq.c:17:
  581. iseq.c: In function ‘iseq_load’:
  582. iseq.c:505:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
  583. cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
  584. ^
  585. ruby_atomic.h:23:24: note: in definition of macro ‘ATOMIC_SIZE_CAS’
  586. ({ size_t oldvaldup = (oldval); \
  587. ^~~~~~
  588. iseq.c:505:15: note: in expansion of macro ‘ATOMIC_PTR_CAS’
  589. cached_map = ATOMIC_PTR_CAS(type_map_cache, (struct st_table *)0, type_map);
  590. ^~~~~~~~~~~~~~
  591. iseq.c:448:51: warning: variable ‘misc’ set but not used [-Wunused-but-set-variable]
  592. VALUE magic, version1, version2, format_type, misc;
  593. ^~~~
  594. iseq.c:448:38: warning: variable ‘format_type’ set but not used [-Wunused-but-set-variable]
  595. VALUE magic, version1, version2, format_type, misc;
  596. ^~~~~~~~~~~
  597. iseq.c:448:28: warning: variable ‘version2’ set but not used [-Wunused-but-set-variable]
  598. VALUE magic, version1, version2, format_type, misc;
  599. ^~~~~~~~
  600. iseq.c:448:18: warning: variable ‘version1’ set but not used [-Wunused-but-set-variable]
  601. VALUE magic, version1, version2, format_type, misc;
  602. ^~~~~~~~
  603. iseq.c:448:11: warning: variable ‘magic’ set but not used [-Wunused-but-set-variable]
  604. VALUE magic, version1, version2, format_type, misc;
  605. ^~~~~
  606. iseq.c: In function ‘rb_iseq_parameters’:
  607. iseq.c:1390:15: warning: variable ‘s’ set but not used [-Wunused-but-set-variable]
  608. int i, r, s;
  609. ^
  610. time.c: In function ‘localtimew’:
  611. time.c:1799:19: warning: ‘tm.tm_isdst’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  612. result->isdst = isdst;
  613. ~~~~~~~~~~~~~~^~~~~~~
  614. compiling vm.c
  615. compiling vm_dump.c
  616. In file included from vm.c:18:0:
  617. vm_insnhelper.c: In function ‘vm_throw’:
  618. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  619. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  620. ^
  621. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  622. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  623. ^~~~~~~~~~~~~~~~~~~
  624. vm_insnhelper.c:1500:7: note: in expansion of macro ‘VM_FRAME_TYPE’
  625. if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
  626. ^~~~~~~~~~~~~
  627. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  628. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  629. ^
  630. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  631. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  632. ^~~~~~~~~~~~~~~~~~~
  633. vm_insnhelper.c:1567:8: note: in expansion of macro ‘VM_FRAME_TYPE’
  634. if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_LAMBDA) {
  635. ^~~~~~~~~~~~~
  636. In file included from vm.c:23:0:
  637. vm_insnhelper.c: In function ‘vm_expandarray’:
  638. vm_insnhelper.c:1634:20: warning: variable ‘tmp_ary’ set but not used [-Wunused-but-set-variable]
  639. volatile VALUE tmp_ary;
  640. ^~~~~~~
  641. In file included from vm.c:28:0:
  642. vm_eval.c: In function ‘raise_method_missing’:
  643. vm_eval.c:509:8: warning: variable ‘id’ set but not used [-Wunused-but-set-variable]
  644. ID id;
  645. ^~
  646. In file included from vm.c:18:0:
  647. vm_eval.c: In function ‘rb_iterate’:
  648. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  649. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  650. ^
  651. vm_core.h:108:40: note: in definition of macro ‘UNLIKELY’
  652. #define UNLIKELY(x) (__builtin_expect((x), 0))
  653. ^
  654. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  655. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  656. ^~~~~~~~~~~~~~~~~~~
  657. vm_eval.c:917:20: note: in expansion of macro ‘VM_FRAME_TYPE’
  658. if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
  659. ^~~~~~~~~~~~~
  660. In file included from vm_dump.c:14:0:
  661. vm_dump.c: In function ‘control_frame_dump’:
  662. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  663. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  664. ^
  665. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  666. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  667. ^~~~~~~~~~~~~~~~~~~
  668. vm_dump.c:51:13: note: in expansion of macro ‘VM_FRAME_TYPE’
  669. switch (VM_FRAME_TYPE(cfp)) {
  670. ^~~~~~~~~~~~~
  671. vm_dump.c: In function ‘rb_vmdebug_debug_print_pre’:
  672. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  673. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  674. ^
  675. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  676. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  677. ^~~~~~~~~~~~~~~~~~~
  678. vm_dump.c:365:22: note: in expansion of macro ‘VM_FRAME_TYPE’
  679. if (iseq != 0 && VM_FRAME_TYPE(cfp) != VM_FRAME_MAGIC_FINISH) {
  680. ^~~~~~~~~~~~~
  681. vm.c: In function ‘vm_make_env_object’:
  682. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  683. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  684. ^
  685. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  686. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  687. ^~~~~~~~~~~~~~~~~~~
  688. vm.c:487:9: note: in expansion of macro ‘VM_FRAME_TYPE’
  689. if (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_FINISH) {
  690. ^~~~~~~~~~~~~
  691. vm.c: In function ‘vm_backtrace_each’:
  692. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  693. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  694. ^
  695. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  696. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  697. ^~~~~~~~~~~~~~~~~~~
  698. vm_core.h:591:4: note: in expansion of macro ‘VM_FRAME_TYPE’
  699. (VM_FRAME_TYPE(cfp) == VM_FRAME_MAGIC_CFUNC)
  700. ^~~~~~~~~~~~~
  701. vm.c:818:11: note: in expansion of macro ‘RUBYVM_CFUNC_FRAME_P’
  702. else if (RUBYVM_CFUNC_FRAME_P(cfp)) {
  703. ^~~~~~~~~~~~~~~~~~~~
  704. vm.c: In function ‘vm_exec’:
  705. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  706. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  707. ^
  708. vm_core.h:108:40: note: in definition of macro ‘UNLIKELY’
  709. #define UNLIKELY(x) (__builtin_expect((x), 0))
  710. ^
  711. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  712. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  713. ^~~~~~~~~~~~~~~~~~~
  714. vm.c:1257:19: note: in expansion of macro ‘VM_FRAME_TYPE’
  715. if (UNLIKELY(VM_FRAME_TYPE(th->cfp) == VM_FRAME_MAGIC_CFUNC)) {
  716. ^~~~~~~~~~~~~
  717. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  718. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  719. ^
  720. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  721. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  722. ^~~~~~~~~~~~~~~~~~~
  723. vm.c:1426:14: note: in expansion of macro ‘VM_FRAME_TYPE’
  724. switch (VM_FRAME_TYPE(th->cfp)) {
  725. ^~~~~~~~~~~~~
  726. vm_core.h:583:36: warning: left shift of negative value [-Wshift-negative-value]
  727. #define VM_FRAME_MAGIC_MASK (~(~0<<VM_FRAME_MAGIC_MASK_BITS))
  728. ^
  729. vm_core.h:585:43: note: in expansion of macro ‘VM_FRAME_MAGIC_MASK’
  730. #define VM_FRAME_TYPE(cfp) ((cfp)->flag & VM_FRAME_MAGIC_MASK)
  731. ^~~~~~~~~~~~~~~~~~~
  732. vm.c:1437:10: note: in expansion of macro ‘VM_FRAME_TYPE’
  733. if (VM_FRAME_TYPE(th->cfp) != VM_FRAME_MAGIC_FINISH) {
  734. ^~~~~~~~~~~~~
  735. vm.c: In function ‘rb_iseq_eval’:
  736. vm.c:1460:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
  737. volatile VALUE tmp;
  738. ^~~
  739. vm.c: In function ‘rb_iseq_eval_main’:
  740. vm.c:1474:20: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable]
  741. volatile VALUE tmp;
  742. ^~~
  743. compiling thread.c
  744. compiling cont.c
  745. cont.c: In function ‘cont_capture’:
  746. cont.c:429:20: warning: variable ‘contval’ set but not used [-Wunused-but-set-variable]
  747. volatile VALUE contval;
  748. ^~~~~~~
  749. compiling ./enc/ascii.c
  750. compiling ./enc/us_ascii.c
  751. thread.c: In function ‘thread_suppress_tracing’:
  752. thread.c:4615:11: warning: variable ‘result’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  753. VALUE result = Qnil;
  754. ^~~~~~
  755. compiling ./enc/unicode.c
  756. compiling ./enc/utf_8.c
  757. compiling newline.c
  758. compiling ./missing/strlcpy.c
  759. compiling ./missing/strlcat.c
  760. compiling ./missing/setproctitle.c
  761. compiling addr2line.c
  762. compiling dmyext.c
  763. thread.c: In function ‘exec_recursive_i’:
  764. thread.c:3987:11: warning: variable ‘result’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  765. VALUE result = Qundef;
  766. ^~~~~~
  767. compiling dln.c
  768. addr2line.c: In function ‘parse_debug_line_cu’:
  769. addr2line.c:230:18: warning: variable ‘isa’ set but not used [-Wunused-but-set-variable]
  770. unsigned int isa = 0;
  771. ^~~
  772. addr2line.c:227:9: warning: variable ‘end_sequence’ set but not used [-Wunused-but-set-variable]
  773. int end_sequence = 0;
  774. ^~~~~~~~~~~~
  775. addr2line.c:226:9: warning: variable ‘basic_block’ set but not used [-Wunused-but-set-variable]
  776. int basic_block = 0;
  777. ^~~~~~~~~~~
  778. addr2line.c:224:18: warning: variable ‘column’ set but not used [-Wunused-but-set-variable]
  779. unsigned int column = 0;
  780. ^~~~~~
  781. addr2line.c:218:20: warning: variable ‘standard_opcode_lengths’ set but not used [-Wunused-but-set-variable]
  782. unsigned char *standard_opcode_lengths;
  783. ^~~~~~~~~~~~~~~~~~~~~~~
  784. compiling encoding.c
  785. compiling dmyversion.c
  786. In file included from thread.c:217:0:
  787. thread.c: In function ‘rb_mutex_lock’:
  788. thread_pthread.c:388:8: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow]
  789. if (timeout.tv_sec < now.tv_sec)
  790. ^
  791. vm.c: In function ‘vm_exec’:
  792. vm.c:1230:12: warning: variable ‘escape_dfp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  793. VALUE *escape_dfp = NULL;
  794. ^~~~~~~~~~
  795. In file included from vm.c:28:0:
  796. vm_eval.c: In function ‘eval_string_with_cref’:
  797. vm_eval.c:994:19: warning: variable ‘bind’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  798. rb_binding_t *bind = 0;
  799. ^~~~
  800. vm_eval.c: In function ‘rb_eval_cmd’:
  801. vm_eval.c:1202:11: warning: variable ‘val’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered]
  802. VALUE val = Qnil; /* OK */
  803. ^~~
  804. linking miniruby
  805. generating encdb.h
  806. rbconfig.rb updated
  807. generating enc.mk
  808. generating prelude.c
  809. compiling prelude.c
  810. encdb.h unchanged
  811. making srcs under enc
  812. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  813. make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  814. make[1]: Nothing to be done for 'srcs'.
  815. make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  816. generating transdb.h
  817. linking static-library libruby-static.a
  818. ar: `u' modifier ignored since `D' is the default (see `U')
  819. transdb.h unchanged
  820. linking shared-library libruby.so.1.9.1
  821. making enc
  822. making trans
  823. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  824. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  825. make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  826. make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  827. compiling ./enc/encdb.c
  828. compiling ./enc/big5.c
  829. compiling ./enc/cp949.c
  830. compiling ./enc/trans/transdb.c
  831. compiling ./enc/emacs_mule.c
  832. compiling ./enc/trans/big5.c
  833. compiling ./enc/euc_jp.c
  834. compiling ./enc/euc_kr.c
  835. configuring -test-/array/resize
  836. compiling ./enc/trans/chinese.c
  837. configuring -test-/bug-3571
  838. configuring -test-/bug-3662
  839. compiling ./enc/trans/emoji.c
  840. configuring -test-/funcall
  841. configuring -test-/load/dot.dot
  842. configuring -test-/old_thread_select
  843. configuring -test-/st/numhash
  844. compiling ./enc/trans/emoji_iso2022_kddi.c
  845. configuring -test-/string
  846. configuring -test-/wait_for_single_fd
  847. configuring -test-/win32/dln
  848. Failed to configure -test-/win32/dln. It will not be installed.
  849. compiling ./enc/euc_tw.c
  850. configuring -test-/win32/fd_setsize
  851. Failed to configure -test-/win32/fd_setsize. It will not be installed.
  852. configuring bigdecimal
  853. compiling ./enc/gb2312.c
  854. compiling ./enc/gb18030.c
  855. compiling ./enc/trans/emoji_sjis_kddi.c
  856. compiling ./enc/trans/emoji_sjis_docomo.c
  857. compiling ./enc/trans/emoji_sjis_softbank.c
  858. compiling ./enc/trans/escape.c
  859. compiling ./enc/gbk.c
  860. compiling ./enc/iso_8859_1.c
  861. compiling ./enc/iso_8859_2.c
  862. compiling ./enc/iso_8859_3.c
  863. compiling ./enc/iso_8859_4.c
  864. compiling ./enc/iso_8859_5.c
  865. compiling ./enc/trans/gb18030.c
  866. compiling ./enc/iso_8859_6.c
  867. compiling ./enc/iso_8859_7.c
  868. configuring continuation
  869. configuring coverage
  870. configuring curses
  871. compiling ./enc/iso_8859_8.c
  872. compiling ./enc/iso_8859_9.c
  873. compiling ./enc/trans/gbk.c
  874. compiling ./enc/iso_8859_10.c
  875. compiling ./enc/iso_8859_11.c
  876. compiling ./enc/iso_8859_13.c
  877. compiling ./enc/iso_8859_14.c
  878. compiling ./enc/iso_8859_15.c
  879. compiling ./enc/iso_8859_16.c
  880. compiling ./enc/koi8_r.c
  881. compiling ./enc/koi8_u.c
  882. compiling ./enc/shift_jis.c
  883. compiling ./enc/trans/iso2022.c
  884. compiling ./enc/utf_16be.c
  885. compiling ./enc/trans/japanese.c
  886. ./enc/utf_16be.c:36:18: warning: ‘EncLen_UTF16’ defined but not used [-Wunused-const-variable=]
  887. static const int EncLen_UTF16[] = {
  888. ^~~~~~~~~~~~
  889. compiling ./enc/utf_16le.c
  890. compiling ./enc/utf_32be.c
  891. ./enc/utf_16le.c:36:18: warning: ‘EncLen_UTF16’ defined but not used [-Wunused-const-variable=]
  892. static const int EncLen_UTF16[] = {
  893. ^~~~~~~~~~~~
  894. compiling ./enc/trans/japanese_euc.c
  895. compiling ./enc/utf_32le.c
  896. compiling ./enc/windows_1251.c
  897. linking encoding encdb.so
  898. linking encoding big5.so
  899. linking encoding cp949.so
  900. linking encoding emacs_mule.so
  901. compiling ./enc/trans/japanese_sjis.c
  902. compiling ./enc/trans/korean.c
  903. linking encoding euc_jp.so
  904. linking encoding euc_kr.so
  905. compiling ./enc/trans/single_byte.c
  906. linking encoding euc_tw.so
  907. compiling ./enc/trans/utf8_mac.c
  908. linking encoding gb2312.so
  909. compiling ./enc/trans/utf_16_32.c
  910. linking encoding gb18030.so
  911. linking encoding gbk.so
  912. linking encoding iso_8859_1.so
  913. linking encoding iso_8859_2.so
  914. linking encoding iso_8859_3.so
  915. linking transcoder transdb.so
  916. linking encoding iso_8859_4.so
  917. linking transcoder chinese.so
  918. linking transcoder emoji.so
  919. linking encoding iso_8859_5.so
  920. linking encoding iso_8859_6.so
  921. linking encoding iso_8859_7.so
  922. linking transcoder emoji_iso2022_kddi.so
  923. linking encoding iso_8859_8.so
  924. linking transcoder emoji_sjis_docomo.so
  925. linking encoding iso_8859_9.so
  926. linking transcoder emoji_sjis_kddi.so
  927. linking transcoder emoji_sjis_softbank.so
  928. linking encoding iso_8859_10.so
  929. linking encoding iso_8859_11.so
  930. linking encoding iso_8859_13.so
  931. linking encoding iso_8859_14.so
  932. linking transcoder escape.so
  933. linking encoding iso_8859_15.so
  934. linking encoding iso_8859_16.so
  935. linking transcoder gb18030.so
  936. linking transcoder iso2022.so
  937. linking encoding koi8_r.so
  938. linking encoding koi8_u.so
  939. linking transcoder japanese.so
  940. linking transcoder single_byte.so
  941. linking transcoder utf8_mac.so
  942. linking transcoder utf_16_32.so
  943. linking encoding shift_jis.so
  944. linking encoding utf_16be.so
  945. linking transcoder gbk.so
  946. linking encoding utf_16le.so
  947. linking encoding utf_32be.so
  948. linking encoding utf_32le.so
  949. linking encoding windows_1251.so
  950. linking transcoder japanese_sjis.so
  951. make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  952. linking transcoder japanese_euc.so
  953. linking transcoder korean.so
  954. linking transcoder big5.so
  955. make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  956. making encs
  957. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  958. make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  959. make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  960. configuring date
  961. configuring dbm
  962. configuring digest
  963. configuring digest/bubblebabble
  964. configuring digest/md5
  965. configuring digest/rmd160
  966. configuring digest/sha1
  967. configuring digest/sha2
  968. configuring dl
  969. configuring dl/callback
  970. configuring dl/win32
  971. Failed to configure dl/win32. It will not be installed.
  972. configuring etc
  973. configuring fcntl
  974. configuring fiber
  975. configuring fiddle
  976. configuring gdbm
  977. configuring iconv
  978. configuring io/console
  979. configuring io/nonblock
  980. configuring io/wait
  981. configuring json
  982. configuring json/generator
  983. configuring json/parser
  984. configuring mathn/complex
  985. configuring mathn/rational
  986. configuring nkf
  987. configuring objspace
  988. configuring openssl
  989. configuring pathname
  990. configuring psych
  991. configuring pty
  992. configuring racc/cparse
  993. configuring readline
  994. configuring ripper
  995. configuring sdbm
  996. configuring socket
  997. configuring stringio
  998. configuring strscan
  999. configuring syck
  1000. configuring syslog
  1001. configuring tk
  1002. check functions.........
  1003. check struct members..
  1004. check libraries....
  1005. Use ActiveTcl libraries (if available).
  1006. Search tclConfig.sh and tkConfig.sh............
  1007. Ignore "/usr/lib64/tclConfig.sh" (unsupported version of Tcl/Tk).
  1008. .........
  1009. Ignore "/usr/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
  1010. .
  1011. Ignore "/lib/tclConfig.sh" (unsupported version of Tcl/Tk).
  1012. .........
  1013. Fail to find [tclConfig.sh, tkConfig.sh]
  1014. Use X11 libraries (or use TK_XINCLUDES/TK_XLIBSW information on tkConfig.sh).
  1015.  
  1016. Search tcl.h.
  1017. Search tk.h.Search Tcl library..........
  1018. Warning:: cannot find Tcl library. tcltklib will not be compiled (tcltklib is disabled on your Ruby. That is, Ruby/Tk will not work). Please check configure options.
  1019.  
  1020. Can't find proper Tcl/Tk libraries. So, can't make tcltklib.so which is required by Ruby/Tk.
  1021. If you have Tcl/Tk libraries on your environment, you may be able to use them with configure options (see ext/tk/README.tcltklib).
  1022. At present, Tcl/Tk8.6 is not supported. Although you can try to use Tcl/Tk8.6 with configure options, it will not work correctly. I recommend you to use Tcl/Tk8.5 or 8.4.
  1023. Failed to configure tk. It will not be installed.
  1024. configuring tk/tkutil
  1025. Failed to configure tk/tkutil. It will not be installed.
  1026. configuring win32ole
  1027. Failed to configure win32ole. It will not be installed.
  1028. configuring zlib
  1029. make[1]: warning: -jN forced in submake: disabling jobserver mode.
  1030. make[1]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  1031. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/funcall'
  1032. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1033. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3571'
  1034. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1035. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/array/resize'
  1036. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1037. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/load/dot.dot'
  1038. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1039. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3662'
  1040. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1041. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/old_thread_select'
  1042. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1043. compiling passing_block.c
  1044. compiling bug.c
  1045. compiling bug.c
  1046. compiling resize.c
  1047. installing default funcall libraries
  1048. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/st/numhash'
  1049. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1050. installing default bug libraries
  1051. installing default bug libraries
  1052. compiling numhash.c
  1053. compiling dot.dot.c
  1054. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/string'
  1055. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1056. installing default numhash libraries
  1057. compiling old_thread_select.c
  1058. installing default resize libraries
  1059. compiling cstr.c
  1060. compiling init.c
  1061. compiling modify.c
  1062. compiling set_len.c
  1063. installing default old_thread_select libraries
  1064. installing default dot.dot libraries
  1065. compiling ellipsize.c
  1066. linking shared-object -test-/bug-3571/bug.so
  1067. linking shared-object -test-/array/resize.so
  1068. linking shared-object -test-/load/dot.dot/dot.dot.so
  1069. linking shared-object -test-/bug-3662/bug.so
  1070. old_thread_select.c: In function ‘old_thread_select’:
  1071. old_thread_select.c:57:5: warning: ‘rb_thread_select’ is deprecated [-Wdeprecated-declarations]
  1072. rc = rb_thread_select(max, rp, wp, ep, tvp);
  1073. ^~
  1074. In file included from ../../.././include/ruby/ruby.h:24:0,
  1075. from old_thread_select.c:2:
  1076. ../../.././include/ruby/intern.h:390:16: note: declared here
  1077. DEPRECATED(int rb_thread_select(int, fd_set *, fd_set *, fd_set *, struct timeval *));
  1078. ^
  1079. ../../../.ext/include/x86_64-linux/ruby/config.h:67:52: note: in definition of macro ‘DEPRECATED’
  1080. #define DEPRECATED(x) __attribute__ ((deprecated)) x
  1081. ^
  1082. compiling enc_associate.c
  1083. linking shared-object -test-/funcall/funcall.so
  1084. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/array/resize'
  1085. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/wait_for_single_fd'
  1086. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1087. compiling wait_for_single_fd.c
  1088. installing default string libraries
  1089. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/funcall'
  1090. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/dln'
  1091. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1092. make[2]: Nothing to be done for 'all'.
  1093. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/dln'
  1094. linking shared-object -test-/st/numhash.so
  1095. installing default wait_for_single_fd libraries
  1096. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/load/dot.dot'
  1097. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3662'
  1098. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/bigdecimal'
  1099. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1100. compiling bigdecimal.c
  1101. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/fd_setsize'
  1102. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1103. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/continuation'
  1104. make[2]: Nothing to be done for 'all'.
  1105. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1106. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/win32/fd_setsize'
  1107. compiling continuation.c
  1108. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/bug-3571'
  1109. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/curses'
  1110. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1111. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/coverage'
  1112. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1113. linking shared-object -test-/string/string.so
  1114. compiling coverage.c
  1115. compiling curses.c
  1116. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/st/numhash'
  1117. installing default bigdecimal libraries
  1118. linking shared-object -test-/old_thread_select/old_thread_select.so
  1119. installing default coverage libraries
  1120. installing default continuation libraries
  1121. linking shared-object -test-/wait_for_single_fd/wait_for_single_fd.so
  1122. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/date'
  1123. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1124. compiling date_strptime.c
  1125. compiling date_parse.c
  1126. installing default curses libraries
  1127. compiling date_strftime.c
  1128. linking shared-object continuation.so
  1129. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/string'
  1130. bigdecimal.c: In function ‘BigDecimal_prec’:
  1131. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1132. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1133. ^
  1134. bigdecimal.c:315:5: note: in expansion of macro ‘ENTER’
  1135. ENTER(1);
  1136. ^~~~~
  1137. bigdecimal.c: In function ‘BigDecimal_hash’:
  1138. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1139. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1140. ^
  1141. bigdecimal.c:328:5: note: in expansion of macro ‘ENTER’
  1142. ENTER(1);
  1143. ^~~~~
  1144. bigdecimal.c: In function ‘BigDecimal_dump’:
  1145. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1146. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1147. ^
  1148. bigdecimal.c:345:5: note: in expansion of macro ‘ENTER’
  1149. ENTER(5);
  1150. ^~~~~
  1151. bigdecimal.c: In function ‘BigDecimal_load’:
  1152. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1153. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1154. ^
  1155. bigdecimal.c:367:5: note: in expansion of macro ‘ENTER’
  1156. ENTER(2);
  1157. ^~~~~
  1158. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/dbm'
  1159. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1160. In file included from bigdecimal.h:19:0,
  1161. from bigdecimal.c:20:
  1162. bigdecimal.c: In function ‘BigDecimal_IsInfinite’:
  1163. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1164. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1165. ^
  1166. bigdecimal.c:605:30: note: in expansion of macro ‘INT2FIX’
  1167. if(VpIsNegInf(p)) return INT2FIX(-1);
  1168. ^~~~~~~
  1169. bigdecimal.c: In function ‘BigDecimal_to_i’:
  1170. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1171. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1172. ^
  1173. bigdecimal.c:661:48: note: in expansion of macro ‘INT2FIX’
  1174. numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
  1175. ^~~~~~~
  1176. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1177. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1178. ^
  1179. bigdecimal.c:640:5: note: in expansion of macro ‘ENTER’
  1180. ENTER(5);
  1181. ^~~~~
  1182. bigdecimal.c: In function ‘BigDecimal_to_f’:
  1183. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1184. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1185. ^
  1186. bigdecimal.c:685:5: note: in expansion of macro ‘ENTER’
  1187. ENTER(1);
  1188. ^~~~~
  1189. In file included from bigdecimal.h:19:0,
  1190. from bigdecimal.c:20:
  1191. bigdecimal.c: In function ‘BigDecimal_to_r’:
  1192. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1193. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1194. ^
  1195. bigdecimal.c:745:44: note: in expansion of macro ‘INT2FIX’
  1196. numerator = rb_funcall(numerator, '*', 1, INT2FIX(-1));
  1197. ^~~~~~~
  1198. bigdecimal.c: In function ‘BigDecimal_coerce’:
  1199. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/old_thread_select'
  1200. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1201. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1202. ^
  1203. bigdecimal.c:776:5: note: in expansion of macro ‘ENTER’
  1204. ENTER(2);
  1205. ^~~~~
  1206. bigdecimal.c: In function ‘BigDecimal_add’:
  1207. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1208. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1209. ^
  1210. bigdecimal.c:817:5: note: in expansion of macro ‘ENTER’
  1211. ENTER(5);
  1212. ^~~~~
  1213. bigdecimal.c: In function ‘BigDecimal_sub’:
  1214. compiling date_core.c
  1215. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1216. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1217. ^
  1218. bigdecimal.c:869:5: note: in expansion of macro ‘ENTER’
  1219. ENTER(5);
  1220. ^~~~~
  1221. bigdecimal.c: In function ‘BigDecimalCmp’:
  1222. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1223. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1224. ^
  1225. bigdecimal.c:908:5: note: in expansion of macro ‘ENTER’
  1226. ENTER(5);
  1227. ^~~~~
  1228. bigdecimal.c: In function ‘BigDecimal_neg’:
  1229. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1230. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1231. ^
  1232. bigdecimal.c:1089:5: note: in expansion of macro ‘ENTER’
  1233. ENTER(5);
  1234. ^~~~~
  1235. bigdecimal.c: In function ‘BigDecimal_mult’:
  1236. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1237. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1238. ^
  1239. bigdecimal.c:1111:5: note: in expansion of macro ‘ENTER’
  1240. ENTER(5);
  1241. ^~~~~
  1242. bigdecimal.c: In function ‘BigDecimal_divide’:
  1243. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1244. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1245. ^
  1246. bigdecimal.c:1139:5: note: in expansion of macro ‘ENTER’
  1247. ENTER(5);
  1248. ^~~~~
  1249. bigdecimal.c: In function ‘BigDecimal_div’:
  1250. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1251. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1252. ^
  1253. bigdecimal.c:1188:5: note: in expansion of macro ‘ENTER’
  1254. ENTER(5);
  1255. ^~~~~
  1256. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest'
  1257. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1258. bigdecimal.c: In function ‘BigDecimal_DoDivmod’:
  1259. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1260. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1261. ^
  1262. bigdecimal.c:1211:5: note: in expansion of macro ‘ENTER’
  1263. ENTER(8);
  1264. ^~~~~
  1265. bigdecimal.c: In function ‘BigDecimal_mod’:
  1266. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1267. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1268. ^
  1269. bigdecimal.c:1297:5: note: in expansion of macro ‘ENTER’
  1270. ENTER(3);
  1271. ^~~~~
  1272. bigdecimal.c: In function ‘BigDecimal_divremain’:
  1273. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1274. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1275. ^
  1276. bigdecimal.c:1310:5: note: in expansion of macro ‘ENTER’
  1277. ENTER(10);
  1278. ^~~~~
  1279. bigdecimal.c: In function ‘BigDecimal_divmod’:
  1280. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/continuation'
  1281. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1282. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1283. ^
  1284. bigdecimal.c:1389:5: note: in expansion of macro ‘ENTER’
  1285. ENTER(5);
  1286. ^~~~~
  1287. compiling dbm.c
  1288. bigdecimal.c: In function ‘BigDecimal_div2’:
  1289. compiling digest.c
  1290. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1291. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1292. ^
  1293. bigdecimal.c:1402:5: note: in expansion of macro ‘ENTER’
  1294. ENTER(5);
  1295. ^~~~~
  1296. bigdecimal.c: In function ‘BigDecimal_add2’:
  1297. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1298. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1299. ^
  1300. bigdecimal.c:1438:5: note: in expansion of macro ‘ENTER’
  1301. ENTER(2);
  1302. ^~~~~
  1303. bigdecimal.c: In function ‘BigDecimal_sub2’:
  1304. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1305. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1306. ^
  1307. bigdecimal.c:1455:5: note: in expansion of macro ‘ENTER’
  1308. ENTER(2);
  1309. ^~~~~
  1310. bigdecimal.c: In function ‘BigDecimal_mult2’:
  1311. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1312. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1313. ^
  1314. bigdecimal.c:1472:5: note: in expansion of macro ‘ENTER’
  1315. ENTER(2);
  1316. ^~~~~
  1317. bigdecimal.c: In function ‘BigDecimal_abs’:
  1318. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1319. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1320. ^
  1321. bigdecimal.c:1495:5: note: in expansion of macro ‘ENTER’
  1322. ENTER(5);
  1323. ^~~~~
  1324. bigdecimal.c: In function ‘BigDecimal_sqrt’:
  1325. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1326. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1327. ^
  1328. bigdecimal.c:1517:5: note: in expansion of macro ‘ENTER’
  1329. ENTER(5);
  1330. ^~~~~
  1331. bigdecimal.c: In function ‘BigDecimal_fix’:
  1332. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1333. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1334. ^
  1335. bigdecimal.c:1536:5: note: in expansion of macro ‘ENTER’
  1336. ENTER(5);
  1337. ^~~~~
  1338. bigdecimal.c: In function ‘BigDecimal_round’:
  1339. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1340. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1341. ^
  1342. bigdecimal.c:1572:5: note: in expansion of macro ‘ENTER’
  1343. ENTER(5);
  1344. ^~~~~
  1345. bigdecimal.c: In function ‘BigDecimal_truncate’:
  1346. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1347. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1348. ^
  1349. bigdecimal.c:1630:5: note: in expansion of macro ‘ENTER’
  1350. ENTER(5);
  1351. ^~~~~
  1352. bigdecimal.c: In function ‘BigDecimal_frac’:
  1353. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1354. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1355. ^
  1356. bigdecimal.c:1659:5: note: in expansion of macro ‘ENTER’
  1357. ENTER(5);
  1358. ^~~~~
  1359. bigdecimal.c: In function ‘BigDecimal_floor’:
  1360. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1361. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1362. ^
  1363. bigdecimal.c:1692:5: note: in expansion of macro ‘ENTER’
  1364. ENTER(5);
  1365. ^~~~~
  1366. bigdecimal.c: In function ‘BigDecimal_ceil’:
  1367. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1368. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1369. ^
  1370. bigdecimal.c:1741:5: note: in expansion of macro ‘ENTER’
  1371. ENTER(5);
  1372. ^~~~~
  1373. bigdecimal.c: In function ‘BigDecimal_to_s’:
  1374. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1375. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1376. ^
  1377. bigdecimal.c:1798:5: note: in expansion of macro ‘ENTER’
  1378. ENTER(5);
  1379. ^~~~~
  1380. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/bubblebabble'
  1381. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1382. bigdecimal.c: In function ‘BigDecimal_split’:
  1383. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1384. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1385. ^
  1386. bigdecimal.c:1889:5: note: in expansion of macro ‘ENTER’
  1387. ENTER(5);
  1388. ^~~~~
  1389. bigdecimal.c: In function ‘BigDecimal_inspect’:
  1390. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1391. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1392. ^
  1393. bigdecimal.c:1943:5: note: in expansion of macro ‘ENTER’
  1394. ENTER(5);
  1395. ^~~~~
  1396. installing default date_core libraries
  1397. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/-test-/wait_for_single_fd'
  1398. compiling bubblebabble.c
  1399. bigdecimal.c: In function ‘BigDecimal_power’:
  1400. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1401. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1402. ^
  1403. bigdecimal.c:2085:5: note: in expansion of macro ‘ENTER’
  1404. ENTER(5);
  1405. ^~~~~
  1406. bigdecimal.c: In function ‘BigDecimal_new’:
  1407. bigdecimal.c:63:33: warning: variable ‘vStack’ set but not used [-Wunused-but-set-variable]
  1408. #define ENTER(n) volatile VALUE vStack[n];int iStack=0
  1409. ^
  1410. bigdecimal.c:2334:5: note: in expansion of macro ‘ENTER’
  1411. ENTER(5);
  1412. ^~~~~
  1413. In file included from bigdecimal.c:20:0:
  1414. bigdecimal.c: In function ‘BigMath_s_exp’:
  1415. bigdecimal.h:264:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1416. #define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
  1417. ^
  1418. bigdecimal.h:266:35: note: in expansion of macro ‘VpSetPosInf’
  1419. #define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
  1420. ^~~~~~~~~~~
  1421. bigdecimal.c:2554:6: note: in expansion of macro ‘VpSetInf’
  1422. VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
  1423. ^~~~~~~~
  1424. curses.c: In function ‘window_cury’:
  1425. curses.c:1632:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
  1426. int x, y;
  1427. ^
  1428. curses.c: In function ‘window_curx’:
  1429. curses.c:1648:12: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
  1430. int x, y;
  1431. ^
  1432. curses.c: In function ‘window_begy’:
  1433. curses.c:1712:9: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
  1434. int x, y;
  1435. ^
  1436. curses.c: In function ‘window_begx’:
  1437. curses.c:1732:12: warning: variable ‘y’ set but not used [-Wunused-but-set-variable]
  1438. int x, y;
  1439. ^
  1440. installing default bubblebabble libraries
  1441. bigdecimal.c: In function ‘BigMath_s_log’:
  1442. bigdecimal.h:264:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1443. #define VpSetPosInf(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_INFINITE)
  1444. ^
  1445. bigdecimal.h:266:35: note: in expansion of macro ‘VpSetPosInf’
  1446. #define VpSetInf(a,s) ( ((s)>0)?VpSetPosInf(a):VpSetNegInf(a) )
  1447. ^~~~~~~~~~~
  1448. bigdecimal.c:2706:2: note: in expansion of macro ‘VpSetInf’
  1449. VpSetInf(vy, VP_SIGN_POSITIVE_INFINITE);
  1450. ^~~~~~~~
  1451. In file included from bigdecimal.h:19:0,
  1452. from bigdecimal.c:20:
  1453. bigdecimal.c: In function ‘Init_bigdecimal’:
  1454. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1455. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1456. ^
  1457. bigdecimal.c:3002:58: note: in expansion of macro ‘INT2FIX’
  1458. rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_ZERO",INT2FIX(VP_SIGN_NEGATIVE_ZERO));
  1459. ^~~~~~~
  1460. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1461. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1462. ^
  1463. bigdecimal.c:3008:60: note: in expansion of macro ‘INT2FIX’
  1464. rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_FINITE",INT2FIX(VP_SIGN_NEGATIVE_FINITE));
  1465. ^~~~~~~
  1466. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1467. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1468. ^
  1469. bigdecimal.c:3014:62: note: in expansion of macro ‘INT2FIX’
  1470. rb_define_const(rb_cBigDecimal, "SIGN_NEGATIVE_INFINITE",INT2FIX(VP_SIGN_NEGATIVE_INFINITE));
  1471. ^~~~~~~
  1472. installing default dbm libraries
  1473. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/md5'
  1474. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1475. In file included from bigdecimal.c:20:0:
  1476. bigdecimal.c: In function ‘VpAlloc’:
  1477. bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1478. #define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
  1479. ^
  1480. bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
  1481. #define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
  1482. ^~~~~~~~~~~~
  1483. bigdecimal.c:3665:8: note: in expansion of macro ‘VpSetZero’
  1484. VpSetZero(vp,1); /* initialize vp to zero. */
  1485. ^~~~~~~~~
  1486. linking shared-object coverage.so
  1487. bigdecimal.c: In function ‘VpAddSub’:
  1488. bigdecimal.h:252:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1489. #define VpSetNegZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_NEGATIVE_ZERO)
  1490. ^
  1491. bigdecimal.h:253:51: note: in expansion of macro ‘VpSetNegZero’
  1492. #define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
  1493. ^~~~~~~~~~~~
  1494. bigdecimal.c:3855:17: note: in expansion of macro ‘VpSetZero’
  1495. VpSetZero(c,-1);
  1496. ^~~~~~~~~
  1497. compiling md5init.c
  1498. bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1499. #define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
  1500. ^
  1501. bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
  1502. #define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
  1503. ^~~~~~~~~~~~
  1504. bigdecimal.c:3857:17: note: in expansion of macro ‘VpSetZero’
  1505. VpSetZero(c,1);
  1506. ^~~~~~~~~
  1507. bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1508. #define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
  1509. ^
  1510. bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
  1511. #define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
  1512. ^~~~~~~~~~~~
  1513. bigdecimal.c:3909:13: note: in expansion of macro ‘VpSetZero’
  1514. VpSetZero(c,1); /* abs(a)=abs(b) and operation = '-' */
  1515. ^~~~~~~~~
  1516. compiling md5ossl.c
  1517. bigdecimal.c: In function ‘VpMult’:
  1518. bigdecimal.c:4259:36: warning: variable ‘ind_be’ set but not used [-Wunused-but-set-variable]
  1519. size_t ind_as, ind_ae, ind_bs, ind_be;
  1520. ^~~~~~
  1521. bigdecimal.c: In function ‘VpCtoV’:
  1522. bigdecimal.c:5056:12: warning: variable ‘loc’ set but not used [-Wunused-but-set-variable]
  1523. size_t loc;
  1524. ^~~
  1525. In file included from bigdecimal.c:20:0:
  1526. bigdecimal.c: In function ‘VpDtoV’:
  1527. In file included from ../.././include/ruby.h:32:0,
  1528. from date_core.c:5:
  1529. date_core.c: In function ‘date_s_ordinal’:
  1530. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1531. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1532. ^
  1533. date_core.c:3350:9: note: in expansion of macro ‘INT2FIX’
  1534. y = INT2FIX(-4712);
  1535. ^~~~~~~
  1536. date_core.c: In function ‘date_s_civil’:
  1537. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1538. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1539. ^
  1540. date_core.c:3420:9: note: in expansion of macro ‘INT2FIX’
  1541. y = INT2FIX(-4712);
  1542. ^~~~~~~
  1543. date_core.c: In function ‘date_s_commercial’:
  1544. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1545. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1546. ^
  1547. date_core.c:3499:9: note: in expansion of macro ‘INT2FIX’
  1548. y = INT2FIX(-4712);
  1549. ^~~~~~~
  1550. bigdecimal.h:251:62: warning: right-hand operand of comma expression has no effect [-Wunused-value]
  1551. #define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
  1552. ^
  1553. bigdecimal.h:253:35: note: in expansion of macro ‘VpSetPosZero’
  1554. #define VpSetZero(a,s) ( ((s)>0)?VpSetPosZero(a):VpSetNegZero(a) )
  1555. ^~~~~~~~~~~~
  1556. bigdecimal.c:5286:9: note: in expansion of macro ‘VpSetZero’
  1557. VpSetZero(m,1);
  1558. ^~~~~~~~~
  1559. bigdecimal.c: In function ‘VpSqrt’:
  1560. bigdecimal.c:5402:20: warning: variable ‘f_prec’ set but not used [-Wunused-but-set-variable]
  1561. size_t y_prec, f_prec;
  1562. ^~~~~~
  1563. installing default md5 libraries
  1564. cp: cannot create regular file '../../.ext/common/digest': File exists
  1565. make[2]: *** [Makefile:178: ../../.ext/common/digest/hmac.rb] Error 1
  1566. make[2]: *** Waiting for unfinished jobs....
  1567. linking shared-object digest/bubblebabble.so
  1568. linking shared-object digest/md5.so
  1569. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/coverage'
  1570. date_core.c: In function ‘d_lite_downto’:
  1571. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1572. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1573. ^
  1574. date_core.c:6288:27: note: in expansion of macro ‘INT2FIX’
  1575. date = d_lite_plus(date, INT2FIX(-1));
  1576. ^~~~~~~
  1577. date_core.c: In function ‘cmp_dd’:
  1578. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1579. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1580. ^
  1581. date_core.c:6333:11: note: in expansion of macro ‘INT2FIX’
  1582. return INT2FIX(-1);
  1583. ^~~~~~~
  1584. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1585. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1586. ^
  1587. date_core.c:6340:14: note: in expansion of macro ‘INT2FIX’
  1588. return INT2FIX(-1);
  1589. ^~~~~~~
  1590. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1591. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1592. ^
  1593. date_core.c:6347:10: note: in expansion of macro ‘INT2FIX’
  1594. return INT2FIX(-1);
  1595. ^~~~~~~
  1596. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1597. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1598. ^
  1599. date_core.c:6354:13: note: in expansion of macro ‘INT2FIX’
  1600. return INT2FIX(-1);
  1601. ^~~~~~~
  1602. date_core.c: In function ‘d_lite_cmp’:
  1603. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1604. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1605. ^
  1606. date_core.c:6409:14: note: in expansion of macro ‘INT2FIX’
  1607. return INT2FIX(-1);
  1608. ^~~~~~~
  1609. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1610. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1611. ^
  1612. date_core.c:6416:10: note: in expansion of macro ‘INT2FIX’
  1613. return INT2FIX(-1);
  1614. ^~~~~~~
  1615. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1616. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1617. ^
  1618. date_core.c:6471:11: note: in expansion of macro ‘INT2FIX’
  1619. return INT2FIX(-1);
  1620. ^~~~~~~
  1621. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1622. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1623. ^
  1624. date_core.c:6479:14: note: in expansion of macro ‘INT2FIX’
  1625. return INT2FIX(-1);
  1626. ^~~~~~~
  1627. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1628. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1629. ^
  1630. date_core.c:6486:10: note: in expansion of macro ‘INT2FIX’
  1631. return INT2FIX(-1);
  1632. ^~~~~~~
  1633. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/rmd160'
  1634. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1635. date_core.c: In function ‘datetime_s_ordinal’:
  1636. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1637. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1638. ^
  1639. date_core.c:7460:9: note: in expansion of macro ‘INT2FIX’
  1640. y = INT2FIX(-4712);
  1641. ^~~~~~~
  1642. date_core.c: In function ‘datetime_s_civil’:
  1643. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1644. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1645. ^
  1646. date_core.c:7538:9: note: in expansion of macro ‘INT2FIX’
  1647. y = INT2FIX(-4712);
  1648. ^~~~~~~
  1649. compiling rmd160init.c
  1650. date_core.c: In function ‘datetime_s_commercial’:
  1651. ../.././include/ruby/ruby.h:225:48: warning: left shift of negative value [-Wshift-negative-value]
  1652. #define INT2FIX(i) ((VALUE)(((SIGNED_VALUE)(i))<<1 | FIXNUM_FLAG))
  1653. ^
  1654. date_core.c:7637:9: note: in expansion of macro ‘INT2FIX’
  1655. y = INT2FIX(-4712);
  1656. ^~~~~~~
  1657. compiling rmd160ossl.c
  1658. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/md5'
  1659. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha1'
  1660. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1661. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/bubblebabble'
  1662. compiling sha1init.c
  1663. compiling sha1ossl.c
  1664. make[2]: Entering directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha2'
  1665. make[2]: warning: -jN forced in submake: disabling jobserver mode.
  1666. compiling sha2init.c
  1667. installing default rmd160 libraries
  1668. compiling sha2ossl.c
  1669. installing default sha1 libraries
  1670. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest'
  1671. make[1]: *** [exts.mk:76: ext/digest/all] Error 2
  1672. make[1]: *** Waiting for unfinished jobs....
  1673. installing default sha2 libraries
  1674. linking shared-object digest/rmd160.so
  1675. linking shared-object digest/sha1.so
  1676. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/rmd160'
  1677. linking shared-object digest/sha2.so
  1678. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha1'
  1679. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/digest/sha2'
  1680. linking shared-object dbm.so
  1681. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/dbm'
  1682. linking shared-object curses.so
  1683. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/curses'
  1684. linking shared-object bigdecimal.so
  1685. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/bigdecimal'
  1686. linking shared-object date_core.so
  1687. make[2]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551/ext/date'
  1688. make[1]: Leaving directory '/home/ramon/.rvm/src/ruby-1.9.3-p551'
  1689. make: *** [uncommon.mk:178: build-ext] Error 2
  1690. ++ return 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement