Temporary header file '/tmp/WEQsWREYw0/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/tf2_kdl/tf2_kdl/tf2_kdl.h" #include "/usr/include/tf2_kdl/tf2_kdl.h" // 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 math{typedef int tmp_add_type_3;}} boost::math::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace boost{namespace math{namespace detail{typedef int tmp_add_type_4;}}} boost::math::detail::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace boost{namespace math{namespace policies{typedef int tmp_add_type_5;}}} boost::math::policies::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace boost{namespace math{namespace policies{namespace detail{typedef int tmp_add_type_6;}}}} boost::math::policies::detail::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace boost{namespace math{namespace tools{typedef int tmp_add_type_7;}}} boost::math::tools::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace boost{namespace math{namespace tools{namespace detail{typedef int tmp_add_type_8;}}}} boost::math::tools::detail::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace boost{namespace movelib{typedef int tmp_add_type_9;}} boost::movelib::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace boost{namespace mpl{typedef int tmp_add_type_10;}} boost::mpl::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace boost{namespace mpl{namespace aux{typedef int tmp_add_type_11;}}} boost::mpl::aux::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace boost{namespace mpl{namespace placeholders{typedef int tmp_add_type_12;}}} boost::mpl::placeholders::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace KDL{typedef int tmp_add_type_13;} KDL::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace ros{typedef int tmp_add_type_14;} ros::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace ros{namespace serialization{typedef int tmp_add_type_15;}} ros::serialization::tmp_add_type_15 tmp_add_func_15(){return 0;}; namespace tf2{typedef int tmp_add_type_16;} tf2::tmp_add_type_16 tmp_add_func_16(){return 0;}; namespace tf2{namespace impl{typedef int tmp_add_type_17;}} tf2::impl::tmp_add_type_17 tmp_add_func_17(){return 0;}; namespace boost{namespace exception_detail{typedef int tmp_add_type_18;}} boost::exception_detail::tmp_add_type_18 tmp_add_func_18(){return 0;}; namespace boost{namespace math_detail{typedef int tmp_add_type_19;}} boost::math_detail::tmp_add_type_19 tmp_add_func_19(){return 0;}; namespace boost{namespace posix_time{typedef int tmp_add_type_20;}} boost::posix_time::tmp_add_type_20 tmp_add_func_20(){return 0;}; namespace boost{namespace type_traits{typedef int tmp_add_type_21;}} boost::type_traits::tmp_add_type_21 tmp_add_func_21(){return 0;}; namespace boost{namespace type_traits_detail{typedef int tmp_add_type_22;}} boost::type_traits_detail::tmp_add_type_22 tmp_add_func_22(){return 0;}; namespace boost_swap_impl{typedef int tmp_add_type_23;} boost_swap_impl::tmp_add_type_23 tmp_add_func_23(){return 0;}; namespace geometry_msgs{typedef int tmp_add_type_24;} geometry_msgs::tmp_add_type_24 tmp_add_func_24(){return 0;}; namespace mpl_{typedef int tmp_add_type_25;} mpl_::tmp_add_type_25 tmp_add_func_25(){return 0;}; namespace mpl_{namespace aux{typedef int tmp_add_type_26;}} mpl_::aux::tmp_add_type_26 tmp_add_func_26(){return 0;}; namespace ros{namespace message_operations{typedef int tmp_add_type_27;}} ros::message_operations::tmp_add_type_27 tmp_add_func_27(){return 0;}; namespace ros{namespace message_traits{typedef int tmp_add_type_28;}} ros::message_traits::tmp_add_type_28 tmp_add_func_28(){return 0;}; namespace ros{namespace serialization{namespace stream_types{typedef int tmp_add_type_29;}}} ros::serialization::stream_types::tmp_add_type_29 tmp_add_func_29(){return 0;}; namespace std_msgs{typedef int tmp_add_type_30;} std_msgs::tmp_add_type_30 tmp_add_func_30(){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; itimerval* tmp_add_class_3; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/WEQsWREYw0/dump1.h"