Temporary header file '/tmp/9U67gFekqq/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/portSMF/allegro.h" #include "/usr/include/portSMF/mfmidi.h" #include "/usr/include/portSMF/strparse.h" #include "/usr/include/portSMF/trace.h" // add classes Alg_atoms* tmp_add_class_0; Alg_beat* tmp_add_class_1; Alg_beats* tmp_add_class_2; Alg_event* tmp_add_class_3; Alg_event_list* tmp_add_class_4; Alg_events* tmp_add_class_5; Alg_iterator* tmp_add_class_6; Alg_note* tmp_add_class_7; Alg_parameter* tmp_add_class_8; Alg_parameters* tmp_add_class_9; Alg_pending_event* tmp_add_class_10; Alg_seq* tmp_add_class_11; Alg_time_map* tmp_add_class_12; Alg_time_sig* tmp_add_class_13; Alg_time_sigs* tmp_add_class_14; Alg_track* tmp_add_class_15; Alg_tracks* tmp_add_class_16; Alg_update* tmp_add_class_17; Midifile_reader* tmp_add_class_18; Serial_buffer* tmp_add_class_19; Serial_read_buffer* tmp_add_class_20; Serial_write_buffer* tmp_add_class_21; String_parse* tmp_add_class_22; _G_fpos64_t* tmp_add_class_23; _G_fpos_t* tmp_add_class_24; _IO_cookie_io_functions_t* tmp_add_class_25; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/9U67gFekqq/dump1.h" In file included from /tmp/9U67gFekqq/dump1.h:12: /usr/include/portSMF/allegro.h: In member function ‘void* Serial_write_buffer::to_heap(long int*)’: /usr/include/portSMF/allegro.h:632:9: error: ‘memcpy’ was not declared in this scope 632 | memcpy(newbuf, buffer, *len); | ^~~~~~ /usr/include/portSMF/allegro.h:53:1: note: ‘memcpy’ is defined in header ‘’; did you forget to ‘#include ’? 52 | #include +++ |+#include 53 | #include