Advertisement
dhruvag2000

errors rizin

Jan 19th, 2022
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 19.12 KB | None | 0 0
  1. ninja: Entering directory `build'
  2. [1/169] Compiling C object librz/util/librz_util.so.0.4.0-git.p/calc.c.o
  3. FAILED: librz/util/librz_util.so.0.4.0-git.p/calc.c.o
  4. ccache cc -Ilibrz/util/librz_util.so.0.4.0-git.p -I. -I.. -Ilibrz -I../librz -Ilibrz/include -I../librz/include -Isubprojects/sdb -I../subprojects/sdb -Isubprojects/sdb/src -I../subprojects/sdb/src -Isubprojects/zlib-1.2.11 -I../subprojects/zlib-1.2.11 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 --std=gnu99 -D_GNU_SOURCE -Werror=sizeof-pointer-memaccess -fvisibility=hidden -fPIC -pthread -DRZ_PLUGIN_INCORE=1 -MD -MQ librz/util/librz_util.so.0.4.0-git.p/calc.c.o -MF librz/util/librz_util.so.0.4.0-git.p/calc.c.o.d -o librz/util/librz_util.so.0.4.0-git.p/calc.c.o -c ../librz/util/calc.c
  5. In file included from ../librz/util/calc.c:14:
  6. ../librz/include/rz_util/rz_num.h:12:2: error: unknown type name ‘ut64’
  7.   12 |  ut64 n;
  8.      |  ^~~~
  9. ../librz/include/rz_util/rz_num.h:54:2: error: unknown type name ‘bool’
  10.   54 |  bool under_calc;
  11.      |  ^~~~
  12. ../librz/include/rz_util/rz_num.h:58:2: error: expected specifier-qualifier-list before ‘ut64’
  13.   58 |  ut64 (*callback)(struct rz_num_t *userptr, const char *str, int *ok);
  14.      |  ^~~~
  15. ../librz/include/rz_util/rz_num.h:68:15: error: expected declaration specifiers or ‘...’ before ‘*’ token
  16.   68 | typedef ut64 (*RzNumCallback)(struct rz_num_t *self, const char *str, int *ok);
  17.      |               ^
  18. ../librz/include/rz_util/rz_num.h:69:62: error: unknown type name ‘ut64’
  19.   69 | typedef const char *(*RzNumCallback2)(struct rz_num_t *self, ut64, int *ok);
  20.      |                                                              ^~~~
  21. ../librz/include/rz_util/rz_num.h:71:1: error: unknown type name ‘RZ_API’
  22.   71 | RZ_API RzNum *rz_num_new(RzNumCallback cb, RzNumCallback2 cb2, void *ptr);
  23.      | ^~~~~~
  24. ../librz/include/rz_util/rz_num.h:71:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  25.   71 | RZ_API RzNum *rz_num_new(RzNumCallback cb, RzNumCallback2 cb2, void *ptr);
  26.      |              ^
  27. ../librz/include/rz_util/rz_num.h:72:7: error: expected ‘;’ before ‘void’
  28.   72 | RZ_API void rz_num_free(RzNum *num);
  29.      |       ^~~~~
  30.      |       ;
  31. ../librz/include/rz_util/rz_num.h:73:7: error: expected ‘;’ before ‘char’
  32.   73 | RZ_API char *rz_num_units(char *buf, size_t len, ut64 number);
  33.      |       ^~~~~
  34.      |       ;
  35. ../librz/include/rz_util/rz_num.h:73:38: error: unknown type name ‘size_t’
  36.   73 | RZ_API char *rz_num_units(char *buf, size_t len, ut64 number);
  37.      |                                      ^~~~~~
  38. ../librz/include/rz_util/rz_num.h:1:1: note: ‘size_t’ is defined in header ‘<stddef.h>’; did you forget to ‘#include <stddef.h>’?
  39.  +++ |+#include <stddef.h>
  40.    1 | #ifndef RZ_NUM_H
  41. ../librz/include/rz_util/rz_num.h:73:50: error: unknown type name ‘ut64’
  42.   73 | RZ_API char *rz_num_units(char *buf, size_t len, ut64 number);
  43.      |                                                  ^~~~
  44. ../librz/include/rz_util/rz_num.h:74:7: error: expected ‘;’ before ‘int’
  45.   74 | RZ_API int rz_num_conditional(RzNum *num, const char *str);
  46.      |       ^~~~
  47.      |       ;
  48. ../librz/include/rz_util/rz_num.h:75:1: error: unknown type name ‘RZ_API’
  49.   75 | RZ_API ut64 rz_num_calc(RzNum *num, const char *str, const char **err);
  50.      | ^~~~~~
  51. ../librz/include/rz_util/rz_num.h:75:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_calc’
  52.   75 | RZ_API ut64 rz_num_calc(RzNum *num, const char *str, const char **err);
  53.      |             ^~~~~~~~~~~
  54. ../librz/include/rz_util/rz_num.h:76:7: error: expected ‘;’ before ‘const’
  55.   76 | RZ_API const char *rz_num_calc_index(RzNum *num, const char *p);
  56.      |       ^~~~~~
  57.      |       ;
  58. ../librz/include/rz_util/rz_num.h:77:1: error: unknown type name ‘RZ_API’
  59.   77 | RZ_API ut64 rz_num_chs(int cylinder, int head, int sector, int sectorsize);
  60.      | ^~~~~~
  61. ../librz/include/rz_util/rz_num.h:77:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_chs’
  62.   77 | RZ_API ut64 rz_num_chs(int cylinder, int head, int sector, int sectorsize);
  63.      |             ^~~~~~~~~~
  64. ../librz/include/rz_util/rz_num.h:78:7: error: expected ‘;’ before ‘int’
  65.   78 | RZ_API int rz_num_is_valid_input(RzNum *num, const char *input_value);
  66.      |       ^~~~
  67.      |       ;
  68. ../librz/include/rz_util/rz_num.h:79:1: error: unknown type name ‘RZ_API’
  69.   79 | RZ_API ut64 rz_num_get_input_value(RzNum *num, const char *input_value);
  70.      | ^~~~~~
  71. ../librz/include/rz_util/rz_num.h:79:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_get_input_value’
  72.   79 | RZ_API ut64 rz_num_get_input_value(RzNum *num, const char *input_value);
  73.      |             ^~~~~~~~~~~~~~~~~~~~~~
  74. ../librz/include/rz_util/rz_num.h:80:7: error: expected ‘;’ before ‘const’
  75.   80 | RZ_API const char *rz_num_get_name(RzNum *num, ut64 n);
  76.      |       ^~~~~~
  77.      |       ;
  78. ../librz/include/rz_util/rz_num.h:80:48: error: unknown type name ‘ut64’
  79.   80 | RZ_API const char *rz_num_get_name(RzNum *num, ut64 n);
  80.      |                                                ^~~~
  81. ../librz/include/rz_util/rz_num.h:81:7: error: expected ‘;’ before ‘char’
  82.   81 | RZ_API char *rz_num_as_string(RzNum *___, ut64 n, bool printable_only);
  83.      |       ^~~~~
  84.      |       ;
  85. ../librz/include/rz_util/rz_num.h:81:43: error: unknown type name ‘ut64’
  86.   81 | RZ_API char *rz_num_as_string(RzNum *___, ut64 n, bool printable_only);
  87.      |                                           ^~~~
  88. ../librz/include/rz_util/rz_num.h:81:51: error: unknown type name ‘bool’
  89.   81 | RZ_API char *rz_num_as_string(RzNum *___, ut64 n, bool printable_only);
  90.      |                                                   ^~~~
  91. ../librz/include/rz_util/rz_num.h:82:1: error: unknown type name ‘RZ_API’
  92.   82 | RZ_API ut64 rz_num_tail(RzNum *num, ut64 addr, const char *hex);
  93.      | ^~~~~~
  94. ../librz/include/rz_util/rz_num.h:82:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_tail’
  95.   82 | RZ_API ut64 rz_num_tail(RzNum *num, ut64 addr, const char *hex);
  96.      |             ^~~~~~~~~~~
  97. ../librz/include/rz_util/rz_num.h:83:1: error: unknown type name ‘RZ_API’
  98.   83 | RZ_API ut64 rz_num_tail_base(RzNum *num, ut64 addr, ut64 off);
  99.      | ^~~~~~
  100. ../librz/include/rz_util/rz_num.h:83:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_tail_base’
  101.   83 | RZ_API ut64 rz_num_tail_base(RzNum *num, ut64 addr, ut64 off);
  102.      |             ^~~~~~~~~~~~~~~~
  103. ../librz/include/rz_util/rz_num.h:84:7: error: expected ‘;’ before ‘void’
  104.   84 | RZ_API void rz_num_minmax_swap(ut64 *a, ut64 *b);
  105.      |       ^~~~~
  106.      |       ;
  107. ../librz/include/rz_util/rz_num.h:84:32: error: unknown type name ‘ut64’
  108.   84 | RZ_API void rz_num_minmax_swap(ut64 *a, ut64 *b);
  109.      |                                ^~~~
  110. ../librz/include/rz_util/rz_num.h:84:41: error: unknown type name ‘ut64’
  111.   84 | RZ_API void rz_num_minmax_swap(ut64 *a, ut64 *b);
  112.      |                                         ^~~~
  113. ../librz/include/rz_util/rz_num.h:85:7: error: expected ‘;’ before ‘void’
  114.   85 | RZ_API void rz_num_minmax_swap_i(int *a, int *b); // XXX this can be a cpp macro :??
  115.      |       ^~~~~
  116.      |       ;
  117. ../librz/include/rz_util/rz_num.h:86:1: error: unknown type name ‘RZ_API’
  118.   86 | RZ_API ut64 rz_num_math(RzNum *num, const char *str);
  119.      | ^~~~~~
  120. ../librz/include/rz_util/rz_num.h:86:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_math’
  121.   86 | RZ_API ut64 rz_num_math(RzNum *num, const char *str);
  122.      |             ^~~~~~~~~~~
  123. ../librz/include/rz_util/rz_num.h:87:1: error: unknown type name ‘RZ_API’
  124.   87 | RZ_API ut64 rz_num_get(RzNum *num, const char *str);
  125.      | ^~~~~~
  126. ../librz/include/rz_util/rz_num.h:87:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_get’
  127.   87 | RZ_API ut64 rz_num_get(RzNum *num, const char *str);
  128.      |             ^~~~~~~~~~
  129. ../librz/include/rz_util/rz_num.h:88:7: error: expected ‘;’ before ‘int’
  130.   88 | RZ_API int rz_num_to_bits(char *out, ut64 num);
  131.      |       ^~~~
  132.      |       ;
  133. ../librz/include/rz_util/rz_num.h:88:38: error: unknown type name ‘ut64’
  134.   88 | RZ_API int rz_num_to_bits(char *out, ut64 num);
  135.      |                                      ^~~~
  136. ../librz/include/rz_util/rz_num.h:89:7: error: expected ‘;’ before ‘int’
  137.   89 | RZ_API int rz_num_to_trits(char *out, ut64 num); // Rename this please
  138.      |       ^~~~
  139.      |       ;
  140. ../librz/include/rz_util/rz_num.h:89:39: error: unknown type name ‘ut64’
  141.   89 | RZ_API int rz_num_to_trits(char *out, ut64 num); // Rename this please
  142.      |                                       ^~~~
  143. ../librz/include/rz_util/rz_num.h:90:7: error: expected ‘;’ before ‘int’
  144.   90 | RZ_API int rz_num_rand(int max);
  145.      |       ^~~~
  146.      |       ;
  147. ../librz/include/rz_util/rz_num.h:91:7: error: expected ‘;’ before ‘void’
  148.   91 | RZ_API void rz_num_irand(void);
  149.      |       ^~~~~
  150.      |       ;
  151. ../librz/include/rz_util/rz_num.h:92:1: error: unknown type name ‘RZ_API’
  152.   92 | RZ_API ut16 rz_num_ntohs(ut16 foo);
  153.      | ^~~~~~
  154. ../librz/include/rz_util/rz_num.h:92:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_ntohs’
  155.   92 | RZ_API ut16 rz_num_ntohs(ut16 foo);
  156.      |             ^~~~~~~~~~~~
  157. ../librz/include/rz_util/rz_num.h:93:1: error: unknown type name ‘RZ_API’
  158.   93 | RZ_API ut64 rz_get_input_num_value(RzNum *num, const char *input_value);
  159.      | ^~~~~~
  160. ../librz/include/rz_util/rz_num.h:93:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_get_input_num_value’
  161.   93 | RZ_API ut64 rz_get_input_num_value(RzNum *num, const char *input_value);
  162.      |             ^~~~~~~~~~~~~~~~~~~~~~
  163. ../librz/include/rz_util/rz_num.h:94:1: error: unknown type name ‘RZ_API’
  164.   94 | RZ_API bool rz_is_valid_input_num_value(RzNum *num, const char *input_value);
  165.      | ^~~~~~
  166. ../librz/include/rz_util/rz_num.h:94:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_is_valid_input_num_value’
  167.   94 | RZ_API bool rz_is_valid_input_num_value(RzNum *num, const char *input_value);
  168.      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  169. ../librz/include/rz_util/rz_num.h:95:7: error: expected ‘;’ before ‘int’
  170.   95 | RZ_API int rz_num_between(RzNum *num, const char *input_value);
  171.      |       ^~~~
  172.      |       ;
  173. ../librz/include/rz_util/rz_num.h:96:1: error: unknown type name ‘RZ_API’
  174.   96 | RZ_API bool rz_num_is_op(const char c);
  175.      | ^~~~~~
  176. ../librz/include/rz_util/rz_num.h:96:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_is_op’
  177.   96 | RZ_API bool rz_num_is_op(const char c);
  178.      |             ^~~~~~~~~~~~
  179. ../librz/include/rz_util/rz_num.h:97:7: error: expected ‘;’ before ‘int’
  180.   97 | RZ_API int rz_num_str_len(const char *str);
  181.      |       ^~~~
  182.      |       ;
  183. ../librz/include/rz_util/rz_num.h:98:7: error: expected ‘;’ before ‘int’
  184.   98 | RZ_API int rz_num_str_split(char *str);
  185.      |       ^~~~
  186.      |       ;
  187. ../librz/include/rz_util/rz_num.h:99:1: error: unknown type name ‘RZ_API’
  188.   99 | RZ_API RzList *rz_num_str_split_list(char *str);
  189.      | ^~~~~~
  190. ../librz/include/rz_util/rz_num.h:99:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
  191.   99 | RZ_API RzList *rz_num_str_split_list(char *str);
  192.      |               ^
  193. ../librz/include/rz_util/rz_num.h:100:7: error: expected ‘;’ before ‘void’
  194.  100 | RZ_API void *rz_num_dup(ut64 n);
  195.      |       ^~~~~
  196.      |       ;
  197. ../librz/include/rz_util/rz_num.h:100:25: error: unknown type name ‘ut64’
  198.  100 | RZ_API void *rz_num_dup(ut64 n);
  199.      |                         ^~~~
  200. ../librz/include/rz_util/rz_num.h:101:1: error: unknown type name ‘RZ_API’
  201.  101 | RZ_API size_t rz_num_base_of_string(RzNum *num, RZ_NONNULL const char *str);
  202.      | ^~~~~~
  203. ../librz/include/rz_util/rz_num.h:101:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rz_num_base_of_string’
  204.  101 | RZ_API size_t rz_num_base_of_string(RzNum *num, RZ_NONNULL const char *str);
  205.      |               ^~~~~~~~~~~~~~~~~~~~~
  206. ../librz/include/rz_util/rz_num.h:102:7: error: expected ‘;’ before ‘double’
  207.  102 | RZ_API double rz_num_cos(double a);
  208.      |       ^~~~~~~
  209.      |       ;
  210. ../librz/include/rz_util/rz_num.h:103:7: error: expected ‘;’ before ‘double’
  211.  103 | RZ_API double rz_num_sin(double a);
  212.      |       ^~~~~~~
  213.      |       ;
  214. ../librz/include/rz_util/rz_num.h:104:7: error: expected ‘;’ before ‘double’
  215.  104 | RZ_API double rz_num_get_float(RzNum *num, const char *str);
  216.      |       ^~~~~~~
  217.      |       ;
  218. ../librz/include/rz_util/rz_num.h:106:15: error: unknown type name ‘st64’
  219.  106 | static inline st64 rz_num_abs(st64 num) {
  220.      |               ^~~~
  221. ../librz/include/rz_util/rz_num.h:106:31: error: unknown type name ‘st64’
  222.  106 | static inline st64 rz_num_abs(st64 num) {
  223.      |                               ^~~~
  224. ../librz/include/rz_util/rz_num.h:114:15: error: unknown type name ‘ut64’
  225.  114 | static inline ut64 rz_num_align_delta(ut64 v, ut64 alignment) {
  226.      |               ^~~~
  227. ../librz/include/rz_util/rz_num.h:114:39: error: unknown type name ‘ut64’
  228.  114 | static inline ut64 rz_num_align_delta(ut64 v, ut64 alignment) {
  229.      |                                       ^~~~
  230. ../librz/include/rz_util/rz_num.h:114:47: error: unknown type name ‘ut64’
  231.  114 | static inline ut64 rz_num_align_delta(ut64 v, ut64 alignment) {
  232.      |                                               ^~~~
  233. ../librz/include/rz_util/rz_num.h:126:16: error: unknown type name ‘st8’
  234.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  235.      |                ^~
  236. ../librz/include/rz_util/rz_num.h:135:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  237.  135 | CONVERT_TO_TWO_COMPLEMENT(8)
  238.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  239. ../librz/include/rz_util/rz_num.h:126:52: error: unknown type name ‘ut8’
  240.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  241.      |                                                    ^~
  242. ../librz/include/rz_util/rz_num.h:135:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  243.  135 | CONVERT_TO_TWO_COMPLEMENT(8)
  244.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  245. ../librz/include/rz_util/rz_num.h:126:16: error: unknown type name ‘st16’
  246.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  247.      |                ^~
  248. ../librz/include/rz_util/rz_num.h:136:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  249.  136 | CONVERT_TO_TWO_COMPLEMENT(16)
  250.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  251. ../librz/include/rz_util/rz_num.h:126:52: error: unknown type name ‘ut16’
  252.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  253.      |                                                    ^~
  254. ../librz/include/rz_util/rz_num.h:136:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  255.  136 | CONVERT_TO_TWO_COMPLEMENT(16)
  256.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  257. ../librz/include/rz_util/rz_num.h:126:16: error: unknown type name ‘st32’
  258.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  259.      |                ^~
  260. ../librz/include/rz_util/rz_num.h:137:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  261.  137 | CONVERT_TO_TWO_COMPLEMENT(32)
  262.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  263. ../librz/include/rz_util/rz_num.h:126:52: error: unknown type name ‘ut32’
  264.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  265.      |                                                    ^~
  266. ../librz/include/rz_util/rz_num.h:137:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  267.  137 | CONVERT_TO_TWO_COMPLEMENT(32)
  268.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  269. ../librz/include/rz_util/rz_num.h:126:16: error: unknown type name ‘st64’
  270.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  271.      |                ^~
  272. ../librz/include/rz_util/rz_num.h:138:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  273.  138 | CONVERT_TO_TWO_COMPLEMENT(64)
  274.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  275. ../librz/include/rz_util/rz_num.h:126:52: error: unknown type name ‘ut64’
  276.  126 |  static inline st##x convert_to_two_complement_##x(ut##x value) { \
  277.      |                                                    ^~
  278. ../librz/include/rz_util/rz_num.h:138:1: note: in expansion of macro ‘CONVERT_TO_TWO_COMPLEMENT’
  279.  138 | CONVERT_TO_TWO_COMPLEMENT(64)
  280.      | ^~~~~~~~~~~~~~~~~~~~~~~~~
  281. ../librz/util/calc.c: In function ‘term’:
  282. ../librz/util/calc.c:186:8: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘dbz’
  283.  186 |     num->dbz = 1;
  284.      |        ^~
  285. ../librz/util/calc.c: In function ‘prim’:
  286. ../librz/util/calc.c:227:12: warning: implicit declaration of function ‘rz_num_get’; did you mean ‘rz_str_get’? [-Wimplicit-function-declaration]
  287.  227 |   v = Nset(rz_num_get(num, nc->string_value));
  288.      |            ^~~~~~~~~~
  289.      |            rz_str_get
  290. ../librz/util/calc.c: In function ‘rz_num_calc_index’:
  291. ../librz/util/calc.c:289:6: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘nc’
  292.  289 |   num->nc.calc_buf = p;
  293.      |      ^~
  294. ../librz/util/calc.c:290:6: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘nc’
  295.  290 |   num->nc.calc_len = strlen(p);
  296.      |      ^~
  297. ../librz/util/calc.c:291:6: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘nc’
  298.  291 |   num->nc.calc_i = 0;
  299.      |      ^~
  300. ../librz/util/calc.c:293:12: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘nc’
  301.  293 |  return num->nc.calc_buf + num->nc.calc_i;
  302.      |            ^~
  303. ../librz/util/calc.c:293:31: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘nc’
  304.  293 |  return num->nc.calc_buf + num->nc.calc_i;
  305.      |                               ^~
  306. ../librz/util/calc.c: In function ‘rz_num_calc’:
  307. ../librz/util/calc.c:485:12: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘nc’
  308.  485 |   nc = &num->nc;
  309.      |            ^~
  310. ../librz/util/calc.c:486:6: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘dbz’
  311.  486 |   num->dbz = 0;
  312.      |      ^~
  313. ../librz/util/calc.c:509:6: error: ‘RzNum’ {aka ‘struct rz_num_t’} has no member named ‘fvalue’
  314.  509 |   num->fvalue = n.d;
  315.      |      ^~
  316. ../librz/util/calc.c: In function ‘rz_num_calc_index’:
  317. ../librz/util/calc.c:294:1: warning: control reaches end of non-void function [-Wreturn-type]
  318.  294 | }
  319.      | ^
  320. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement