Temporary header file '/tmp/tCI9ZDYiJ2/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/stdint.h" #include "/usr/include/libsmpp34/smpp34.h" #include "/usr/include/libsmpp34/smpp34_heap.h" #include "/usr/include/libsmpp34/smpp34_params.h" #include "/usr/include/libsmpp34/smpp34_structs.h" // add classes alert_notification_t* tmp_add_class_0; bind_receiver_resp_t* tmp_add_class_1; bind_receiver_t* tmp_add_class_2; bind_transceiver_resp_t* tmp_add_class_3; bind_transceiver_t* tmp_add_class_4; bind_transmitter_resp_t* tmp_add_class_5; bind_transmitter_t* tmp_add_class_6; cancel_sm_resp_t* tmp_add_class_7; cancel_sm_t* tmp_add_class_8; dad_t* tmp_add_class_9; data_sm_resp_t* tmp_add_class_10; data_sm_t* tmp_add_class_11; deliver_sm_resp_t* tmp_add_class_12; deliver_sm_t* tmp_add_class_13; enquire_link_resp_t* tmp_add_class_14; enquire_link_t* tmp_add_class_15; generic_nack_t* tmp_add_class_16; outbind_t* tmp_add_class_17; query_sm_resp_t* tmp_add_class_18; query_sm_t* tmp_add_class_19; replace_sm_resp_t* tmp_add_class_20; replace_sm_t* tmp_add_class_21; smpp34_memory_functions* tmp_add_class_22; submit_multi_resp_t* tmp_add_class_23; submit_multi_t* tmp_add_class_24; submit_sm_resp_t* tmp_add_class_25; submit_sm_t* tmp_add_class_26; tlv_t* tmp_add_class_27; udad_t* tmp_add_class_28; unbind_resp_t* tmp_add_class_29; unbind_t* tmp_add_class_30; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/tCI9ZDYiJ2/dump1.h" In file included from /tmp/tCI9ZDYiJ2/dump1.h:15: /usr/include/libsmpp34/smpp34_params.h:26:19: error: ‘udad_t’ was not declared in this scope 26 | int destroy_udad( udad_t *sourceList ); | ^~~~~~ /usr/include/libsmpp34/smpp34_params.h:26:27: error: ‘sourceList’ was not declared in this scope 26 | int destroy_udad( udad_t *sourceList ); | ^~~~~~~~~~ /usr/include/libsmpp34/smpp34_params.h:27:17: error: ‘udad_t’ was not declared in this scope 27 | int build_udad( udad_t **dest, udad_t *source ); | ^~~~~~ /usr/include/libsmpp34/smpp34_params.h:27:26: error: ‘dest’ was not declared in this scope 27 | int build_udad( udad_t **dest, udad_t *source ); | ^~~~ /usr/include/libsmpp34/smpp34_params.h:27:32: error: ‘udad_t’ was not declared in this scope 27 | int build_udad( udad_t **dest, udad_t *source ); | ^~~~~~ /usr/include/libsmpp34/smpp34_params.h:27:40: error: ‘source’ was not declared in this scope 27 | int build_udad( udad_t **dest, udad_t *source ); | ^~~~~~ /usr/include/libsmpp34/smpp34_params.h:29:18: error: ‘dad_t’ was not declared in this scope 29 | int destroy_dad( dad_t *sourceList ); | ^~~~~ /usr/include/libsmpp34/smpp34_params.h:29:25: error: ‘sourceList’ was not declared in this scope 29 | int destroy_dad( dad_t *sourceList ); | ^~~~~~~~~~ /usr/include/libsmpp34/smpp34_params.h:30:16: error: ‘dad_t’ was not declared in this scope 30 | int build_dad( dad_t **dest, dad_t *source ); | ^~~~~ /usr/include/libsmpp34/smpp34_params.h:30:24: error: ‘dest’ was not declared in this scope 30 | int build_dad( dad_t **dest, dad_t *source ); | ^~~~ /usr/include/libsmpp34/smpp34_params.h:30:30: error: ‘dad_t’ was not declared in this scope 30 | int build_dad( dad_t **dest, dad_t *source ); | ^~~~~ /usr/include/libsmpp34/smpp34_params.h:30:37: error: ‘source’ was not declared in this scope 30 | int build_dad( dad_t **dest, dad_t *source ); | ^~~~~~ /usr/include/libsmpp34/smpp34_params.h:32:18: error: ‘tlv_t’ was not declared in this scope 32 | int destroy_tlv( tlv_t *sourceList ); | ^~~~~ /usr/include/libsmpp34/smpp34_params.h:32:25: error: ‘sourceList’ was not declared in this scope 32 | int destroy_tlv( tlv_t *sourceList ); | ^~~~~~~~~~ /usr/include/libsmpp34/smpp34_params.h:33:16: error: ‘tlv_t’ was not declared in this scope 33 | int build_tlv( tlv_t **dest, tlv_t *source ); | ^~~~~ /usr/include/libsmpp34/smpp34_params.h:33:24: error: ‘dest’ was not declared in this scope 33 | int build_tlv( tlv_t **dest, tlv_t *source ); | ^~~~ /usr/include/libsmpp34/smpp34_params.h:33:30: error: ‘tlv_t’ was not declared in this scope 33 | int build_tlv( tlv_t **dest, tlv_t *source ); | ^~~~~ /usr/include/libsmpp34/smpp34_params.h:33:37: error: ‘source’ was not declared in this scope 33 | int build_tlv( tlv_t **dest, tlv_t *source ); | ^~~~~~