Temporary header file '/tmp/C8vX_eg7WN/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/SDL_console/DT_drawtext.h" #include "/usr/include/SDL_console/SDL_console.h" #include "/usr/include/SDL_console/internal.h" // add classes BitFont_td* tmp_add_class_0; SDL_ActiveEvent* tmp_add_class_1; SDL_Color* tmp_add_class_2; SDL_Cursor* tmp_add_class_3; SDL_Event* tmp_add_class_4; SDL_ExposeEvent* tmp_add_class_5; SDL_JoyAxisEvent* tmp_add_class_6; SDL_JoyBallEvent* tmp_add_class_7; SDL_JoyButtonEvent* tmp_add_class_8; SDL_JoyHatEvent* tmp_add_class_9; SDL_KeyboardEvent* tmp_add_class_10; SDL_MouseButtonEvent* tmp_add_class_11; SDL_MouseMotionEvent* tmp_add_class_12; SDL_Overlay* tmp_add_class_13; SDL_Palette* tmp_add_class_14; SDL_PixelFormat* tmp_add_class_15; SDL_QuitEvent* tmp_add_class_16; SDL_RWops* tmp_add_class_17; SDL_Rect* tmp_add_class_18; SDL_ResizeEvent* tmp_add_class_19; SDL_Surface* tmp_add_class_20; SDL_SysWMEvent* tmp_add_class_21; SDL_UserEvent* tmp_add_class_22; SDL_VideoInfo* tmp_add_class_23; SDL_keysym* tmp_add_class_24; _G_fpos64_t* tmp_add_class_25; _G_fpos_t* tmp_add_class_26; _IO_cookie_io_functions_t* tmp_add_class_27; console_information_td* tmp_add_class_28; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/C8vX_eg7WN/dump1.h" -I/usr/include/SDL In file included from /tmp/C8vX_eg7WN/dump1.h:12: /usr/include/SDL_console/DT_drawtext.h:39:17: error: ‘SDL_Surface’ does not name a type 39 | SDL_Surface *FontSurface; | ^~~~~~~~~~~ /usr/include/SDL_console/DT_drawtext.h:48:49: error: ‘SDL_Surface’ has not been declared 48 | void DT_DrawText(const char *string, SDL_Surface *surface, int FontType, int x, int y ); | ^~~~~~~~~~~