Temporary header file '/tmp/KtxIxszjLd/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) // add includes #include "/usr/include/mysql/client_plugin.h" #include "/usr/include/mysql/errmsg.h" #include "/usr/include/mysql/field_types.h" #include "/usr/include/mysql/my_command.h" #include "/usr/include/mysql/my_compress.h" #include "/usr/include/mysql/my_list.h" #include "/usr/include/mysql/mysql.h" #include "/usr/include/mysql/mysql_com.h" #include "/usr/include/mysql/mysql_time.h" #include "/usr/include/mysql/mysql_version.h" #include "/usr/include/mysql/mysqld_error.h" #include "/usr/include/mysql/mysqlx_error.h" #include "/usr/include/mysql/mysqlx_version.h" #include "/usr/include/mysql/plugin_auth_common.h" #include "/usr/include/mysql/udf_registration_types.h" // add classes LIST* tmp_add_class_0; MYSQL* tmp_add_class_1; MYSQL_BIND* tmp_add_class_2; MYSQL_DATA* tmp_add_class_3; MYSQL_FIELD* tmp_add_class_4; MYSQL_PLUGIN_VIO* tmp_add_class_5; MYSQL_PLUGIN_VIO_INFO* tmp_add_class_6; MYSQL_RES* tmp_add_class_7; MYSQL_ROWS* tmp_add_class_8; MYSQL_RPL* tmp_add_class_9; MYSQL_STMT* tmp_add_class_10; MYSQL_TIME* tmp_add_class_11; NET* tmp_add_class_12; UDF_ARGS* tmp_add_class_13; UDF_INIT* tmp_add_class_14; auth_plugin_t* tmp_add_class_15; character_set* tmp_add_class_16; mysql_compress_context* tmp_add_class_17; mysql_zlib_compress_context* tmp_add_class_18; mysql_zstd_compress_context* tmp_add_class_19; rand_struct* tmp_add_class_20; st_mysql_client_plugin* tmp_add_class_21; st_mysql_options* tmp_add_class_22; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/KtxIxszjLd/dump1.h"