Temporary header file '/tmp/hQMd4sLS0I/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/cdaudio.h" // add classes art_data* tmp_add_class_0; art_mc_data* tmp_add_class_1; art_query* tmp_add_class_2; art_query_entry* tmp_add_class_3; cddb_conf* tmp_add_class_4; cddb_direct_query_toc* tmp_add_class_5; cddb_entry* tmp_add_class_6; cddb_hello* tmp_add_class_7; cddb_host* tmp_add_class_8; cddb_query* tmp_add_class_9; cddb_server* tmp_add_class_10; cddb_serverlist* tmp_add_class_11; disc_changer* tmp_add_class_12; disc_data* tmp_add_class_13; disc_info* tmp_add_class_14; disc_mc_changer* tmp_add_class_15; disc_mc_data* tmp_add_class_16; disc_mc_summary* tmp_add_class_17; disc_status* tmp_add_class_18; disc_summary* tmp_add_class_19; disc_timeval* tmp_add_class_20; disc_volume* tmp_add_class_21; query_list_entry* tmp_add_class_22; track_data* tmp_add_class_23; track_info* tmp_add_class_24; track_mc_data* tmp_add_class_25; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/hQMd4sLS0I/dump1.h" /tmp/hQMd4sLS0I/dump1.h:24:3: error: ‘cddb_query’ does not name a type 24 | cddb_query* tmp_add_class_9; | ^~~~~~~~~~