Temporary header file '/tmp/18gk0BJKHE/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 #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/arm-linux-gnueabihf/libheif/heif.h" #include "/usr/include/arm-linux-gnueabihf/libheif/heif_cxx.h" #include "/usr/include/arm-linux-gnueabihf/libheif/heif_plugin.h" #include "/usr/include/arm-linux-gnueabihf/libheif/heif_version.h" // add namespaces namespace heif{typedef int tmp_add_type_1;} heif::tmp_add_type_1 tmp_add_func_1(){return 0;}; // 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; heif_color_profile_nclx* tmp_add_class_3; heif_decoder_plugin* tmp_add_class_4; heif_decoding_options* tmp_add_class_5; heif_depth_representation_info* tmp_add_class_6; heif_encoder_parameter* tmp_add_class_7; heif_encoder_plugin* tmp_add_class_8; heif_encoding_options* tmp_add_class_9; heif_error* tmp_add_class_10; heif_init_params* tmp_add_class_11; heif_plugin_info* tmp_add_class_12; heif_reader* tmp_add_class_13; heif_writer* tmp_add_class_14; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/18gk0BJKHE/dump1.h"