Temporary header file '/tmp/5fWY7tFiCp/dump1.h' with the following content will be compiled to create GCC translation unit dump: // add defines #define __STDC_VERSION__ 201710L #define _TIME_BITS 64 #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) #define BSON_INSIDE #define BSON_COMPILATION // add includes #include "/usr/include/libbson-1.0/bson/bcon.h" #include "/usr/include/libbson-1.0/bson/bson-atomic.h" #include "/usr/include/libbson-1.0/bson/bson-clock.h" #include "/usr/include/libbson-1.0/bson/bson-cmp.h" #include "/usr/include/libbson-1.0/bson/bson-compat.h" #include "/usr/include/libbson-1.0/bson/bson-context.h" #include "/usr/include/libbson-1.0/bson/bson-decimal128.h" #include "/usr/include/libbson-1.0/bson/bson-endian.h" #include "/usr/include/libbson-1.0/bson/bson-error.h" #include "/usr/include/libbson-1.0/bson/bson-iter.h" #include "/usr/include/libbson-1.0/bson/bson-json.h" #include "/usr/include/libbson-1.0/bson/bson-keys.h" #include "/usr/include/libbson-1.0/bson/bson-macros.h" #include "/usr/include/libbson-1.0/bson/bson-md5.h" #include "/usr/include/libbson-1.0/bson/bson-memory.h" #include "/usr/include/libbson-1.0/bson/bson-oid.h" #include "/usr/include/libbson-1.0/bson/bson-reader.h" #include "/usr/include/libbson-1.0/bson/bson-string.h" #include "/usr/include/libbson-1.0/bson/bson-types.h" #include "/usr/include/libbson-1.0/bson/bson-utf8.h" #include "/usr/include/libbson-1.0/bson/bson-value.h" #include "/usr/include/libbson-1.0/bson/bson-version-functions.h" #include "/usr/include/libbson-1.0/bson/bson-writer.h" #include "/usr/include/libbson-1.0/bson/bson.h" #include "/usr/include/libbson-1.0/bson.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; _bcon_append_ctx_t* tmp_add_class_3; _bcon_extract_ctx_t* tmp_add_class_4; _bson_error_t* tmp_add_class_5; _bson_mem_vtable_t* tmp_add_class_6; _bson_t* tmp_add_class_7; _bson_value_t* tmp_add_class_8; bcon_append_ctx_frame* tmp_add_class_9; bcon_extract_ctx_frame* tmp_add_class_10; f_owner_ex* tmp_add_class_11; file_handle* tmp_add_class_12; flock64* tmp_add_class_13; iovec* tmp_add_class_14; itimerval* tmp_add_class_15; statx_timestamp* tmp_add_class_16; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/5fWY7tFiCp/dump1.h"