You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/hong/projects/mir/llvm2mir/llvm2mir.c: In function ‘init_bb_gen_info’:
/home/hong/projects/mir/llvm2mir/llvm2mir.c:76:90: error: macro "HTAB_CREATE" requires 7 arguments, but only 6 given
76 | HTAB_CREATE (bb_gen_info_t, bb_gen_info_tab, 64, bb_gen_info_hash, bb_gen_info_eq, NULL);
| ^
In file included from /home/hong/projects/mir/mir.h:22,
from /home/hong/projects/mir/llvm2mir/llvm2mir.h:8,
from /home/hong/projects/mir/llvm2mir/llvm2mir.c:10:
/home/hong/projects/mir/mir-htab.h:241:9: note: macro "HTAB_CREATE" defined here
241 | #define HTAB_CREATE(T, V, M, S, H, EQ, A) (HTAB_OP (T, create) (&(V), M, S, H, EQ, NULL, A))
| ^~~~~~~~~~~
[ 77%] Linking C executable interp_loop_c
[ 79%] Linking C executable interp_sieve
/home/hong/projects/mir/llvm2mir/llvm2mir.c:76:3: error: ‘HTAB_CREATE’ undeclared (first use in this function)
76 | HTAB_CREATE (bb_gen_info_t, bb_gen_info_tab, 64, bb_gen_info_hash, bb_gen_info_eq, NULL);
| ^~~~~~~~~~~
/home/hong/projects/mir/llvm2mir/llvm2mir.c:76:3: note: each undeclared identifier is reported only once for each function it appears in
/home/hong/projects/mir/llvm2mir/llvm2mir.c:77:46: error: macro "VARR_CREATE" requires 4 arguments, but only 3 given
77 | VARR_CREATE (bb_gen_info_t, bb_gen_infos, 0);
| ^
In file included from /home/hong/projects/mir/mir.h:21:
/home/hong/projects/mir/mir-varr.h:175:9: note: macro "VARR_CREATE" defined here
175 | #define VARR_CREATE(T, V, A, L) (VARR_OP (T, create) (&(V), A, L))
| ^~~~~~~~~~~
/home/hong/projects/mir/llvm2mir/llvm2mir.c:77:3: error: ‘VARR_CREATE’ undeclared (first use in this function)
77 | VARR_CREATE (bb_gen_info_t, bb_gen_infos, 0);
| ^~~~~~~~~~~
/home/hong/projects/mir/llvm2mir/llvm2mir.c: In function ‘add_bb_dest’:
/home/hong/projects/mir/llvm2mir/llvm2mir.c:176:68: error: macro "VARR_CREATE" requires 4 arguments, but only 3 given
176 | if (e->br_insns == NULL) VARR_CREATE (MIR_insn_t, e->br_insns, 16);
| ^
/home/hong/projects/mir/mir-varr.h:175:9: note: macro "VARR_CREATE" defined here
175 | #define VARR_CREATE(T, V, A, L) (VARR_OP (T, create) (&(V), A, L))
| ^~~~~~~~~~~
[ 81%] Linking C executable io_test
[ 82%] Linking C executable gen_loop
/home/hong/projects/mir/llvm2mir/llvm2mir.c:176:28: error: ‘VARR_CREATE’ undeclared (first use in this function)
176 | if (e->br_insns == NULL) VARR_CREATE (MIR_insn_t, e->br_insns, 16);
| ^~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: