Temporary header file '/tmp/X4DiCtWC9s/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/fizmo/drilbo/drilbo-jpeg.h" #include "/usr/include/fizmo/drilbo/drilbo-mg1.h" #include "/usr/include/fizmo/drilbo/drilbo-png.h" #include "/usr/include/fizmo/drilbo/drilbo-ppm.h" #include "/usr/include/fizmo/drilbo/drilbo-x11.h" #include "/usr/include/fizmo/drilbo/drilbo.h" // 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; _XEvent* tmp_add_class_3; _XExtData* tmp_add_class_4; _XIMHotKeyTrigger* tmp_add_class_5; _XIMHotKeyTriggers* tmp_add_class_6; _XIMPreeditCaretCallbackStruct* tmp_add_class_7; _XIMPreeditDrawCallbackStruct* tmp_add_class_8; _XIMPreeditStateNotifyCallbackStruct* tmp_add_class_9; _XIMStatusDrawCallbackStruct* tmp_add_class_10; _XIMStringConversionCallbackStruct* tmp_add_class_11; _XIMStringConversionText* tmp_add_class_12; _XIMText* tmp_add_class_13; _XImage* tmp_add_class_14; commandline_parameter* tmp_add_class_15; z_blorb_map_struct* tmp_add_class_16; z_dir_ent* tmp_add_class_17; z_dir_struct* tmp_add_class_18; z_file_struct* tmp_add_class_19; z_filesys_interface* tmp_add_class_20; z_story* tmp_add_class_21; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/X4DiCtWC9s/dump1.h" -I/usr/include/fizmo In file included from /tmp/X4DiCtWC9s/dump1.h:12: /usr/include/fizmo/drilbo/drilbo-jpeg.h:51:32: error: ‘z_file’ was not declared in this scope 51 | z_image* read_zimage_from_jpeg(z_file *in); | ^~~~~~ /usr/include/fizmo/drilbo/drilbo-jpeg.h:51:40: error: ‘in’ was not declared in this scope; did you mean ‘int’? 51 | z_image* read_zimage_from_jpeg(z_file *in); | ^~ | int /usr/include/fizmo/drilbo/drilbo-jpeg.h:52:43: error: ‘z_file’ has not been declared 52 | void write_zimage_to_jpeg(z_image *image, z_file *out, int color_space); | ^~~~~~