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
Hello ,cparser is a very good project. I like and study it. But I met an error.
from cmd: ./cparser --export-ir firmforth.c
/usr/include/stdio.h:33:10: error: failed including <stddef.h>: No such file or directory
/usr/include/bits/_G_config.h:19:10: error: failed including <stddef.h>: No such file or directory
/usr/include/bits/libio.h:53:10: error: failed including <stdarg.h>: No such file or directory
/usr/include/bits/libio.h:306:3: error: 'size_t' does not name a type
/usr/include/stdio.h:46:9: error: '__gnuc_va_list' does not name a type
/usr/include/string.h:33:10: error: failed including <stddef.h>: No such file or directory
/usr/include/strings.h:23:10: error: failed including <stddef.h>: No such file or directory
/usr/include/stdlib.h:31:10: error: failed including <stddef.h>: No such file or directory
/usr/include/sys/types.h:145:10: error: failed including <stddef.h>: No such file or directory
/usr/include/alloca.h:24:10: error: failed including <stddef.h>: No such file or directory
/usr/include/stdlib.h:922:20: error: 'wchar_t' does not name a type
/usr/include/dlfcn.h:24:10: error: failed including <stddef.h>: No such file or directory
firmforth.c:8:10: error: failed including <libfirm/firm.h>: No such file or directory
firmforth.c:9:10: error: failed including <libfirm/ident.h>: No such file or directory
firmforth.h:5:10: error: failed including <stdbool.h>: No such file or directory
firmforth.h:6:10: error: failed including <libfirm/firm.h>: No such file or directory
firmforth.h:28:3: error: 'ir_entity' does not name a type
firmforth.c:26:1: error: 'ir_node' does not name a type
firmforth.c:30:1: error: 'ir_type' does not name a type
firmforth.c:65:21: error: 'ir_graph' does not name a type
firmforth.c:199:3: error: 'ident' does not name a type
firmforth.c:202:10: warning: implicit declaration of function 'id_unique' [-Wimplicit-function-declaration]
firmforth.c:202:5: warning: assignment makes pointer 'ident*' from integer 'int' without a cast [-Wother]
firmforth.c:207:28: warning: implicit declaration of function 'get_glob_type' [-Wimplicit-function-declaration]
firmforth.c:207:41: warning: initializer makes pointer 'ir_type*' from integer 'int' without a cast [-Wother]
firmforth.c:208:19: warning: implicit declaration of function 'new_entity' [-Wimplicit-function-declaration]
firmforth.c:208:8: warning: assignment makes pointer 'ir_entity*' from integer 'int' without a cast [-Wother]
firmforth.c:209:3: warning: implicit declaration of function 'set_entity_ld_ident' [-Wimplicit-function-declaration]
firmforth.c:213:19: warning: implicit declaration of function 'new_ir_graph' [-Wimplicit-function-declaration]
firmforth.c:213:31: warning: initializer makes pointer 'ir_graph*' from integer 'int' without a cast [-Wother]
firmforth.c:214:3: warning: implicit declaration of function 'set_current_ir_graph' [-Wimplicit-function-declaration]
firmforth.c:217:25: warning: implicit declaration of function 'new_Proj' [-Wimplicit-function-declaration]
firmforth.c:217:34: warning: implicit declaration of function 'get_irg_start' [-Wimplicit-function-declaration]
firmforth.c:217:54: error: identifier 'mode_T' is unknown.
firmforth.c:217:62: error: identifier 'pn_Start_T_args' is unknown.
firmforth.c:217:33: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:218:3: warning: implicit declaration of function 'set_value' [-Wimplicit-function-declaration]
firmforth.c:218:37: error: identifier 'mode_P' is unknown.
firmforth.c:220:19: warning: implicit declaration of function 'get_id_str' [-Wimplicit-function-declaration]
firmforth.c:220:8: warning: assignment makes pointer 'const char*' from integer 'int' without a cast [-Wother]
firmforth.c:236:28: warning: implicit declaration of function 'get_store' [-Wimplicit-function-declaration]
firmforth.c:236:37: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:237:20: warning: implicit declaration of function 'get_value' [-Wimplicit-function-declaration]
firmforth.c:237:33: error: identifier 'mode_P' is unknown.
firmforth.c:237:29: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:238:28: warning: implicit declaration of function 'new_Return' [-Wimplicit-function-declaration]
firmforth.c:238:38: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:240:26: warning: implicit declaration of function 'get_irg_end_block' [-Wimplicit-function-declaration]
firmforth.c:240:44: error: identifier 'current_ir_graph' is unknown.
firmforth.c:240:43: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:241:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:243:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:243:19: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:244:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:249:3: warning: implicit declaration of function 'scalar_replacement_opt' [-Wimplicit-function-declaration]
firmforth.c:250:3: warning: implicit declaration of function 'optimize_graph_df' [-Wimplicit-function-declaration]
firmforth.c:251:3: warning: implicit declaration of function 'optimize_cf' [-Wimplicit-function-declaration]
firmforth.c:252:3: warning: implicit declaration of function 'optimize_load_store' [-Wimplicit-function-declaration]
firmforth.c:253:3: warning: implicit declaration of function 'combo' [-Wimplicit-function-declaration]
firmforth.c:258:19: warning: implicit declaration of function 'get_entity_irg' [-Wimplicit-function-declaration]
firmforth.c:258:33: warning: initializer makes pointer 'ir_graph*' from integer 'int' without a cast [-Wother]
firmforth.c:271:3: warning: implicit declaration of function 'be_main' [-Wimplicit-function-declaration]
firmforth.c:301:3: warning: implicit declaration of function 'set_irg_entity' [-Wimplicit-function-declaration]
firmforth.c:306:3: error: identifier 'bool' is unknown.
firmforth.c:306:3: warning: initialisation of 'for'-statement has no effect [-Wunused-value]
firmforth.c:306:3: error: expected ';', got identifier 'old_irg__b'
firmforth.c:306:3: error: identifier 'old_irg__b' is unknown.
firmforth.c:306:3: error: identifier 'true' is unknown.
firmforth.c:306:3: warning: step of 'for'-statement has no effect [-Wunused-value]
firmforth.c:306:3: error: expected ')', got ';'
firmforth.c:306:3: error: identifier 'old_irg__b' is unknown.
firmforth.c:306:3: error: identifier 'false' is unknown.
firmforth.c:306:3: error: expected ';', got ')'
firmforth.c:306:3: warning: implicit declaration of function 'get_irp_n_irgs' [-Wimplicit-function-declaration]
firmforth.c:306:3: warning: implicit declaration of function 'get_irp_irg' [-Wimplicit-function-declaration]
firmforth.c:306:3: warning: initializer makes pointer 'ir_graph* const' from integer 'int' without a cast [-Wother]
firmforth.c:306:3: error: identifier 'true' is unknown.
firmforth.c:307:22: warning: implicit declaration of function 'get_irg_entity' [-Wimplicit-function-declaration]
firmforth.c:307:36: warning: initializer makes pointer 'ir_entity*' from integer 'int' without a cast [-Wother]
firmforth.c:308:5: warning: implicit declaration of function 'set_entity_linkage' [-Wimplicit-function-declaration]
firmforth.c:308:29: error: identifier 'IR_LINKAGE_NO_CODEGEN' is unknown.
firmforth.c:327:19: warning: implicit declaration of function 'get_current_ir_graph' [-Wimplicit-function-declaration]
firmforth.c:327:39: warning: initializer makes pointer 'ir_graph*' from integer 'int' without a cast [-Wother]
firmforth.c:330:3: warning: implicit declaration of function 'irg_finalize_cons' [-Wimplicit-function-declaration]
firmforth.c:331:3: warning: implicit declaration of function 'irg_assert_verify' [-Wimplicit-function-declaration]
firmforth.c:333:3: warning: implicit declaration of function 'dump_ir_graph' [-Wimplicit-function-declaration]
firmforth.c:336:3: warning: implicit declaration of function 'do_loop_inversion' [-Wimplicit-function-declaration]
firmforth.c:337:3: warning: implicit declaration of function 'optimize_reassociation' [-Wimplicit-function-declaration]
firmforth.c:338:3: warning: implicit declaration of function 'optimize_load_store' [-Wimplicit-function-declaration]
firmforth.c:340:3: warning: implicit declaration of function 'optimize_cf' [-Wimplicit-function-declaration]
firmforth.c:343:3: warning: implicit declaration of function 'inline_functions' [-Wimplicit-function-declaration]
firmforth.c:349:3: warning: implicit declaration of function 'optimize_graph_df' [-Wimplicit-function-declaration]
firmforth.c:350:3: warning: implicit declaration of function 'combo' [-Wimplicit-function-declaration]
firmforth.c:351:3: warning: implicit declaration of function 'scalar_replacement_opt' [-Wimplicit-function-declaration]
firmforth.c:352:3: warning: implicit declaration of function 'place_code' [-Wimplicit-function-declaration]
firmforth.c:355:3: warning: implicit declaration of function 'opt_jumpthreading' [-Wimplicit-function-declaration]
firmforth.c:357:3: warning: implicit declaration of function 'construct_confirms' [-Wimplicit-function-declaration]
firmforth.c:359:3: warning: implicit declaration of function 'remove_confirms' [-Wimplicit-function-declaration]
firmforth.c:366:3: warning: implicit declaration of function 'lower_highlevel_graph' [-Wimplicit-function-declaration]
firmforth.c:562:21: warning: implicit declaration of function 'new_Const_long' [-Wimplicit-function-declaration]
firmforth.c:562:36: error: identifier 'mode_Ls' is unknown.
firmforth.c:562:35: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:563:20: warning: implicit declaration of function 'get_value' [-Wimplicit-function-declaration]
firmforth.c:563:33: error: identifier 'mode_P' is unknown.
firmforth.c:563:29: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:564:11: warning: implicit declaration of function 'new_Add' [-Wimplicit-function-declaration]
firmforth.c:564:3: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:565:3: warning: implicit declaration of function 'set_value' [-Wimplicit-function-declaration]
firmforth.c:566:24: warning: implicit declaration of function 'new_Load' [-Wimplicit-function-declaration]
firmforth.c:566:33: warning: implicit declaration of function 'get_store' [-Wimplicit-function-declaration]
firmforth.c:566:53: error: identifier 'mode_Lu' is unknown.
firmforth.c:566:32: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:567:28: warning: implicit declaration of function 'new_Proj' [-Wimplicit-function-declaration]
firmforth.c:567:57: error: identifier 'pn_Load_res' is unknown.
firmforth.c:567:36: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:568:48: error: identifier 'mode_M' is unknown.
firmforth.c:568:56: error: identifier 'pn_Load_M' is unknown.
firmforth.c:568:36: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:569:3: warning: implicit declaration of function 'set_store' [-Wimplicit-function-declaration]
firmforth.c:572:18: warning: implicit declaration of function 'new_Cmp' [-Wimplicit-function-declaration]
firmforth.c:574:5: error: identifier 'ir_relation_less_greater' is unknown.
firmforth.c:572:25: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:575:19: warning: implicit declaration of function 'new_Cond' [-Wimplicit-function-declaration]
firmforth.c:575:27: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:578:40: error: identifier 'mode_X' is unknown.
firmforth.c:578:48: error: identifier 'pn_Cond_true' is unknown.
firmforth.c:578:33: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:579:25: warning: implicit declaration of function 'new_immBlock' [-Wimplicit-function-declaration]
firmforth.c:579:37: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:580:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:583:48: error: identifier 'pn_Cond_false' is unknown.
firmforth.c:583:33: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:584:38: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:587:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:587:19: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:589:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:612:19: warning: implicit declaration of function 'new_Jmp' [-Wimplicit-function-declaration]
firmforth.c:612:26: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:613:22: warning: implicit declaration of function 'new_immBlock' [-Wimplicit-function-declaration]
firmforth.c:613:34: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:614:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:615:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:615:19: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:616:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:637:19: warning: implicit declaration of function 'new_Jmp' [-Wimplicit-function-declaration]
firmforth.c:637:26: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:638:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:638:19: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:639:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:641:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:658:19: warning: implicit declaration of function 'new_Jmp' [-Wimplicit-function-declaration]
firmforth.c:658:26: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:659:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:659:19: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:661:22: warning: implicit declaration of function 'new_immBlock' [-Wimplicit-function-declaration]
firmforth.c:661:34: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:663:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:664:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:666:31: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:686:19: warning: implicit declaration of function 'new_Jmp' [-Wimplicit-function-declaration]
firmforth.c:686:26: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:687:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:690:3: warning: implicit declaration of function 'get_store' [-Wimplicit-function-declaration]
firmforth.c:692:3: warning: implicit declaration of function 'keep_alive' [-Wimplicit-function-declaration]
firmforth.c:694:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:696:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:696:17: warning: implicit declaration of function 'new_immBlock' [-Wimplicit-function-declaration]
firmforth.c:713:19: warning: implicit declaration of function 'new_Jmp' [-Wimplicit-function-declaration]
firmforth.c:713:26: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:714:3: warning: implicit declaration of function 'mature_immBlock' [-Wimplicit-function-declaration]
firmforth.c:714:19: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:717:3: warning: implicit declaration of function 'add_immBlock_pred' [-Wimplicit-function-declaration]
firmforth.c:720:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:738:22: warning: implicit declaration of function 'get_cur_block' [-Wimplicit-function-declaration]
firmforth.c:738:35: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:741:3: warning: implicit declaration of function 'set_cur_block' [-Wimplicit-function-declaration]
firmforth.c:761:18: warning: implicit declaration of function 'get_store' [-Wimplicit-function-declaration]
firmforth.c:761:27: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:765:11: warning: implicit declaration of function 'new_Address' [-Wimplicit-function-declaration]
firmforth.c:765:5: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:768:11: warning: implicit declaration of function 'new_Const_long' [-Wimplicit-function-declaration]
firmforth.c:768:26: error: identifier 'mode_P' is unknown.
firmforth.c:768:5: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:771:20: warning: implicit declaration of function 'get_value' [-Wimplicit-function-declaration]
firmforth.c:771:33: error: identifier 'mode_P' is unknown.
firmforth.c:771:29: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:772:19: warning: implicit declaration of function 'new_Call' [-Wimplicit-function-declaration]
firmforth.c:772:27: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:773:9: warning: implicit declaration of function 'new_Proj' [-Wimplicit-function-declaration]
firmforth.c:773:24: error: identifier 'mode_M' is unknown.
firmforth.c:773:32: error: identifier 'pn_Call_M' is unknown.
firmforth.c:773:3: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:774:3: warning: implicit declaration of function 'set_store' [-Wimplicit-function-declaration]
firmforth.c:775:26: error: identifier 'mode_T' is unknown.
firmforth.c:775:34: error: identifier 'pn_Call_T_result' is unknown.
firmforth.c:775:3: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:776:3: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:777:3: warning: implicit declaration of function 'set_value' [-Wimplicit-function-declaration]
firmforth.c:886:23: warning: implicit declaration of function 'get_value' [-Wimplicit-function-declaration]
firmforth.c:886:36: error: identifier 'mode_P' is unknown.
firmforth.c:886:32: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:887:27: warning: implicit declaration of function 'new_Const_long' [-Wimplicit-function-declaration]
firmforth.c:887:42: error: identifier 'mode_Lu' is unknown.
firmforth.c:887:41: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:889:23: warning: implicit declaration of function 'new_Store' [-Wimplicit-function-declaration]
firmforth.c:889:33: warning: implicit declaration of function 'get_store' [-Wimplicit-function-declaration]
firmforth.c:889:32: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:890:21: warning: implicit declaration of function 'new_Proj' [-Wimplicit-function-declaration]
firmforth.c:890:37: error: identifier 'mode_M' is unknown.
firmforth.c:890:45: error: identifier 'pn_Store_M' is unknown.
firmforth.c:890:29: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:891:6: warning: implicit declaration of function 'set_store' [-Wimplicit-function-declaration]
firmforth.c:892:21: warning: implicit declaration of function 'new_Add' [-Wimplicit-function-declaration]
firmforth.c:892:51: error: identifier 'mode_Ls' is unknown.
firmforth.c:892:28: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:893:6: warning: implicit declaration of function 'set_value' [-Wimplicit-function-declaration]
firmforth.c:990:22: warning: implicit declaration of function 'get_compound_n_members' [-Wimplicit-function-declaration]
firmforth.c:990:45: warning: implicit declaration of function 'get_glob_type' [-Wimplicit-function-declaration]
firmforth.c:992:25: warning: implicit declaration of function 'get_compound_member' [-Wimplicit-function-declaration]
firmforth.c:992:44: warning: initializer makes pointer 'ir_entity*' from integer 'int' without a cast [-Wother]
firmforth.c:994:17: warning: implicit declaration of function 'get_entity_ld_name' [-Wimplicit-function-declaration]
firmforth.c:994:35: warning: call argument 1 makes pointer 'const char*' from integer 'int' without a cast [-Wother]
firmforth.c:1003:3: warning: implicit declaration of function 'ir_init' [-Wimplicit-function-declaration]
firmforth.c:1006:3: warning: implicit declaration of function 'ir_target_set' [-Wimplicit-function-declaration]
firmforth.c:1007:3: warning: implicit declaration of function 'ir_target_option' [-Wimplicit-function-declaration]
firmforth.c:1008:3: warning: implicit declaration of function 'ir_target_init' [-Wimplicit-function-declaration]
firmforth.c:1011:22: warning: implicit declaration of function 'new_type_method' [-Wimplicit-function-declaration]
firmforth.c:1011:44: error: identifier 'false' is unknown.
firmforth.c:1011:3: warning: assignment makes pointer 'ir_type*' from integer 'int' without a cast [-Wother]
firmforth.c:1012:15: warning: implicit declaration of function 'new_type_primitive' [-Wimplicit-function-declaration]
firmforth.c:1012:34: error: identifier 'mode_Ls' is unknown.
firmforth.c:1012:3: warning: assignment makes pointer 'ir_type*' from integer 'int' without a cast [-Wother]
firmforth.c:1013:19: warning: implicit declaration of function 'new_type_pointer' [-Wimplicit-function-declaration]
firmforth.c:1013:3: warning: assignment makes pointer 'ir_type*' from integer 'int' without a cast [-Wother]
firmforth.c:1014:3: warning: implicit declaration of function 'set_method_res_type' [-Wimplicit-function-declaration]
firmforth.c:1015:3: warning: implicit declaration of function 'set_method_param_type' [-Wimplicit-function-declaration]
firmforth.c:1019:7: warning: implicit declaration of function 'ir_import' [-Wimplicit-function-declaration]
firmforth.c:1031:7: error: 'ident' does not name a type
firmforth.c:1031:19: warning: implicit declaration of function 'new_id_from_str' [-Wimplicit-function-declaration]
firmforth.c:1031:34: warning: initializer makes pointer 'ident*' from integer 'int' without a cast [-Wother]
firmforth.c:1032:16: warning: implicit declaration of function 'new_entity' [-Wimplicit-function-declaration]
firmforth.c:1032:27: warning: implicit declaration of function 'get_glob_type' [-Wimplicit-function-declaration]
firmforth.c:1032:7: warning: assignment makes pointer 'ir_entity*' from integer 'int' without a cast [-Wother]
firmforth.c:1034:5: warning: implicit declaration of function 'set_entity_linkage' [-Wimplicit-function-declaration]
firmforth.c:1034:32: error: identifier 'IR_LINKAGE_NO_CODEGEN' is unknown.
firmforth.c:1039:3: error: identifier 'bool' is unknown.
firmforth.c:1039:3: warning: initialisation of 'for'-statement has no effect [-Wunused-value]
firmforth.c:1039:3: error: expected ';', got identifier 'old_irg__b'
firmforth.c:1039:3: error: identifier 'old_irg__b' is unknown.
firmforth.c:1039:3: error: identifier 'true' is unknown.
firmforth.c:1039:3: warning: step of 'for'-statement has no effect [-Wunused-value]
firmforth.c:1039:3: error: expected ')', got ';'
firmforth.c:1039:3: error: identifier 'old_irg__b' is unknown.
firmforth.c:1039:3: error: expected ';', got ')'
firmforth.c:1039:3: warning: implicit declaration of function 'get_irp_n_irgs' [-Wimplicit-function-declaration]
firmforth.c:1039:3: warning: implicit declaration of function 'get_irp_irg' [-Wimplicit-function-declaration]
firmforth.c:1039:3: warning: initializer makes pointer 'ir_graph* const' from integer 'int' without a cast [-Wother]
firmforth.c:1039:3: error: identifier 'true' is unknown.
firmforth.c:1040:5: warning: implicit declaration of function 'set_entity_linkage' [-Wimplicit-function-declaration]
firmforth.c:1040:24: warning: implicit declaration of function 'get_irg_entity' [-Wimplicit-function-declaration]
firmforth.c:1040:49: error: identifier 'IR_LINKAGE_NO_CODEGEN' is unknown.
firmforth.c:1110:3: error: 'ident' does not name a type
firmforth.c:1113:10: warning: implicit declaration of function 'id_unique' [-Wimplicit-function-declaration]
firmforth.c:1113:5: warning: assignment makes pointer 'ident*' from integer 'int' without a cast [-Wother]
firmforth.c:1118:26: warning: implicit declaration of function 'get_glob_type' [-Wimplicit-function-declaration]
firmforth.c:1118:39: warning: initializer makes pointer 'ir_type*' from integer 'int' without a cast [-Wother]
firmforth.c:1119:19: warning: implicit declaration of function 'new_entity' [-Wimplicit-function-declaration]
firmforth.c:1119:8: warning: assignment makes pointer 'ir_entity*' from integer 'int' without a cast [-Wother]
firmforth.c:1120:3: warning: implicit declaration of function 'set_entity_ld_ident' [-Wimplicit-function-declaration]
firmforth.c:1122:19: warning: implicit declaration of function 'get_id_str' [-Wimplicit-function-declaration]
firmforth.c:1122:8: warning: assignment makes pointer 'const char*' from integer 'int' without a cast [-Wother]
firmforth.c:1125:19: warning: implicit declaration of function 'new_ir_graph' [-Wimplicit-function-declaration]
firmforth.c:1125:31: warning: initializer makes pointer 'ir_graph*' from integer 'int' without a cast [-Wother]
firmforth.c:1127:3: warning: implicit declaration of function 'set_current_ir_graph' [-Wimplicit-function-declaration]
firmforth.c:1129:25: warning: implicit declaration of function 'new_Proj' [-Wimplicit-function-declaration]
firmforth.c:1129:34: warning: implicit declaration of function 'get_irg_start' [-Wimplicit-function-declaration]
firmforth.c:1129:54: error: identifier 'mode_T' is unknown.
firmforth.c:1129:62: error: identifier 'pn_Start_T_args' is unknown.
firmforth.c:1129:33: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1132:24: warning: implicit declaration of function 'new_Const_long' [-Wimplicit-function-declaration]
firmforth.c:1132:39: error: identifier 'mode_Ls' is unknown.
firmforth.c:1132:38: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1133:41: error: identifier 'mode_P' is unknown.
firmforth.c:1133:28: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1134:24: warning: implicit declaration of function 'new_Sub' [-Wimplicit-function-declaration]
firmforth.c:1134:31: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1135:24: warning: implicit declaration of function 'new_Load' [-Wimplicit-function-declaration]
firmforth.c:1135:33: warning: implicit declaration of function 'get_store' [-Wimplicit-function-declaration]
firmforth.c:1135:57: error: identifier 'mode_Lu' is unknown.
firmforth.c:1135:32: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1136:61: error: identifier 'pn_Load_res' is unknown.
firmforth.c:1136:40: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1137:52: error: identifier 'mode_M' is unknown.
firmforth.c:1137:60: error: identifier 'pn_Load_M' is unknown.
firmforth.c:1137:40: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1140:31: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1141:3: warning: assignment makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1142:40: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1143:40: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1144:3: warning: implicit declaration of function 'set_store' [-Wimplicit-function-declaration]
firmforth.c:1148:20: warning: implicit declaration of function 'new_Store' [-Wimplicit-function-declaration]
firmforth.c:1148:29: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1149:46: error: identifier 'pn_Store_M' is unknown.
firmforth.c:1149:30: warning: initializer makes pointer 'ir_node*' from integer 'int' without a cast [-Wother]
firmforth.c:1151:3: warning: implicit declaration of function 'set_value' [-Wimplicit-function-declaration]
firmforth.c:1160:33: error: identifier 'new_Shl' is unknown.
firmforth.c:1161:33: error: identifier 'new_Shr' is unknown.
firmforth.c:1162:29: error: identifier 'new_Or' is unknown.
firmforth.c:1163:30: error: identifier 'new_And' is unknown.
firmforth.c:1164:30: error: identifier 'new_Eor' is unknown.
firmforth.c:1165:28: error: identifier 'new_Mul' is unknown.
86 error(s), 225 warning(s)
system info
ubuntu 18.04
The text was updated successfully, but these errors were encountered:
Hello ,cparser is a very good project. I like and study it. But I met an error.
system info
The text was updated successfully, but these errors were encountered: