Temporary header file '/tmp/ZVoO6ZqcZU/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/zephyr/mit-copyright.h" #include "/usr/include/zephyr/zephyr.h" #include "/usr/include/zephyr/zephyr_err.h" // add classes _ZAsyncLocateData_t* tmp_add_class_0; _ZLocations_t* tmp_add_class_1; _ZNotice_t* tmp_add_class_2; _ZSubscriptions_t* tmp_add_class_3; _ZTimeval* tmp_add_class_4; _ZUnique_Id_t* tmp_add_class_5; cmsghdr* tmp_add_class_6; error_table* tmp_add_class_7; group_filter* tmp_add_class_8; group_req* tmp_add_class_9; group_source_req* tmp_add_class_10; in6_addr* tmp_add_class_11; in6_pktinfo* tmp_add_class_12; in_addr* tmp_add_class_13; in_pktinfo* tmp_add_class_14; iovec* tmp_add_class_15; ip6_mtuinfo* tmp_add_class_16; ip_mreq* tmp_add_class_17; ip_mreq_source* tmp_add_class_18; ip_mreqn* tmp_add_class_19; ip_msfilter* tmp_add_class_20; ip_opts* tmp_add_class_21; ipv6_mreq* tmp_add_class_22; itimerval* tmp_add_class_23; linger* tmp_add_class_24; mmsghdr* tmp_add_class_25; msghdr* tmp_add_class_26; osockaddr* tmp_add_class_27; sockaddr* tmp_add_class_28; sockaddr_in* tmp_add_class_29; sockaddr_in6* tmp_add_class_30; sockaddr_storage* tmp_add_class_31; ucred* tmp_add_class_32; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/ZVoO6ZqcZU/dump1.h"