Temporary header file '/tmp/3MFPfaw0SQ/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 #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/gmock/gmock-actions.h" #include "/usr/include/gmock/gmock-cardinalities.h" #include "/usr/include/gmock/gmock-function-mocker.h" #include "/usr/include/gmock/gmock-matchers.h" #include "/usr/include/gmock/gmock-more-actions.h" #include "/usr/include/gmock/gmock-more-matchers.h" #include "/usr/include/gmock/gmock-nice-strict.h" #include "/usr/include/gmock/gmock-spec-builders.h" #include "/usr/include/gmock/gmock.h" #include "/usr/include/gmock/internal/custom/gmock-generated-actions.h" #include "/usr/include/gmock/internal/custom/gmock-matchers.h" #include "/usr/include/gmock/internal/custom/gmock-port.h" #include "/usr/include/gmock/internal/gmock-internal-utils.h" #include "/usr/include/gmock/internal/gmock-port.h" #include "/usr/include/gmock/internal/gmock-pp.h" // add namespaces namespace proto2{typedef int tmp_add_type_1;} proto2::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace testing{typedef int tmp_add_type_2;} testing::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace testing{namespace internal{typedef int tmp_add_type_3;}} testing::internal::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace testing{namespace internal{namespace posix{typedef int tmp_add_type_4;}}} testing::internal::posix::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace testing{namespace internal{namespace any_cast_matcher{typedef int tmp_add_type_5;}}} testing::internal::any_cast_matcher::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace testing{namespace internal{namespace edit_distance{typedef int tmp_add_type_6;}}} testing::internal::edit_distance::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace testing{namespace internal{namespace internal_stream_operator_without_lexical_name_lookup{typedef int tmp_add_type_7;}}} testing::internal::internal_stream_operator_without_lexical_name_lookup::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace testing{namespace internal{namespace pair_getters{typedef int tmp_add_type_8;}}} testing::internal::pair_getters::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace testing{namespace internal{namespace variant_matcher{typedef int tmp_add_type_9;}}} testing::internal::variant_matcher::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace testing{namespace no_adl{typedef int tmp_add_type_10;}} testing::no_adl::tmp_add_type_10 tmp_add_func_10(){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; re_pattern_buffer* tmp_add_class_3; re_registers* tmp_add_class_4; statx_timestamp* tmp_add_class_5; ucontext_t* tmp_add_class_6; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/3MFPfaw0SQ/dump1.h"