Temporary header file '/tmp/WyLH4xxJDX/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/libmawk/array.h" #include "/usr/include/libmawk/array_environ.h" #include "/usr/include/libmawk/array_generic.h" #include "/usr/include/libmawk/array_orig.h" #include "/usr/include/libmawk/bi_vars.h" #include "/usr/include/libmawk/cell.h" #include "/usr/include/libmawk/code.h" #include "/usr/include/libmawk/conf.h" #include "/usr/include/libmawk/execute.h" #include "/usr/include/libmawk/files.h" #include "/usr/include/libmawk/init.h" #include "/usr/include/libmawk/libmawk.h" #include "/usr/include/libmawk/mawk.h" #include "/usr/include/libmawk/memory.h" #include "/usr/include/libmawk/nstd.h" #include "/usr/include/libmawk/num.h" #include "/usr/include/libmawk/num_double.h" #include "/usr/include/libmawk/num_int.h" #include "/usr/include/libmawk/repl.h" #include "/usr/include/libmawk/sizes.h" #include "/usr/include/libmawk/symtype.h" #include "/usr/include/libmawk/types.h" #include "/usr/include/libmawk/vio.h" #include "/usr/include/libmawk/vio_fifo.h" #include "/usr/include/libmawk/vio_orig.h" #include "/usr/include/libmawk/zfifo.h" #include "/usr/include/libmawk/zmalloc.h" #include "/usr/include/libmawk.h" // add classes array* tmp_add_class_0; array_imp_s* tmp_add_class_1; bc* tmp_add_class_2; ca_rec* tmp_add_class_3; child* tmp_add_class_4; fblock* tmp_add_class_5; fcall* tmp_add_class_6; file_node_s* tmp_add_class_7; hash* tmp_add_class_8; jmp* tmp_add_class_9; mawk_cell_s* tmp_add_class_10; mawk_debug_callstack_s* tmp_add_class_11; mawk_fdump* tmp_add_class_12; mawk_mm_s* tmp_add_class_13; mawk_parse_state_s* tmp_add_class_14; mawk_state_s* tmp_add_class_15; mawk_vio_fifo_s* tmp_add_class_16; mawk_vio_imp_s* tmp_add_class_17; mawk_vio_init_s* tmp_add_class_18; mawk_vio_s* tmp_add_class_19; mawk_zfifo_block_s* tmp_add_class_20; mc* tmp_add_class_21; pfile* tmp_add_class_22; re_node* tmp_add_class_23; repl_node* tmp_add_class_24; spov* tmp_add_class_25; zblock* tmp_add_class_26; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/WyLH4xxJDX/dump1.h" In file included from /usr/include/libmawk/cell.h:1, from /usr/include/libmawk/array.h:38, from /tmp/WyLH4xxJDX/dump1.h:12: /usr/include/libmawk/repl.h:20:1: error: ‘PTR’ does not name a type 20 | PTR mawk_re_compile(mawk_state_t *, mawk_string_t *); | ^~~ /usr/include/libmawk/repl.h:21:25: error: ‘mawk_state_t’ was not declared in this scope 21 | char *mawk_re_uncompile(mawk_state_t *, PTR); | ^~~~~~~~~~~~ /usr/include/libmawk/repl.h:21:39: error: expected primary-expression before ‘,’ token 21 | char *mawk_re_uncompile(mawk_state_t *, PTR); | ^ /usr/include/libmawk/repl.h:21:41: error: ‘PTR’ was not declared in this scope 21 | char *mawk_re_uncompile(mawk_state_t *, PTR); | ^~~ /usr/include/libmawk/repl.h:24:1: error: ‘mawk_cell_t’ does not name a type; did you mean ‘mawk_cellcpy’? 24 | mawk_cell_t *mawk_repl_compile(mawk_state_t *, mawk_string_t *); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/repl.h:25:27: error: ‘mawk_state_t’ was not declared in this scope 25 | char *mawk_repl_uncompile(mawk_state_t *, mawk_cell_t *); | ^~~~~~~~~~~~ /usr/include/libmawk/repl.h:25:41: error: expected primary-expression before ‘,’ token 25 | char *mawk_repl_uncompile(mawk_state_t *, mawk_cell_t *); | ^ /usr/include/libmawk/repl.h:25:43: error: ‘mawk_cell_t’ was not declared in this scope; did you mean ‘mawk_cellcpy’? 25 | char *mawk_repl_uncompile(mawk_state_t *, mawk_cell_t *); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/repl.h:25:56: error: expected primary-expression before ‘)’ token 25 | char *mawk_repl_uncompile(mawk_state_t *, mawk_cell_t *); | ^ /usr/include/libmawk/repl.h:26:30: error: ‘mawk_state_t’ was not declared in this scope 26 | int pmawk_repl_uncompile_bin(mawk_state_t *MAWK, mawk_cell_t *cp); | ^~~~~~~~~~~~ /usr/include/libmawk/repl.h:26:44: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 26 | int pmawk_repl_uncompile_bin(mawk_state_t *MAWK, mawk_cell_t *cp); | ^~~~ | MAWK_H /usr/include/libmawk/repl.h:26:50: error: ‘mawk_cell_t’ was not declared in this scope; did you mean ‘mawk_cellcpy’? 26 | int pmawk_repl_uncompile_bin(mawk_state_t *MAWK, mawk_cell_t *cp); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/repl.h:26:63: error: ‘cp’ was not declared in this scope 26 | int pmawk_repl_uncompile_bin(mawk_state_t *MAWK, mawk_cell_t *cp); | ^~ /usr/include/libmawk/repl.h:27:6: error: variable or field ‘mawk_repl_destroy’ declared void 27 | void mawk_repl_destroy(mawk_state_t *, mawk_cell_t *); | ^~~~~~~~~~~~~~~~~ /usr/include/libmawk/repl.h:27:24: error: ‘mawk_state_t’ was not declared in this scope 27 | void mawk_repl_destroy(mawk_state_t *, mawk_cell_t *); | ^~~~~~~~~~~~ /usr/include/libmawk/repl.h:27:38: error: expected primary-expression before ‘,’ token 27 | void mawk_repl_destroy(mawk_state_t *, mawk_cell_t *); | ^ /usr/include/libmawk/repl.h:27:40: error: ‘mawk_cell_t’ was not declared in this scope; did you mean ‘mawk_cellcpy’? 27 | void mawk_repl_destroy(mawk_state_t *, mawk_cell_t *); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/repl.h:27:53: error: expected primary-expression before ‘)’ token 27 | void mawk_repl_destroy(mawk_state_t *, mawk_cell_t *); | ^ /usr/include/libmawk/repl.h:28:1: error: ‘mawk_cell_t’ does not name a type; did you mean ‘mawk_cellcpy’? 28 | mawk_cell_t *mawk_replv_cpy(mawk_state_t *, mawk_cell_t *, const mawk_cell_t *); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/repl.h:29:1: error: ‘mawk_cell_t’ does not name a type; did you mean ‘mawk_cellcpy’? 29 | mawk_cell_t *mawk_replv_to_repl(mawk_state_t *, mawk_cell_t *, mawk_string_t *); | ^~~~~~~~~~~ | mawk_cellcpy In file included from /usr/include/libmawk/array.h:39: /usr/include/libmawk/array_orig.h:12:8: error: ‘array_imp_t’ does not name a type 12 | extern array_imp_t mawk_array_orig_imp; | ^~~~~~~~~~~ /usr/include/libmawk/array_orig.h:16:32: error: ‘mawk_state_t’ was not declared in this scope 16 | void *mawk_array_it_start_orig(mawk_state_t *MAWK, mawk_array_t A); | ^~~~~~~~~~~~ /usr/include/libmawk/array_orig.h:16:46: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 16 | void *mawk_array_it_start_orig(mawk_state_t *MAWK, mawk_array_t A); | ^~~~ | MAWK_H /usr/include/libmawk/array_orig.h:16:52: error: ‘mawk_array_t’ was not declared in this scope; did you mean ‘mawk_array_set’? 16 | void *mawk_array_it_start_orig(mawk_state_t *MAWK, mawk_array_t A); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array_orig.h:17:7: error: ‘mawk_cell_t’ does not name a type; did you mean ‘mawk_cellcpy’? 17 | const mawk_cell_t *mawk_array_it_next_orig(mawk_state_t *MAWK, mawk_array_t A, void *iterator); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/array_orig.h:18:6: error: variable or field ‘mawk_array_it_stop_orig’ declared void 18 | void mawk_array_it_stop_orig(mawk_state_t *MAWK, mawk_array_t A, void *iterator); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/array_orig.h:18:30: error: ‘mawk_state_t’ was not declared in this scope 18 | void mawk_array_it_stop_orig(mawk_state_t *MAWK, mawk_array_t A, void *iterator); | ^~~~~~~~~~~~ /usr/include/libmawk/array_orig.h:18:44: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 18 | void mawk_array_it_stop_orig(mawk_state_t *MAWK, mawk_array_t A, void *iterator); | ^~~~ | MAWK_H /usr/include/libmawk/array_orig.h:18:50: error: ‘mawk_array_t’ was not declared in this scope; did you mean ‘mawk_array_set’? 18 | void mawk_array_it_stop_orig(mawk_state_t *MAWK, mawk_array_t A, void *iterator); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array_orig.h:18:66: error: expected primary-expression before ‘void’ 18 | void mawk_array_it_stop_orig(mawk_state_t *MAWK, mawk_array_t A, void *iterator); | ^~~~ /usr/include/libmawk/array.h:43:1: error: ‘mawk_array_t’ does not name a type; did you mean ‘mawk_array_set’? 43 | mawk_array_t mawk_array_new(mawk_state_t *MAWK, const array_imp_t *imp); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array.h:46:6: error: variable or field ‘mawk_array_destroy’ declared void 46 | void mawk_array_destroy(mawk_state_t *MAWK, mawk_array_t ARR); | ^~~~~~~~~~~~~~~~~~ /usr/include/libmawk/array.h:46:25: error: ‘mawk_state_t’ was not declared in this scope 46 | void mawk_array_destroy(mawk_state_t *MAWK, mawk_array_t ARR); | ^~~~~~~~~~~~ /usr/include/libmawk/array.h:46:39: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 46 | void mawk_array_destroy(mawk_state_t *MAWK, mawk_array_t ARR); | ^~~~ | MAWK_H /usr/include/libmawk/array.h:46:45: error: ‘mawk_array_t’ was not declared in this scope; did you mean ‘mawk_array_set’? 46 | void mawk_array_destroy(mawk_state_t *MAWK, mawk_array_t ARR); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array.h:49:1: error: ‘mawk_cell_t’ does not name a type; did you mean ‘mawk_cellcpy’? 49 | mawk_cell_t *mawk_array_cat(mawk_state_t *MAWK, mawk_cell_t *sp, int cnt); | ^~~~~~~~~~~ | mawk_cellcpy /usr/include/libmawk/array.h:53:6: error: variable or field ‘mawk_array_clear_common’ declared void 53 | void mawk_array_clear_common(mawk_state_t *MAWK, mawk_array_t A); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/array.h:53:30: error: ‘mawk_state_t’ was not declared in this scope 53 | void mawk_array_clear_common(mawk_state_t *MAWK, mawk_array_t A); | ^~~~~~~~~~~~ /usr/include/libmawk/array.h:53:44: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 53 | void mawk_array_clear_common(mawk_state_t *MAWK, mawk_array_t A); | ^~~~ | MAWK_H /usr/include/libmawk/array.h:53:50: error: ‘mawk_array_t’ was not declared in this scope; did you mean ‘mawk_array_set’? 53 | void mawk_array_clear_common(mawk_state_t *MAWK, mawk_array_t A); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array.h:115:1: error: ‘mawk_cell_t’ does not name a type; did you mean ‘mawk_cellcpy’? 115 | mawk_cell_t *mawk_array_find_orig_(mawk_state_t *MAWK, mawk_array_t A, const mawk_cell_t *cp, int create_flag); | ^~~~~~~~~~~ | mawk_cellcpy In file included from /tmp/WyLH4xxJDX/dump1.h:13: /usr/include/libmawk/array_environ.h:2:6: error: variable or field ‘mawk_environ_init’ declared void 2 | void mawk_environ_init(mawk_state_t *MAWK); | ^~~~~~~~~~~~~~~~~ /usr/include/libmawk/array_environ.h:2:24: error: ‘mawk_state_t’ was not declared in this scope 2 | void mawk_environ_init(mawk_state_t *MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/array_environ.h:2:38: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 2 | void mawk_environ_init(mawk_state_t *MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/array_environ.h:17:29: error: ‘mawk_state_t’ was not declared in this scope 17 | char **mawk_environ_extract(mawk_state_t *MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/array_environ.h:17:43: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 17 | char **mawk_environ_extract(mawk_state_t *MAWK); | ^~~~ | MAWK_H In file included from /tmp/WyLH4xxJDX/dump1.h:14: /usr/include/libmawk/array_generic.h:1:6: error: variable or field ‘mawk_array_clear_generic’ declared void 1 | void mawk_array_clear_generic(mawk_state_t *, mawk_array_t); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/array_generic.h:1:31: error: ‘mawk_state_t’ was not declared in this scope 1 | void mawk_array_clear_generic(mawk_state_t *, mawk_array_t); | ^~~~~~~~~~~~ /usr/include/libmawk/array_generic.h:1:45: error: expected primary-expression before ‘,’ token 1 | void mawk_array_clear_generic(mawk_state_t *, mawk_array_t); | ^ /usr/include/libmawk/array_generic.h:1:47: error: ‘mawk_array_t’ was not declared in this scope; did you mean ‘mawk_array_set’? 1 | void mawk_array_clear_generic(mawk_state_t *, mawk_array_t); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array_generic.h:2:1: error: ‘mawk_string_t’ does not name a type 2 | mawk_string_t **mawk_array_loop_vector_generic(mawk_state_t *, mawk_array_t, unsigned *vsize); | ^~~~~~~~~~~~~ /usr/include/libmawk/array_generic.h:3:6: error: variable or field ‘mawk_array_load_generic’ declared void 3 | void mawk_array_load_generic(mawk_state_t *, mawk_array_t, int cnt); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/array_generic.h:3:30: error: ‘mawk_state_t’ was not declared in this scope 3 | void mawk_array_load_generic(mawk_state_t *, mawk_array_t, int cnt); | ^~~~~~~~~~~~ /usr/include/libmawk/array_generic.h:3:44: error: expected primary-expression before ‘,’ token 3 | void mawk_array_load_generic(mawk_state_t *, mawk_array_t, int cnt); | ^ /usr/include/libmawk/array_generic.h:3:46: error: ‘mawk_array_t’ was not declared in this scope; did you mean ‘mawk_array_set’? 3 | void mawk_array_load_generic(mawk_state_t *, mawk_array_t, int cnt); | ^~~~~~~~~~~~ | mawk_array_set /usr/include/libmawk/array_generic.h:3:60: error: expected primary-expression before ‘int’ 3 | void mawk_array_load_generic(mawk_state_t *, mawk_array_t, int cnt); | ^~~ In file included from /usr/include/libmawk/memory.h:20, from /usr/include/libmawk/code.h:20, from /tmp/WyLH4xxJDX/dump1.h:18: /usr/include/libmawk/zmalloc.h:22:18: error: ‘mawk_state_t’ was not declared in this scope 22 | PTR mawk_bmalloc(mawk_state_t *, unsigned); | ^~~~~~~~~~~~ /usr/include/libmawk/zmalloc.h:22:32: error: expected primary-expression before ‘,’ token 22 | PTR mawk_bmalloc(mawk_state_t *, unsigned); | ^ /usr/include/libmawk/zmalloc.h:22:34: error: expected primary-expression before ‘unsigned’ 22 | PTR mawk_bmalloc(mawk_state_t *, unsigned); | ^~~~~~~~ /usr/include/libmawk/zmalloc.h:23:6: error: variable or field ‘mawk_bfree’ declared void 23 | void mawk_bfree(mawk_state_t *, PTR, unsigned); | ^~~~~~~~~~ /usr/include/libmawk/zmalloc.h:23:17: error: ‘mawk_state_t’ was not declared in this scope 23 | void mawk_bfree(mawk_state_t *, PTR, unsigned); | ^~~~~~~~~~~~ /usr/include/libmawk/zmalloc.h:23:31: error: expected primary-expression before ‘,’ token 23 | void mawk_bfree(mawk_state_t *, PTR, unsigned); | ^ /usr/include/libmawk/zmalloc.h:23:36: error: expected primary-expression before ‘,’ token 23 | void mawk_bfree(mawk_state_t *, PTR, unsigned); | ^ /usr/include/libmawk/zmalloc.h:23:38: error: expected primary-expression before ‘unsigned’ 23 | void mawk_bfree(mawk_state_t *, PTR, unsigned); | ^~~~~~~~ /usr/include/libmawk/zmalloc.h:24:19: error: ‘mawk_state_t’ was not declared in this scope 24 | PTR mawk_zrealloc(mawk_state_t *MAWK, register PTR p, unsigned old_size, unsigned new_size); | ^~~~~~~~~~~~ /usr/include/libmawk/zmalloc.h:24:33: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 24 | PTR mawk_zrealloc(mawk_state_t *MAWK, register PTR p, unsigned old_size, unsigned new_size); | ^~~~ | MAWK_H /usr/include/libmawk/zmalloc.h:24:39: error: expected primary-expression before ‘register’ 24 | PTR mawk_zrealloc(mawk_state_t *MAWK, register PTR p, unsigned old_size, unsigned new_size); | ^~~~~~~~ /usr/include/libmawk/zmalloc.h:24:55: error: expected primary-expression before ‘unsigned’ 24 | PTR mawk_zrealloc(mawk_state_t *MAWK, register PTR p, unsigned old_size, unsigned new_size); | ^~~~~~~~ /usr/include/libmawk/zmalloc.h:24:74: error: expected primary-expression before ‘unsigned’ 24 | PTR mawk_zrealloc(mawk_state_t *MAWK, register PTR p, unsigned old_size, unsigned new_size); | ^~~~~~~~ /usr/include/libmawk/zmalloc.h:25:22: error: ‘mawk_state_t’ was not declared in this scope 25 | char *mawk_zstrclone(mawk_state_t *, const char *s); | ^~~~~~~~~~~~ /usr/include/libmawk/zmalloc.h:25:36: error: expected primary-expression before ‘,’ token 25 | char *mawk_zstrclone(mawk_state_t *, const char *s); | ^ /usr/include/libmawk/zmalloc.h:25:38: error: expected primary-expression before ‘const’ 25 | char *mawk_zstrclone(mawk_state_t *, const char *s); | ^~~~~ /usr/include/libmawk/memory.h:23:1: error: ‘mawk_string_t’ does not name a type 23 | mawk_string_t *mawk_new_STRING(mawk_state_t *, const char *); | ^~~~~~~~~~~~~ /usr/include/libmawk/memory.h:24:1: error: ‘mawk_string_t’ does not name a type 24 | mawk_string_t *mawk_new_STRING0(mawk_state_t *, unsigned); | ^~~~~~~~~~~~~ /usr/include/libmawk/memory.h:54:19: error: ‘mawk_state_t’ was not declared in this scope 54 | void *mawk_malloc(mawk_state_t *MAWK, int size); | ^~~~~~~~~~~~ /usr/include/libmawk/memory.h:54:33: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 54 | void *mawk_malloc(mawk_state_t *MAWK, int size); | ^~~~ | MAWK_H /usr/include/libmawk/memory.h:54:39: error: expected primary-expression before ‘int’ 54 | void *mawk_malloc(mawk_state_t *MAWK, int size); | ^~~ /usr/include/libmawk/memory.h:55:20: error: ‘mawk_state_t’ was not declared in this scope 55 | void *mawk_realloc(mawk_state_t *MAWK, void *ptr, int size); | ^~~~~~~~~~~~ /usr/include/libmawk/memory.h:55:34: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 55 | void *mawk_realloc(mawk_state_t *MAWK, void *ptr, int size); | ^~~~ | MAWK_H /usr/include/libmawk/memory.h:55:40: error: expected primary-expression before ‘void’ 55 | void *mawk_realloc(mawk_state_t *MAWK, void *ptr, int size); | ^~~~ /usr/include/libmawk/memory.h:55:51: error: expected primary-expression before ‘int’ 55 | void *mawk_realloc(mawk_state_t *MAWK, void *ptr, int size); | ^~~ /usr/include/libmawk/memory.h:56:6: error: variable or field ‘mawk_free’ declared void 56 | void mawk_free(mawk_state_t *MAWK, void *ptr); | ^~~~~~~~~ /usr/include/libmawk/memory.h:56:16: error: ‘mawk_state_t’ was not declared in this scope 56 | void mawk_free(mawk_state_t *MAWK, void *ptr); | ^~~~~~~~~~~~ /usr/include/libmawk/memory.h:56:30: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 56 | void mawk_free(mawk_state_t *MAWK, void *ptr); | ^~~~ | MAWK_H /usr/include/libmawk/memory.h:56:36: error: expected primary-expression before ‘void’ 56 | void mawk_free(mawk_state_t *MAWK, void *ptr); | ^~~~ /usr/include/libmawk/memory.h:57:6: error: variable or field ‘mawk_free_all’ declared void 57 | void mawk_free_all(mawk_state_t *MAWK); | ^~~~~~~~~~~~~ /usr/include/libmawk/memory.h:57:20: error: ‘mawk_state_t’ was not declared in this scope 57 | void mawk_free_all(mawk_state_t *MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/memory.h:57:34: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 57 | void mawk_free_all(mawk_state_t *MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/memory.h:58:19: error: ‘mawk_state_t’ was not declared in this scope 58 | char *mawk_strdup(mawk_state_t *MAWK, const char *s); | ^~~~~~~~~~~~ /usr/include/libmawk/memory.h:58:33: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 58 | char *mawk_strdup(mawk_state_t *MAWK, const char *s); | ^~~~ | MAWK_H /usr/include/libmawk/memory.h:58:39: error: expected primary-expression before ‘const’ 58 | char *mawk_strdup(mawk_state_t *MAWK, const char *s); | ^~~~~ /usr/include/libmawk/code.h:59:6: error: variable or field ‘mawk_xcode2’ declared void 59 | void mawk_xcode2(mawk_state_t *, int, PTR); | ^~~~~~~~~~~ /usr/include/libmawk/code.h:59:18: error: ‘mawk_state_t’ was not declared in this scope 59 | void mawk_xcode2(mawk_state_t *, int, PTR); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:59:32: error: expected primary-expression before ‘,’ token 59 | void mawk_xcode2(mawk_state_t *, int, PTR); | ^ /usr/include/libmawk/code.h:59:34: error: expected primary-expression before ‘int’ 59 | void mawk_xcode2(mawk_state_t *, int, PTR); | ^~~ /usr/include/libmawk/code.h:59:42: error: expected primary-expression before ‘)’ token 59 | void mawk_xcode2(mawk_state_t *, int, PTR); | ^ /usr/include/libmawk/code.h:60:6: error: variable or field ‘mawk_code2op’ declared void 60 | void mawk_code2op(mawk_state_t *, int, int); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:60:19: error: ‘mawk_state_t’ was not declared in this scope 60 | void mawk_code2op(mawk_state_t *, int, int); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:60:33: error: expected primary-expression before ‘,’ token 60 | void mawk_code2op(mawk_state_t *, int, int); | ^ /usr/include/libmawk/code.h:60:35: error: expected primary-expression before ‘int’ 60 | void mawk_code2op(mawk_state_t *, int, int); | ^~~ /usr/include/libmawk/code.h:60:40: error: expected primary-expression before ‘int’ 60 | void mawk_code2op(mawk_state_t *, int, int); | ^~~ /usr/include/libmawk/code.h:61:1: error: ‘INST’ does not name a type 61 | INST *mawk_code_shrink(mawk_state_t *, CODEBLOCK *, unsigned *); | ^~~~ /usr/include/libmawk/code.h:62:6: error: variable or field ‘mawk_code_reset_size’ declared void 62 | void mawk_code_reset_size(mawk_state_t *MAWK, int size); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/code.h:62:27: error: ‘mawk_state_t’ was not declared in this scope 62 | void mawk_code_reset_size(mawk_state_t *MAWK, int size); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:62:41: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 62 | void mawk_code_reset_size(mawk_state_t *MAWK, int size); | ^~~~ | MAWK_H /usr/include/libmawk/code.h:62:47: error: expected primary-expression before ‘int’ 62 | void mawk_code_reset_size(mawk_state_t *MAWK, int size); | ^~~ /usr/include/libmawk/code.h:63:6: error: variable or field ‘mawk_code_grow’ declared void 63 | void mawk_code_grow(mawk_state_t * MAWK); | ^~~~~~~~~~~~~~ /usr/include/libmawk/code.h:63:21: error: ‘mawk_state_t’ was not declared in this scope 63 | void mawk_code_grow(mawk_state_t * MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:63:36: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 63 | void mawk_code_grow(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/code.h:64:6: error: variable or field ‘mawk_set_code’ declared void 64 | void mawk_set_code(mawk_state_t *); | ^~~~~~~~~~~~~ /usr/include/libmawk/code.h:64:20: error: ‘mawk_state_t’ was not declared in this scope 64 | void mawk_set_code(mawk_state_t *); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:64:34: error: expected primary-expression before ‘)’ token 64 | void mawk_set_code(mawk_state_t *); | ^ /usr/include/libmawk/code.h:65:6: error: variable or field ‘mawk_be_setup’ declared void 65 | void mawk_be_setup(mawk_state_t *, int); | ^~~~~~~~~~~~~ /usr/include/libmawk/code.h:65:20: error: ‘mawk_state_t’ was not declared in this scope 65 | void mawk_be_setup(mawk_state_t *, int); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:65:34: error: expected primary-expression before ‘,’ token 65 | void mawk_be_setup(mawk_state_t *, int); | ^ /usr/include/libmawk/code.h:65:36: error: expected primary-expression before ‘int’ 65 | void mawk_be_setup(mawk_state_t *, int); | ^~~ /usr/include/libmawk/code.h:66:6: error: variable or field ‘mawk_dump_code’ declared void 66 | void mawk_dump_code(mawk_state_t *); /* dump code in a format dictated by MAKW->dump_code_flag */ | ^~~~~~~~~~~~~~ /usr/include/libmawk/code.h:66:21: error: ‘mawk_state_t’ was not declared in this scope 66 | void mawk_dump_code(mawk_state_t *); /* dump code in a format dictated by MAKW->dump_code_flag */ | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:66:35: error: expected primary-expression before ‘)’ token 66 | void mawk_dump_code(mawk_state_t *); /* dump code in a format dictated by MAKW->dump_code_flag */ | ^ /usr/include/libmawk/code.h:67:6: error: variable or field ‘mawk_dump_code_text’ declared void 67 | void mawk_dump_code_text(mawk_state_t *); | ^~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/code.h:67:26: error: ‘mawk_state_t’ was not declared in this scope 67 | void mawk_dump_code_text(mawk_state_t *); | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:67:40: error: expected primary-expression before ‘)’ token 67 | void mawk_dump_code_text(mawk_state_t *); | ^ /usr/include/libmawk/code.h:68:6: error: variable or field ‘mawk_dump_sym_text’ declared void 68 | void mawk_dump_sym_text(mawk_state_t *); /* dump symbol table in text (in binary it's automatically included) */ | ^~~~~~~~~~~~~~~~~~ /usr/include/libmawk/code.h:68:25: error: ‘mawk_state_t’ was not declared in this scope 68 | void mawk_dump_sym_text(mawk_state_t *); /* dump symbol table in text (in binary it's automatically included) */ | ^~~~~~~~~~~~ /usr/include/libmawk/code.h:68:39: error: expected primary-expression before ‘)’ token 68 | void mawk_dump_sym_text(mawk_state_t *); /* dump symbol table in text (in binary it's automatically included) */ | ^ /usr/include/libmawk/code.h:70:31: error: ‘PF_CP’ was not declared in this scope 70 | const char *mawk_find_bi_name(PF_CP); | ^~~~~ /usr/include/libmawk/code.h:71:1: error: ‘PF_CP’ does not name a type 71 | PF_CP mawk_find_bi_ptr(const char *name); | ^~~~~ In file included from /tmp/WyLH4xxJDX/dump1.h:20: /usr/include/libmawk/execute.h:16:32: error: ‘mawk_state_t’ was not declared in this scope 16 | mawk_exec_result_t mawk_resume(mawk_state_t *MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/execute.h:16:46: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 16 | mawk_exec_result_t mawk_resume(mawk_state_t *MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/execute.h:18:30: error: ‘mawk_state_t’ was not declared in this scope 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~~~~~~~~~~ /usr/include/libmawk/execute.h:18:45: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~~ | MAWK_H /usr/include/libmawk/execute.h:18:51: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/execute.h:18:60: error: ‘fbp’ was not declared in this scope 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~ /usr/include/libmawk/execute.h:18:65: error: expected primary-expression before ‘int’ 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~ /usr/include/libmawk/execute.h:18:77: error: ‘mawk_cell_t’ was not declared in this scope; did you mean ‘mawk_call’? 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~~~~~~~~~ | mawk_call /usr/include/libmawk/execute.h:18:90: error: ‘res’ was not declared in this scope 18 | mawk_exec_result_t mawk_call(mawk_state_t * MAWK, FBLOCK * fbp, int a_args, mawk_cell_t *res); | ^~~ /usr/include/libmawk/execute.h:19:15: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 19 | int mawk_test(mawk_state_t *MAWK, register mawk_cell_t *cp); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/execute.h:19:29: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 19 | int mawk_test(mawk_state_t *MAWK, register mawk_cell_t *cp); | ^~~~ | MAWK_H /usr/include/libmawk/execute.h:19:35: error: expected primary-expression before ‘register’ 19 | int mawk_test(mawk_state_t *MAWK, register mawk_cell_t *cp); | ^~~~~~~~ In file included from /tmp/WyLH4xxJDX/dump1.h:21: /usr/include/libmawk/files.h:30:1: error: ‘FILE_NODE’ does not name a type; did you mean ‘FILENAME’? 30 | FILE_NODE *mawk_file_find(mawk_state_t *MAWK, mawk_string_t *name, int type, int create); | ^~~~~~~~~ | FILENAME /usr/include/libmawk/files.h:31:1: error: ‘FILE_NODE’ does not name a type; did you mean ‘FILENAME’? 31 | FILE_NODE *mawk_file_find_(mawk_state_t *MAWK, const char *name, int type, int create); | ^~~~~~~~~ | FILENAME /usr/include/libmawk/files.h:34:21: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 34 | int mawk_file_close(mawk_state_t *, mawk_string_t *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/files.h:34:35: error: expected primary-expression before ‘,’ token 34 | int mawk_file_close(mawk_state_t *, mawk_string_t *); | ^ /usr/include/libmawk/files.h:34:37: error: ‘mawk_string_t’ was not declared in this scope; did you mean ‘mawk_strdup_’? 34 | int mawk_file_close(mawk_state_t *, mawk_string_t *); | ^~~~~~~~~~~~~ | mawk_strdup_ /usr/include/libmawk/files.h:34:52: error: expected primary-expression before ‘)’ token 34 | int mawk_file_close(mawk_state_t *, mawk_string_t *); | ^ /usr/include/libmawk/files.h:35:22: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 35 | int mawk_file_close_(mawk_state_t *MAWK, FILE_NODE *f); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/files.h:35:36: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 35 | int mawk_file_close_(mawk_state_t *MAWK, FILE_NODE *f); | ^~~~ | MAWK_H /usr/include/libmawk/files.h:35:42: error: ‘FILE_NODE’ was not declared in this scope; did you mean ‘FILENAME’? 35 | int mawk_file_close_(mawk_state_t *MAWK, FILE_NODE *f); | ^~~~~~~~~ | FILENAME /usr/include/libmawk/files.h:35:53: error: ‘f’ was not declared in this scope 35 | int mawk_file_close_(mawk_state_t *MAWK, FILE_NODE *f); | ^ /usr/include/libmawk/files.h:36:21: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 36 | int mawk_file_flush(mawk_state_t *, mawk_string_t *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/files.h:36:35: error: expected primary-expression before ‘,’ token 36 | int mawk_file_flush(mawk_state_t *, mawk_string_t *); | ^ /usr/include/libmawk/files.h:36:37: error: ‘mawk_string_t’ was not declared in this scope; did you mean ‘mawk_strdup_’? 36 | int mawk_file_flush(mawk_state_t *, mawk_string_t *); | ^~~~~~~~~~~~~ | mawk_strdup_ /usr/include/libmawk/files.h:36:52: error: expected primary-expression before ‘)’ token 36 | int mawk_file_flush(mawk_state_t *, mawk_string_t *); | ^ /usr/include/libmawk/files.h:37:6: error: variable or field ‘mawk_flush_all_output’ declared void 37 | void mawk_flush_all_output(mawk_state_t * MAWK); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/files.h:37:28: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 37 | void mawk_flush_all_output(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/files.h:37:43: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 37 | void mawk_flush_all_output(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/files.h:45:1: error: ‘FILE_NODE’ does not name a type; did you mean ‘FILENAME’? 45 | FILE_NODE *mawk_file_register_nofin(mawk_state_t *MAWK, const char *name, int type, mawk_vio_t *vf); | ^~~~~~~~~ | FILENAME /usr/include/libmawk/files.h:46:1: error: ‘FILE_NODE’ does not name a type; did you mean ‘FILENAME’? 46 | FILE_NODE *mawk_file_register(mawk_state_t *MAWK, const char *name, int type, mawk_vio_t *vf); | ^~~~~~~~~ | FILENAME /usr/include/libmawk/files.h:50:19: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 50 | int mawk_wait_for(mawk_state_t *, int); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/files.h:50:33: error: expected primary-expression before ‘,’ token 50 | int mawk_wait_for(mawk_state_t *, int); | ^ /usr/include/libmawk/files.h:50:35: error: expected primary-expression before ‘int’ 50 | int mawk_wait_for(mawk_state_t *, int); | ^~~ /usr/include/libmawk/files.h:54:6: error: variable or field ‘mawk_file_uninit’ declared void 54 | void mawk_file_uninit(mawk_state_t * MAWK); | ^~~~~~~~~~~~~~~~ /usr/include/libmawk/files.h:54:23: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 54 | void mawk_file_uninit(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/files.h:54:38: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 54 | void mawk_file_uninit(mawk_state_t * MAWK); | ^~~~ | MAWK_H In file included from /usr/include/libmawk/init.h:20, from /tmp/WyLH4xxJDX/dump1.h:22: /usr/include/libmawk/symtype.h:34:6: error: variable or field ‘mawk_add_to_fdump_list’ declared void 34 | void mawk_add_to_fdump_list(mawk_state_t *, FBLOCK *); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:34:29: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 34 | void mawk_add_to_fdump_list(mawk_state_t *, FBLOCK *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:34:43: error: expected primary-expression before ‘,’ token 34 | void mawk_add_to_fdump_list(mawk_state_t *, FBLOCK *); | ^ /usr/include/libmawk/symtype.h:34:45: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 34 | void mawk_add_to_fdump_list(mawk_state_t *, FBLOCK *); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:34:53: error: expected primary-expression before ‘)’ token 34 | void mawk_add_to_fdump_list(mawk_state_t *, FBLOCK *); | ^ /usr/include/libmawk/symtype.h:35:16: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 35 | int mawk_fdump(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:35:31: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 35 | int mawk_fdump(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/symtype.h:72:9: error: ‘SYMTAB’ does not name a type 72 | SYMTAB *sym_p; /* if type is ST_NONE */ | ^~~~~~ /usr/include/libmawk/symtype.h:82:9: error: ‘FBLOCK’ does not name a type; did you mean ‘ZBLOCKSZ’? 82 | FBLOCK *callee; | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:85:9: error: ‘FBLOCK’ does not name a type; did you mean ‘ZBLOCKSZ’? 85 | FBLOCK *call; /* only used if call_scope == SCOPE_FUNCT */ | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:86:9: error: ‘INST’ does not name a type 86 | INST *call_start; /* computed later as code may be moved */ | ^~~~ /usr/include/libmawk/symtype.h:92:8: error: ‘FCALL_REC’ does not name a type; did you mean ‘CA_REC’? 92 | extern FCALL_REC *resolve_list; | ^~~~~~~~~ | CA_REC /usr/include/libmawk/symtype.h:94:6: error: variable or field ‘mawk_resolve_fcalls’ declared void 94 | void mawk_resolve_fcalls(mawk_state_t * MAWK); | ^~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:94:26: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 94 | void mawk_resolve_fcalls(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:94:41: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 94 | void mawk_resolve_fcalls(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/symtype.h:95:6: error: variable or field ‘mawk_check_fcall’ declared void 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:95:23: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:95:37: error: expected primary-expression before ‘,’ token 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:95:39: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:95:47: error: expected primary-expression before ‘,’ token 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:95:49: error: expected primary-expression before ‘int’ 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~ /usr/include/libmawk/symtype.h:95:54: error: expected primary-expression before ‘int’ 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~ /usr/include/libmawk/symtype.h:95:59: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:95:67: error: expected primary-expression before ‘,’ token 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:95:76: error: expected primary-expression before ‘*’ token 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:95:77: error: expected primary-expression before ‘,’ token 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:95:79: error: expected primary-expression before ‘unsigned’ 95 | void mawk_check_fcall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~~~ /usr/include/libmawk/symtype.h:96:6: error: variable or field ‘mawk_check_ccall’ declared void 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:96:23: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:96:37: error: expected primary-expression before ‘,’ token 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:96:39: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:96:47: error: expected primary-expression before ‘,’ token 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:96:49: error: expected primary-expression before ‘int’ 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~ /usr/include/libmawk/symtype.h:96:54: error: expected primary-expression before ‘int’ 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~ /usr/include/libmawk/symtype.h:96:59: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:96:67: error: expected primary-expression before ‘,’ token 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:96:76: error: expected primary-expression before ‘*’ token 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:96:77: error: expected primary-expression before ‘,’ token 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^ /usr/include/libmawk/symtype.h:96:79: error: expected primary-expression before ‘unsigned’ 96 | void mawk_check_ccall(mawk_state_t *, FBLOCK *, int, int, FBLOCK *, CA_REC *, unsigned); | ^~~~~~~~ /usr/include/libmawk/symtype.h:97:6: error: variable or field ‘mawk_relocate_resolve_list’ declared void 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:97:33: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:97:47: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~~ | MAWK_H /usr/include/libmawk/symtype.h:97:53: error: expected primary-expression before ‘int’ 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~ /usr/include/libmawk/symtype.h:97:58: error: expected primary-expression before ‘int’ 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~ /usr/include/libmawk/symtype.h:97:63: error: ‘FBLOCK’ was not declared in this scope; did you mean ‘ZBLOCKSZ’? 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~~~~ | ZBLOCKSZ /usr/include/libmawk/symtype.h:97:71: error: expected primary-expression before ‘,’ token 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^ /usr/include/libmawk/symtype.h:97:73: error: expected primary-expression before ‘int’ 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~ /usr/include/libmawk/symtype.h:97:78: error: expected primary-expression before ‘unsigned’ 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~~~~~~ /usr/include/libmawk/symtype.h:97:88: error: expected primary-expression before ‘int’ 97 | void mawk_relocate_resolve_list(mawk_state_t *MAWK, int, int, FBLOCK *, int, unsigned, int); | ^~~ /usr/include/libmawk/symtype.h:103:1: error: ‘SYMTAB’ does not name a type 103 | SYMTAB *mawk_insert(mawk_state_t *, const char *name); | ^~~~~~ /usr/include/libmawk/symtype.h:110:1: error: ‘SYMTAB’ does not name a type 110 | SYMTAB *mawk_find(mawk_state_t *, const char *, int); | ^~~~~~ /usr/include/libmawk/symtype.h:112:31: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 112 | const char *mawk_reverse_find(mawk_state_t *, int, PTR); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:112:45: error: expected primary-expression before ‘,’ token 112 | const char *mawk_reverse_find(mawk_state_t *, int, PTR); | ^ /usr/include/libmawk/symtype.h:112:47: error: expected primary-expression before ‘int’ 112 | const char *mawk_reverse_find(mawk_state_t *, int, PTR); | ^~~ /usr/include/libmawk/symtype.h:112:55: error: expected primary-expression before ‘)’ token 112 | const char *mawk_reverse_find(mawk_state_t *, int, PTR); | ^ /usr/include/libmawk/symtype.h:113:1: error: ‘SYMTAB’ does not name a type 113 | SYMTAB *mawk_save_id(mawk_state_t * MAWK, const char *); | ^~~~~~ /usr/include/libmawk/symtype.h:114:6: error: variable or field ‘mawk_restore_ids’ declared void 114 | void mawk_restore_ids(mawk_state_t * MAWK); | ^~~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:114:23: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 114 | void mawk_restore_ids(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:114:38: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 114 | void mawk_restore_ids(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/symtype.h:117:6: error: variable or field ‘mawk_type_error’ declared void 117 | void mawk_type_error(mawk_state_t *, SYMTAB *); | ^~~~~~~~~~~~~~~ /usr/include/libmawk/symtype.h:117:22: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 117 | void mawk_type_error(mawk_state_t *, SYMTAB *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/symtype.h:117:36: error: expected primary-expression before ‘,’ token 117 | void mawk_type_error(mawk_state_t *, SYMTAB *); | ^ /usr/include/libmawk/symtype.h:117:38: error: ‘SYMTAB’ was not declared in this scope 117 | void mawk_type_error(mawk_state_t *, SYMTAB *); | ^~~~~~ /usr/include/libmawk/symtype.h:117:46: error: expected primary-expression before ‘)’ token 117 | void mawk_type_error(mawk_state_t *, SYMTAB *); | ^ /usr/include/libmawk/init.h:29:1: error: ‘mawk_state_t’ does not name a type 29 | mawk_state_t *mawk_initialize(int argc, char **argv, mawk_vio_init_t vio_init); | ^~~~~~~~~~~~ /usr/include/libmawk/init.h:32:1: error: ‘mawk_state_t’ does not name a type 32 | mawk_state_t *mawk_initialize_alloc(void); | ^~~~~~~~~~~~ /usr/include/libmawk/init.h:37:1: error: ‘mawk_state_t’ does not name a type 37 | mawk_state_t *mawk_initialize_argv(mawk_state_t *MAWK, int argc, char **argv); | ^~~~~~~~~~~~ /usr/include/libmawk/init.h:40:6: error: variable or field ‘code_init’ declared void 40 | void code_init(mawk_state_t *); | ^~~~~~~~~ /usr/include/libmawk/init.h:40:16: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 40 | void code_init(mawk_state_t *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:40:30: error: expected primary-expression before ‘)’ token 40 | void code_init(mawk_state_t *); | ^ /usr/include/libmawk/init.h:44:6: error: variable or field ‘mawk_uninitialize’ declared void 44 | void mawk_uninitialize(mawk_state_t * m); | ^~~~~~~~~~~~~~~~~ /usr/include/libmawk/init.h:44:24: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 44 | void mawk_uninitialize(mawk_state_t * m); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:44:39: error: ‘m’ was not declared in this scope 44 | void mawk_uninitialize(mawk_state_t * m); | ^ /usr/include/libmawk/init.h:47:20: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 47 | int mawk_scan_init(mawk_state_t *, char *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:47:34: error: expected primary-expression before ‘,’ token 47 | int mawk_scan_init(mawk_state_t *, char *); | ^ /usr/include/libmawk/init.h:47:36: error: expected primary-expression before ‘char’ 47 | int mawk_scan_init(mawk_state_t *, char *); | ^~~~ /usr/include/libmawk/init.h:48:6: error: variable or field ‘bi_vars_init’ declared void 48 | void bi_vars_init(mawk_state_t * MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/init.h:48:19: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 48 | void bi_vars_init(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:48:34: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 48 | void bi_vars_init(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/init.h:49:6: error: variable or field ‘bi_funct_init’ declared void 49 | void bi_funct_init(mawk_state_t *); | ^~~~~~~~~~~~~ /usr/include/libmawk/init.h:49:20: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 49 | void bi_funct_init(mawk_state_t *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:49:34: error: expected primary-expression before ‘)’ token 49 | void bi_funct_init(mawk_state_t *); | ^ /usr/include/libmawk/init.h:51:6: error: variable or field ‘mawk_kw_init’ declared void 51 | void mawk_kw_init(mawk_state_t * MAWK); | ^~~~~~~~~~~~ /usr/include/libmawk/init.h:51:19: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 51 | void mawk_kw_init(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:51:34: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 51 | void mawk_kw_init(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/init.h:55:6: error: variable or field ‘mawk_field_init’ declared void 55 | void mawk_field_init(mawk_state_t *); | ^~~~~~~~~~~~~~~ /usr/include/libmawk/init.h:55:22: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 55 | void mawk_field_init(mawk_state_t *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:55:36: error: expected primary-expression before ‘)’ token 55 | void mawk_field_init(mawk_state_t *); | ^ /usr/include/libmawk/init.h:57:6: error: variable or field ‘mawk_set_stderr’ declared void 57 | void mawk_set_stderr(mawk_state_t * MAWK); | ^~~~~~~~~~~~~~~ /usr/include/libmawk/init.h:57:22: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 57 | void mawk_set_stderr(mawk_state_t * MAWK); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:57:37: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 57 | void mawk_set_stderr(mawk_state_t * MAWK); | ^~~~ | MAWK_H /usr/include/libmawk/init.h:58:6: error: variable or field ‘mawk_append_input_file’ declared void 58 | void mawk_append_input_file(mawk_state_t * MAWK, const char *fn, int bytecode); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/libmawk/init.h:58:29: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 58 | void mawk_append_input_file(mawk_state_t * MAWK, const char *fn, int bytecode); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:58:44: error: ‘MAWK’ was not declared in this scope; did you mean ‘MAWK_H’? 58 | void mawk_append_input_file(mawk_state_t * MAWK, const char *fn, int bytecode); | ^~~~ | MAWK_H /usr/include/libmawk/init.h:58:50: error: expected primary-expression before ‘const’ 58 | void mawk_append_input_file(mawk_state_t * MAWK, const char *fn, int bytecode); | ^~~~~ /usr/include/libmawk/init.h:58:66: error: expected primary-expression before ‘int’ 58 | void mawk_append_input_file(mawk_state_t * MAWK, const char *fn, int bytecode); | ^~~ /usr/include/libmawk/init.h:60:28: error: ‘mawk_state_t’ was not declared in this scope; did you mean ‘mawk_test’? 60 | int mawk_is_cmdline_assign(mawk_state_t *, char *); | ^~~~~~~~~~~~ | mawk_test /usr/include/libmawk/init.h:60:42: error: expected primary-expression before ‘,’ token 60 | int mawk_is_cmdline_assign(mawk_state_t *, char *); | ^ /usr/include/libmawk/init.h:60:44: error: expected primary-expression before ‘char’ 60 | int mawk_is_cmdline_assign(mawk_state_t *, char *); | ^~~~ In file included from /usr/include/c++/12/cstdlib:75, from /usr/include/c++/12/stdlib.h:36, from /usr/include/libmawk/mawk.h:21, from /usr/include/libmawk/libmawk.h:2, from /tmp/WyLH4xxJDX/dump1.h:23: /usr/include/stdlib.h:118:15: error: conflicting declaration of ‘double strtod(const char*, char**)’ with ‘C’ linkage 118 | extern double strtod (const char *__restrict __nptr, | ^~~~~~ In file included from /usr/include/libmawk/zmalloc.h:20: /usr/include/libmawk/nstd.h:19:8: note: previous declaration with ‘C++’ linkage 19 | double strtod(const char *, char **); | ^~~~~~ /usr/include/stdlib.h:654:14: error: conflicting declaration of ‘char* getenv(const char*)’ with ‘C’ linkage 654 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ /usr/include/libmawk/nstd.h:29:7: note: previous declaration with ‘C++’ linkage 29 | char *getenv(const char *); | ^~~~~~ In file included from /tmp/WyLH4xxJDX/dump1.h:29: /usr/include/libmawk/num_int.h:2:13: error: conflicting declaration ‘typedef int mawk_num_t’ 2 | typedef int mawk_num_t; | ^~~~~~~~~~ In file included from /tmp/WyLH4xxJDX/dump1.h:28: /usr/include/libmawk/num_double.h:2:16: note: previous declaration as ‘typedef double mawk_num_t’ 2 | typedef double mawk_num_t; | ^~~~~~~~~~ In file included from /tmp/WyLH4xxJDX/dump1.h:37: /usr/include/libmawk/zfifo.h:11:8: error: redefinition of ‘struct mawk_zfifo_block_s’ 11 | struct mawk_zfifo_block_s { | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/libmawk/vio_fifo.h:6, from /usr/include/libmawk/libmawk.h:9: /usr/include/libmawk/zfifo.h:11:8: note: previous definition of ‘struct mawk_zfifo_block_s’ 11 | struct mawk_zfifo_block_s { | ^~~~~~~~~~~~~~~~~~ /usr/include/libmawk/zfifo.h:24:3: error: conflicting declaration ‘typedef struct mawk_zfifo_t mawk_zfifo_t’ 24 | } mawk_zfifo_t; | ^~~~~~~~~~~~ /usr/include/libmawk/zfifo.h:24:3: note: previous declaration as ‘typedef struct mawk_zfifo_t mawk_zfifo_t’ 24 | } mawk_zfifo_t; | ^~~~~~~~~~~~ /tmp/WyLH4xxJDX/dump1.h:54:3: error: ‘mawk_fdump’ does not name a type 54 | mawk_fdump* tmp_add_class_12; | ^~~~~~~~~~