Temporary header file '/tmp/QnSwNRBNxp/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 #define getaddrinfo_a(a,b,c,d) // add includes #include "/usr/include/dqlite.h" // add classes Fts5ExtensionApi* tmp_add_class_0; Fts5PhraseIter* tmp_add_class_1; dqlite_buffer* tmp_add_class_2; dqlite_node_info* tmp_add_class_3; dqlite_node_info_ext* tmp_add_class_4; dqlite_vfs_frame* tmp_add_class_5; fts5_api* tmp_add_class_6; fts5_tokenizer* tmp_add_class_7; sqlite3_file* tmp_add_class_8; sqlite3_index_info* tmp_add_class_9; sqlite3_io_methods* tmp_add_class_10; sqlite3_mem_methods* tmp_add_class_11; sqlite3_module* tmp_add_class_12; sqlite3_mutex_methods* tmp_add_class_13; sqlite3_pcache_methods* tmp_add_class_14; sqlite3_pcache_methods2* tmp_add_class_15; sqlite3_pcache_page* tmp_add_class_16; sqlite3_rtree_geometry* tmp_add_class_17; sqlite3_rtree_query_info* tmp_add_class_18; sqlite3_snapshot* tmp_add_class_19; sqlite3_vfs* tmp_add_class_20; sqlite3_vtab* tmp_add_class_21; sqlite3_vtab_cursor* tmp_add_class_22; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/QnSwNRBNxp/dump1.h"