Temporary header file '/tmp/UVEJL3PqP7/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 #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/miroil/miroil/compositor.h" #include "/usr/include/miroil/miroil/display_configuration_controller_wrapper.h" #include "/usr/include/miroil/miroil/display_configuration_policy.h" #include "/usr/include/miroil/miroil/display_configuration_storage.h" #include "/usr/include/miroil/miroil/display_id.h" #include "/usr/include/miroil/miroil/display_listener_wrapper.h" #include "/usr/include/miroil/miroil/edid.h" #include "/usr/include/miroil/miroil/event_builder.h" #include "/usr/include/miroil/miroil/eventdispatch.h" #include "/usr/include/miroil/miroil/input_device.h" #include "/usr/include/miroil/miroil/input_device_observer.h" #include "/usr/include/miroil/miroil/mir_prompt_session.h" #include "/usr/include/miroil/miroil/mir_server_hooks.h" #include "/usr/include/miroil/miroil/mirbuffer.h" #include "/usr/include/miroil/miroil/open_gl_context.h" #include "/usr/include/miroil/miroil/persist_display_config.h" #include "/usr/include/miroil/miroil/prompt_session_listener.h" #include "/usr/include/miroil/miroil/prompt_session_manager.h" #include "/usr/include/miroil/miroil/set_compositor.h" #include "/usr/include/miroil/miroil/surface.h" #include "/usr/include/miroil/miroil/surface_observer.h" // add namespaces namespace glm{typedef int tmp_add_type_1;} glm::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace glm{namespace detail{typedef int tmp_add_type_2;}} glm::detail::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace mir{typedef int tmp_add_type_3;} mir::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace mir{namespace compositor{typedef int tmp_add_type_4;}} mir::compositor::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace mir{namespace geometry{typedef int tmp_add_type_5;}} mir::geometry::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace mir{namespace geometry{namespace generic{typedef int tmp_add_type_6;}}} mir::geometry::generic::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace mir{namespace graphics{typedef int tmp_add_type_7;}} mir::graphics::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace mir{namespace graphics{namespace detail{typedef int tmp_add_type_8;}}} mir::graphics::detail::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace mir{namespace input{typedef int tmp_add_type_9;}} mir::input::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace mir{namespace scene{typedef int tmp_add_type_10;}} mir::scene::tmp_add_type_10 tmp_add_func_10(){return 0;}; namespace mir{namespace shell{typedef int tmp_add_type_11;}} mir::shell::tmp_add_type_11 tmp_add_func_11(){return 0;}; namespace miral{typedef int tmp_add_type_12;} miral::tmp_add_type_12 tmp_add_func_12(){return 0;}; namespace miral{namespace toolkit{typedef int tmp_add_type_13;}} miral::toolkit::tmp_add_type_13 tmp_add_func_13(){return 0;}; namespace miroil{typedef int tmp_add_type_14;} miroil::tmp_add_type_14 tmp_add_func_14(){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; xkb_rule_names* tmp_add_class_3; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/UVEJL3PqP7/dump1.h" -I/usr/include/mirserver -I/usr/include/mirplatform -I/usr/include/miroil -I/usr/include/mircore -I/usr/include/miral