Temporary header file '/tmp/gwORpEYnxP/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 // add includes #include "/usr/include/samba-4.0/ldb.h" #include "/usr/include/samba-4.0/ldb_errors.h" #include "/usr/include/samba-4.0/ldb_handlers.h" #include "/usr/include/samba-4.0/ldb_module.h" #include "/usr/include/samba-4.0/ldb_version.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; itimerval* tmp_add_class_3; ldb_add* tmp_add_class_4; ldb_asq_control* tmp_add_class_5; ldb_backend_ops* tmp_add_class_6; ldb_control* tmp_add_class_7; ldb_debug_ops* tmp_add_class_8; ldb_delete* tmp_add_class_9; ldb_dirsync_control* tmp_add_class_10; ldb_dn_extended_syntax* tmp_add_class_11; ldb_extended* tmp_add_class_12; ldb_extended_dn_control* tmp_add_class_13; ldb_extended_match_rule* tmp_add_class_14; ldb_ldif* tmp_add_class_15; ldb_message* tmp_add_class_16; ldb_message_element* tmp_add_class_17; ldb_modify* tmp_add_class_18; ldb_module_ops* tmp_add_class_19; ldb_paged_control* tmp_add_class_20; ldb_parse_tree* tmp_add_class_21; ldb_register_control* tmp_add_class_22; ldb_register_partition* tmp_add_class_23; ldb_rename* tmp_add_class_24; ldb_reply* tmp_add_class_25; ldb_request* tmp_add_class_26; ldb_result* tmp_add_class_27; ldb_schema_attribute* tmp_add_class_28; ldb_schema_syntax* tmp_add_class_29; ldb_sd_flags_control* tmp_add_class_30; ldb_search* tmp_add_class_31; ldb_search_options_control* tmp_add_class_32; ldb_seqnum_request* tmp_add_class_33; ldb_seqnum_result* tmp_add_class_34; ldb_server_sort_control* tmp_add_class_35; ldb_sort_resp_control* tmp_add_class_36; ldb_utf8_fns* tmp_add_class_37; ldb_val* tmp_add_class_38; ldb_verify_name_control* tmp_add_class_39; ldb_vlv_req_control* tmp_add_class_40; ldb_vlv_resp_control* tmp_add_class_41; tevent_ops* tmp_add_class_42; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/gwORpEYnxP/dump1.h" -I/usr/include/samba-4.0 /tmp/gwORpEYnxP/dump1.h:22:3: error: ‘ldb_add’ does not name a type 22 | ldb_add* tmp_add_class_4; | ^~~~~~~ /tmp/gwORpEYnxP/dump1.h:27:3: error: ‘ldb_delete’ does not name a type 27 | ldb_delete* tmp_add_class_9; | ^~~~~~~~~~ /tmp/gwORpEYnxP/dump1.h:30:3: error: ‘ldb_extended’ does not name a type 30 | ldb_extended* tmp_add_class_12; | ^~~~~~~~~~~~ /tmp/gwORpEYnxP/dump1.h:36:3: error: ‘ldb_modify’ does not name a type 36 | ldb_modify* tmp_add_class_18; | ^~~~~~~~~~ /tmp/gwORpEYnxP/dump1.h:39:3: error: ‘ldb_parse_tree’ does not name a type 39 | ldb_parse_tree* tmp_add_class_21; | ^~~~~~~~~~~~~~ /tmp/gwORpEYnxP/dump1.h:42:3: error: ‘ldb_rename’ does not name a type 42 | ldb_rename* tmp_add_class_24; | ^~~~~~~~~~ /tmp/gwORpEYnxP/dump1.h:44:3: error: ‘ldb_request’ does not name a type 44 | ldb_request* tmp_add_class_26; | ^~~~~~~~~~~ /tmp/gwORpEYnxP/dump1.h:49:3: error: ‘ldb_search’ does not name a type 49 | ldb_search* tmp_add_class_31; | ^~~~~~~~~~