Temporary header file '/tmp/_NhGQZclWA/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/lib/gcc/arm-linux-gnueabihf/12/include/stddef.h" #include "/usr/include/stdlib.h" #include "/usr/include/arm-linux-gnueabihf/libcaf-gfortran-descriptor.h" #include "/usr/include/arm-linux-gnueabihf/libcaf-version-def.h" #include "/usr/include/arm-linux-gnueabihf/libcaf.h" // add classes caf_reference_t* tmp_add_class_0; caf_teams_list* tmp_add_class_1; caf_used_teams_list* tmp_add_class_2; caf_vector_t* tmp_add_class_3; descriptor_dimension* tmp_add_class_4; dtype_type* tmp_add_class_5; gfc_descriptor_t* tmp_add_class_6; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/_NhGQZclWA/dump1.h" In file included from /tmp/_NhGQZclWA/dump1.h:16: /usr/include/arm-linux-gnueabihf/libcaf.h:236:31: error: expected ‘)’ before ‘,’ token 236 | void PREFIX (register) (size_t, caf_register_t, caf_token_t *, | ~ ^ | ) /usr/include/arm-linux-gnueabihf/libcaf.h:236:33: error: variable or field ‘caf_register_t’ declared void 236 | void PREFIX (register) (size_t, caf_register_t, caf_token_t *, | ^~~~~~~~~~~~~~ /usr/include/arm-linux-gnueabihf/libcaf.h:236:61: error: expected initializer before ‘*’ token 236 | void PREFIX (register) (size_t, caf_register_t, caf_token_t *, | ^