Temporary header file '/tmp/XDrUy_LHBL/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 #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) #define _FILE_OFFSET_BITS 64 // add includes #include "/usr/include/samba-4.0/libsmbclient.h" // add classes _SMBCCTX* tmp_add_class_0; f_owner_ex* tmp_add_class_1; file_handle* tmp_add_class_2; flock64* tmp_add_class_3; iovec* tmp_add_class_4; libsmb_file_info* tmp_add_class_5; print_job_info* tmp_add_class_6; smbc_dirent* tmp_add_class_7; smbc_notify_callback_action* tmp_add_class_8; statx_timestamp* tmp_add_class_9; utimbuf* tmp_add_class_10; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/XDrUy_LHBL/dump1.h"