Temporary header file '/tmp/dbYC6dXq_N/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 #ifdef __cplusplus // C17 compat layer #define _Alignof(type) alignof(type) #endif #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/X11/Xlib.h" #include "/usr/include/X11/extensions/XvMClib.h" #include "/usr/include/X11/extensions/vldXvMC.h" // add classes _XEvent* tmp_add_class_0; _XExtData* tmp_add_class_1; _XIMHotKeyTrigger* tmp_add_class_2; _XIMHotKeyTriggers* tmp_add_class_3; _XIMPreeditCaretCallbackStruct* tmp_add_class_4; _XIMPreeditDrawCallbackStruct* tmp_add_class_5; _XIMPreeditStateNotifyCallbackStruct* tmp_add_class_6; _XIMStatusDrawCallbackStruct* tmp_add_class_7; _XIMStringConversionCallbackStruct* tmp_add_class_8; _XIMStringConversionText* tmp_add_class_9; _XIMText* tmp_add_class_10; _XImage* tmp_add_class_11; _XvMCMpegControl* tmp_add_class_12; _XvMCQMatrix* tmp_add_class_13; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/dbYC6dXq_N/dump1.h"