Temporary header file '/tmp/cqg0XhaTEq/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/gmsh.h" #include "/usr/include/gmshc.h" // add namespaces namespace gmsh{typedef int tmp_add_type_1;} gmsh::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace gmsh{namespace fltk{typedef int tmp_add_type_2;}} gmsh::fltk::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace gmsh{namespace graphics{typedef int tmp_add_type_3;}} gmsh::graphics::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace gmsh{namespace logger{typedef int tmp_add_type_4;}} gmsh::logger::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace gmsh{namespace model{typedef int tmp_add_type_5;}} gmsh::model::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace gmsh{namespace model{namespace geo{typedef int tmp_add_type_6;}}} gmsh::model::geo::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace gmsh{namespace model{namespace geo{namespace mesh{typedef int tmp_add_type_7;}}}} gmsh::model::geo::mesh::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace gmsh{namespace model{namespace mesh{typedef int tmp_add_type_8;}}} gmsh::model::mesh::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace gmsh{namespace model{namespace mesh{namespace field{typedef int tmp_add_type_9;}}}} gmsh::model::mesh::field::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace gmsh{namespace model{namespace occ{typedef int tmp_add_type_10;}}} gmsh::model::occ::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace gmsh{namespace model{namespace occ{namespace mesh{typedef int tmp_add_type_11;}}}} gmsh::model::occ::mesh::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace gmsh{namespace onelab{typedef int tmp_add_type_12;}} gmsh::onelab::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace gmsh{namespace option{typedef int tmp_add_type_13;}} gmsh::option::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace gmsh{namespace plugin{typedef int tmp_add_type_14;}} gmsh::plugin::tmp_add_type_14 tmp_add_func_14(){return 0;}; namespace gmsh{namespace view{typedef int tmp_add_type_15;}} gmsh::view::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; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/cqg0XhaTEq/dump1.h"