Temporary header file '/tmp/3ewYeAIQeP/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _FILE_OFFSET_BITS 64 #define _GXX_NULLPTR_T #define CLUTTER_ENABLE_COMPOSITOR_API 1 #define _REGEX_NELTS(n) #define _Atomic #define PACKED #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/libhdhomerun/hdhomerun.h" #include "/usr/include/libhdhomerun/hdhomerun_channels.h" #include "/usr/include/libhdhomerun/hdhomerun_channelscan.h" #include "/usr/include/libhdhomerun/hdhomerun_control.h" #include "/usr/include/libhdhomerun/hdhomerun_debug.h" #include "/usr/include/libhdhomerun/hdhomerun_device.h" #include "/usr/include/libhdhomerun/hdhomerun_device_selector.h" #include "/usr/include/libhdhomerun/hdhomerun_discover.h" #include "/usr/include/libhdhomerun/hdhomerun_os.h" #include "/usr/include/libhdhomerun/hdhomerun_os_posix.h" #include "/usr/include/libhdhomerun/hdhomerun_pkt.h" #include "/usr/include/libhdhomerun/hdhomerun_sock.h" #include "/usr/include/libhdhomerun/hdhomerun_types.h" #include "/usr/include/libhdhomerun/hdhomerun_video.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; addrinfo* tmp_add_class_3; cmsghdr* tmp_add_class_4; f_owner_ex* tmp_add_class_5; file_handle* tmp_add_class_6; flock64* tmp_add_class_7; gaicb* tmp_add_class_8; group_filter* tmp_add_class_9; group_req* tmp_add_class_10; group_source_req* tmp_add_class_11; hdhomerun_channelscan_program_t* tmp_add_class_12; hdhomerun_channelscan_result_t* tmp_add_class_13; hdhomerun_discover_device_t* tmp_add_class_14; hdhomerun_discover_device_v3_t* tmp_add_class_15; hdhomerun_local_ip_info_t* tmp_add_class_16; hdhomerun_pkt_t* tmp_add_class_17; hdhomerun_plotsample_t* tmp_add_class_18; hdhomerun_tuner_status_t* tmp_add_class_19; hdhomerun_tuner_vstatus_t* tmp_add_class_20; hdhomerun_video_stats_t* tmp_add_class_21; hostent* tmp_add_class_22; in6_addr* tmp_add_class_23; in6_pktinfo* tmp_add_class_24; in_addr* tmp_add_class_25; in_pktinfo* tmp_add_class_26; iovec* tmp_add_class_27; ip6_mtuinfo* tmp_add_class_28; ip_mreq* tmp_add_class_29; ip_mreq_source* tmp_add_class_30; ip_mreqn* tmp_add_class_31; ip_msfilter* tmp_add_class_32; ip_opts* tmp_add_class_33; ipv6_mreq* tmp_add_class_34; itimerval* tmp_add_class_35; linger* tmp_add_class_36; mmsghdr* tmp_add_class_37; msghdr* tmp_add_class_38; netent* tmp_add_class_39; osockaddr* tmp_add_class_40; pollfd* tmp_add_class_41; protoent* tmp_add_class_42; rpcent* tmp_add_class_43; servent* tmp_add_class_44; sockaddr* tmp_add_class_45; sockaddr_in* tmp_add_class_46; sockaddr_in6* tmp_add_class_47; sockaddr_storage* tmp_add_class_48; statx_timestamp* tmp_add_class_49; ucontext_t* tmp_add_class_50; ucred* tmp_add_class_51; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/3ewYeAIQeP/dump1.h"