Temporary header file '/tmp/2EMDQTNDay/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 #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/pluginlib/pluginlib/class_desc.hpp" #include "/usr/include/pluginlib/pluginlib/class_list_macros.hpp" #include "/usr/include/pluginlib/pluginlib/class_loader.hpp" #include "/usr/include/pluginlib/pluginlib/class_loader_base.hpp" #include "/usr/include/pluginlib/pluginlib/class_loader_imp.hpp" #include "/usr/include/pluginlib/pluginlib/exceptions.hpp" #include "/usr/include/pluginlib/pluginlib/impl/split.hpp" // add namespaces namespace boost{typedef int tmp_add_type_1;} boost::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace boost{namespace detail{typedef int tmp_add_type_2;}} boost::detail::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace boost{namespace movelib{typedef int tmp_add_type_3;}} boost::movelib::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace pluginlib{typedef int tmp_add_type_4;} pluginlib::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace pluginlib{namespace impl{typedef int tmp_add_type_5;}} pluginlib::impl::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace rcpputils{typedef int tmp_add_type_6;} rcpputils::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace rcpputils{namespace fs{typedef int tmp_add_type_7;}} rcpputils::fs::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace ros{typedef int tmp_add_type_8;} ros::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace ros{namespace package{typedef int tmp_add_type_9;}} ros::package::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace tinyxml2{typedef int tmp_add_type_10;} tinyxml2::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace ament_index_cpp{typedef int tmp_add_type_11;} ament_index_cpp::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace boost{namespace exception_detail{typedef int tmp_add_type_12;}} boost::exception_detail::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace class_loader{typedef int tmp_add_type_13;} class_loader::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace class_loader{namespace impl{typedef int tmp_add_type_14;}} class_loader::impl::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace console_bridge{typedef int tmp_add_type_15;} console_bridge::tmp_add_type_15 tmp_add_func_15(){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; rcutils_allocator_s* tmp_add_class_3; rcutils_array_list_s* tmp_add_class_4; rcutils_char_array_s* tmp_add_class_5; rcutils_error_state_s* tmp_add_class_6; rcutils_error_string_s* tmp_add_class_7; rcutils_hash_map_s* tmp_add_class_8; rcutils_log_location_s* tmp_add_class_9; rcutils_shared_library_s* tmp_add_class_10; rcutils_string_array_s* tmp_add_class_11; rcutils_string_map_s* tmp_add_class_12; rcutils_uint8_array_s* tmp_add_class_13; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/2EMDQTNDay/dump1.h" -I/usr/include/rcutils -I/usr/include/rcpputils -I/usr/include/pluginlib -I/usr/include/class_loader -I/usr/include/ament_index_cpp