Temporary header file '/tmp/kC5MAqmquf/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _FILE_OFFSET_BITS 64 #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/liblognorm.h" #include "/usr/include/annot.h" #include "/usr/include/enc.h" #include "/usr/include/lognorm-features.h" #include "/usr/include/lognorm.h" #include "/usr/include/parser.h" #include "/usr/include/pdag.h" #include "/usr/include/samp.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; data_Repeat* tmp_add_class_3; fjson_object_iter* tmp_add_class_4; fjson_object_iterator* tmp_add_class_5; fjson_tokener* tmp_add_class_6; fjson_tokener_srec* tmp_add_class_7; ln_annotSet_s* tmp_add_class_8; ln_annot_op_s* tmp_add_class_9; ln_annot_s* tmp_add_class_10; ln_ctx_s* tmp_add_class_11; ln_parser_info* tmp_add_class_12; ln_parser_s* tmp_add_class_13; ln_pdag* tmp_add_class_14; ln_samp* tmp_add_class_15; ln_type_pdag* tmp_add_class_16; npb* tmp_add_class_17; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/kC5MAqmquf/dump1.h" -I/usr/include/libfastjson