Temporary header file '/tmp/aGVQPTbfPn/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/core/posix/child_process.h" #include "/usr/include/core/posix/exec.h" #include "/usr/include/core/posix/exit.h" #include "/usr/include/core/posix/fork.h" #include "/usr/include/core/posix/process.h" #include "/usr/include/core/posix/process_group.h" #include "/usr/include/core/posix/signal.h" #include "/usr/include/core/posix/signalable.h" #include "/usr/include/core/posix/standard_stream.h" #include "/usr/include/core/posix/this_process.h" #include "/usr/include/core/posix/visibility.h" #include "/usr/include/core/posix/wait.h" #include "/usr/include/core/testing/cross_process_sync.h" #include "/usr/include/core/testing/fork_and_run.h" // add namespaces namespace core{typedef int tmp_add_type_1;} core::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace core{namespace posix{typedef int tmp_add_type_2;}} core::posix::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace core{namespace posix{namespace exit{typedef int tmp_add_type_3;}}} core::posix::exit::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace core{namespace posix{namespace wait{typedef int tmp_add_type_4;}}} core::posix::wait::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace core{namespace testing{typedef int tmp_add_type_5;}} core::testing::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace core{namespace posix{namespace this_process{typedef int tmp_add_type_6;}}} core::posix::this_process::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace core{namespace posix{namespace this_process{namespace env{typedef int tmp_add_type_7;}}}} core::posix::this_process::env::tmp_add_type_7 tmp_add_func_7(){return 0;}; // 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; ucontext_t* tmp_add_class_3; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/aGVQPTbfPn/dump1.h"