Temporary header file '/tmp/3JHYn8IqrC/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/fomalib.h" #include "/usr/include/fomalibconf.h" // add classes _G_fpos64_t* tmp_add_class_0; _G_fpos_t* tmp_add_class_1; _IO_cookie_io_functions_t* tmp_add_class_2; apply_handle* tmp_add_class_3; apply_med_handle* tmp_add_class_4; defined_functions* tmp_add_class_5; defined_networks* tmp_add_class_6; defined_quantifiers* tmp_add_class_7; fsm* tmp_add_class_8; fsm_construct_handle* tmp_add_class_9; fsm_read_handle* tmp_add_class_10; fsm_sigma_hash* tmp_add_class_11; fsm_sigma_list* tmp_add_class_12; fsm_state* tmp_add_class_13; fsm_state_list* tmp_add_class_14; fsm_trans_list* tmp_add_class_15; fsm_trie_handle* tmp_add_class_16; fsmcontexts* tmp_add_class_17; fsmrules* tmp_add_class_18; gzFile_s* tmp_add_class_19; gz_header_s* tmp_add_class_20; medlookup* tmp_add_class_21; rewrite_set* tmp_add_class_22; sh_handle* tmp_add_class_23; sh_hashtable* tmp_add_class_24; sigma* tmp_add_class_25; state_array* tmp_add_class_26; trie_hash* tmp_add_class_27; trie_states* tmp_add_class_28; z_stream_s* tmp_add_class_29; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/3JHYn8IqrC/dump1.h" In file included from /tmp/3JHYn8IqrC/dump1.h:13: /usr/include/fomalibconf.h:18:8: error: redefinition of ‘struct state_array’ 18 | struct state_array { | ^~~~~~~~~~~ In file included from /usr/include/fomalib.h:194, from /tmp/3JHYn8IqrC/dump1.h:12: /usr/include/fomalibconf.h:18:8: note: previous definition of ‘struct state_array’ 18 | struct state_array { | ^~~~~~~~~~~ /usr/include/fomalibconf.h:22:8: error: redefinition of ‘struct fsm_trans_list’ 22 | struct fsm_trans_list { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:22:8: note: previous definition of ‘struct fsm_trans_list’ 22 | struct fsm_trans_list { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:29:8: error: redefinition of ‘struct fsm_state_list’ 29 | struct fsm_state_list { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:29:8: note: previous definition of ‘struct fsm_state_list’ 29 | struct fsm_state_list { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:38:8: error: redefinition of ‘struct fsm_sigma_list’ 38 | struct fsm_sigma_list { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:38:8: note: previous definition of ‘struct fsm_sigma_list’ 38 | struct fsm_sigma_list { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:42:8: error: redefinition of ‘struct fsm_sigma_hash’ 42 | struct fsm_sigma_hash { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:42:8: note: previous definition of ‘struct fsm_sigma_hash’ 42 | struct fsm_sigma_hash { | ^~~~~~~~~~~~~~ /usr/include/fomalibconf.h:50:8: error: redefinition of ‘struct fsm_construct_handle’ 50 | struct fsm_construct_handle { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/fomalibconf.h:50:8: note: previous definition of ‘struct fsm_construct_handle’ 50 | struct fsm_construct_handle { | ^~~~~~~~~~~~~~~~~~~~ /usr/include/fomalibconf.h:64:8: error: redefinition of ‘struct apply_med_handle’ 64 | struct apply_med_handle { | ^~~~~~~~~~~~~~~~ /usr/include/fomalibconf.h:64:8: note: previous definition of ‘struct apply_med_handle’ 64 | struct apply_med_handle { | ^~~~~~~~~~~~~~~~ /usr/include/fomalibconf.h:114:8: error: redefinition of ‘struct apply_handle’ 114 | struct apply_handle { | ^~~~~~~~~~~~ /usr/include/fomalibconf.h:114:8: note: previous definition of ‘struct apply_handle’ 114 | struct apply_handle { | ^~~~~~~~~~~~