Temporary header file '/tmp/HWmM5FAn45/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 #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/share/cargo/registry/cryptoki-sys-0.1.4/pkcs11.h" // add classes CK_OTP_PARAM* tmp_add_class_0; CK_OTP_PARAMS* tmp_add_class_1; CK_OTP_SIGNATURE_INFO* tmp_add_class_2; _CK_ATTRIBUTE* tmp_add_class_3; _CK_C_INITIALIZE_ARGS* tmp_add_class_4; _CK_DATE* tmp_add_class_5; _CK_FUNCTION_LIST* tmp_add_class_6; _CK_INFO* tmp_add_class_7; _CK_MECHANISM* tmp_add_class_8; _CK_MECHANISM_INFO* tmp_add_class_9; _CK_SESSION_INFO* tmp_add_class_10; _CK_SLOT_INFO* tmp_add_class_11; _CK_TOKEN_INFO* tmp_add_class_12; _CK_VERSION* tmp_add_class_13; ck_aes_cbc_encrypt_data_params* tmp_add_class_14; ck_aes_ctr_params* tmp_add_class_15; ck_des_cbc_encrypt_data_params* tmp_add_class_16; ck_ecdh1_derive_params* tmp_add_class_17; ck_gcm_params* tmp_add_class_18; ck_key_derivation_string_data* tmp_add_class_19; ck_rsa_pkcs_oaep_params* tmp_add_class_20; ck_rsa_pkcs_pss_params* tmp_add_class_21; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/HWmM5FAn45/dump1.h"