Temporary header file '/tmp/EvWUtco0k7/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/stdlib.h" #include "/usr/include/lv2dynparam1/lv2dynparam/audiolock.h" #include "/usr/include/lv2dynparam1/lv2dynparam/host.h" #include "/usr/include/lv2dynparam1/lv2dynparam/lv2_rtmempool.h" #include "/usr/include/lv2dynparam1/lv2dynparam/lv2dynparam.h" #include "/usr/include/lv2dynparam1/lv2dynparam/plugin.h" // add classes _audiolock_handle* tmp_add_class_0; lv2_rtsafe_memory_pool_provider* tmp_add_class_1; lv2dynparam_hints* tmp_add_class_2; lv2dynparam_host_callbacks* tmp_add_class_3; lv2dynparam_host_parameter_range* tmp_add_class_4; lv2dynparam_host_parameter_value* tmp_add_class_5; lv2dynparam_plugin_callbacks* tmp_add_class_6; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/EvWUtco0k7/dump1.h" In file included from /tmp/EvWUtco0k7/dump1.h:14: /usr/include/lv2dynparam1/lv2dynparam/host.h:141:9: error: ‘LV2_Descriptor’ does not name a type 141 | const LV2_Descriptor * lv2descriptor, | ^~~~~~~~~~~~~~ /usr/include/lv2dynparam1/lv2dynparam/host.h:142:3: error: ‘LV2_Handle’ has not been declared 142 | LV2_Handle lv2instance, | ^~~~~~~~~~ In file included from /tmp/EvWUtco0k7/dump1.h:16: /usr/include/lv2dynparam1/lv2dynparam/lv2dynparam.h:323:5: error: ‘LV2_Handle’ has not been declared 323 | LV2_Handle instance, | ^~~~~~~~~~ In file included from /tmp/EvWUtco0k7/dump1.h:17: /usr/include/lv2dynparam1/lv2dynparam/plugin.h:64:3: error: ‘LV2_Handle’ was not declared in this scope 64 | LV2_Handle instance, | ^~~~~~~~~~ /usr/include/lv2dynparam1/lv2dynparam/plugin.h:65:3: error: expected primary-expression before ‘const’ 65 | const LV2_Feature * const * host_features_ptr_ptr, | ^~~~~ /usr/include/lv2dynparam1/lv2dynparam/plugin.h:66:3: error: expected primary-expression before ‘const’ 66 | const char * root_group_name, | ^~~~~ /usr/include/lv2dynparam1/lv2dynparam/plugin.h:67:31: error: expected primary-expression before ‘*’ token 67 | lv2dynparam_plugin_instance * instance_ptr); | ^ /usr/include/lv2dynparam1/lv2dynparam/plugin.h:67:33: error: ‘instance_ptr’ was not declared in this scope 67 | lv2dynparam_plugin_instance * instance_ptr); | ^~~~~~~~~~~~