Temporary header file '/tmp/swVdEkynLi/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) typedef float _Float32; typedef long double _Float64; typedef double _Float32x; // add includes #include "/usr/include/globus/globus_gass_transfer.h" #include "/usr/include/globus/globus_gass_transfer_proto.h" The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -U__cplusplus -D_Bool="bool" -x c++ -fpermissive -w "/tmp/swVdEkynLi/dump1.h"