Temporary header file '/tmp/WqeGHG96Pq/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _TIME_BITS 64 #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/gtest/gtest-assertion-result.h" #include "/usr/include/gtest/gtest-death-test.h" #include "/usr/include/gtest/gtest-matchers.h" #include "/usr/include/gtest/gtest-message.h" #include "/usr/include/gtest/gtest-param-test.h" #include "/usr/include/gtest/gtest-printers.h" #include "/usr/include/gtest/gtest-spi.h" #include "/usr/include/gtest/gtest-test-part.h" #include "/usr/include/gtest/gtest-typed-test.h" #include "/usr/include/gtest/gtest.h" #include "/usr/include/gtest/gtest_pred_impl.h" #include "/usr/include/gtest/gtest_prod.h" #include "/usr/include/gtest/internal/custom/gtest-port.h" #include "/usr/include/gtest/internal/custom/gtest-printers.h" #include "/usr/include/gtest/internal/custom/gtest.h" #include "/usr/include/gtest/internal/gtest-death-test-internal.h" #include "/usr/include/gtest/internal/gtest-filepath.h" #include "/usr/include/gtest/internal/gtest-internal.h" #include "/usr/include/gtest/internal/gtest-param-util.h" #include "/usr/include/gtest/internal/gtest-port-arch.h" #include "/usr/include/gtest/internal/gtest-port.h" #include "/usr/include/gtest/internal/gtest-string.h" #include "/usr/include/gtest/internal/gtest-type-util.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 edit_distance{typedef int tmp_add_type_5;}}} testing::internal::edit_distance::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace testing{namespace internal{namespace internal_stream_operator_without_lexical_name_lookup{typedef int tmp_add_type_6;}}} testing::internal::internal_stream_operator_without_lexical_name_lookup::tmp_add_type_6 tmp_add_func_6(){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/WqeGHG96Pq/dump1.h"