Temporary header file '/tmp/ERwdBAQFly/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/tgl/auto/auto-autocomplete.h"
  #include "/usr/include/tgl/auto/auto-fetch-ds.h"
  #include "/usr/include/tgl/auto/auto-fetch.h"
  #include "/usr/include/tgl/auto/auto-free-ds.h"
  #include "/usr/include/tgl/auto/auto-print-ds.h"
  #include "/usr/include/tgl/auto/auto-skip.h"
  #include "/usr/include/tgl/auto/auto-store-ds.h"
  #include "/usr/include/tgl/auto/auto-store.h"
  #include "/usr/include/tgl/auto/auto-types.h"
  #include "/usr/include/tgl/auto/constants.h"
  #include "/usr/include/tgl/auto.h"
  #include "/usr/include/tgl/config.h"
  #include "/usr/include/tgl/crypto/aes.h"
  #include "/usr/include/tgl/crypto/bn.h"
  #include "/usr/include/tgl/crypto/err.h"
  #include "/usr/include/tgl/crypto/md5.h"
  #include "/usr/include/tgl/crypto/meta.h"
  #include "/usr/include/tgl/crypto/rand.h"
  #include "/usr/include/tgl/crypto/rsa_pem.h"
  #include "/usr/include/tgl/crypto/sha.h"
  #include "/usr/include/tgl/event-old.h"
  #include "/usr/include/tgl/generate.h"
  #include "/usr/include/tgl/mtproto-client.h"
  #include "/usr/include/tgl/mtproto-common.h"
  #include "/usr/include/tgl/mtproto-key.h"
  #include "/usr/include/tgl/mtproto-utils.h"
  #include "/usr/include/tgl/no-preview.h"
  #include "/usr/include/tgl/queries.h"
  #include "/usr/include/tgl/tg-mime-types.h"
  #include "/usr/include/tgl/tgl-binlog.h"
  #include "/usr/include/tgl/tgl-fetch.h"
  #include "/usr/include/tgl/tgl-inner.h"
  #include "/usr/include/tgl/tgl-layout.h"
  #include "/usr/include/tgl/tgl-methods-in.h"
  #include "/usr/include/tgl/tgl-net-inner.h"
  #include "/usr/include/tgl/tgl-net.h"
  #include "/usr/include/tgl/tgl-queries.h"
  #include "/usr/include/tgl/tgl-structures.h"
  #include "/usr/include/tgl/tgl-timers.h"
  #include "/usr/include/tgl/tgl.h"
  #include "/usr/include/tgl/tools.h"
  #include "/usr/include/tgl/tree.h"
  #include "/usr/include/tgl/updates.h"

  // add classes
  TGLC_aes_key* tmp_add_class_0;
  _G_fpos64_t* tmp_add_class_1;
  _G_fpos_t* tmp_add_class_2;
  _IO_cookie_io_functions_t* tmp_add_class_3;
  arg* tmp_add_class_4;
  connection* tmp_add_class_5;
  connection_buffer* tmp_add_class_6;
  encrypted_message* tmp_add_class_7;
  mtproto_methods* tmp_add_class_8;
  paramed_type* tmp_add_class_9;
  query* tmp_add_class_10;
  query_methods* tmp_add_class_11;
  tgl_allocator* tmp_add_class_12;
  tgl_bot_command* tmp_add_class_13;
  tgl_bot_info* tmp_add_class_14;
  tgl_channel* tmp_add_class_15;
  tgl_chat* tmp_add_class_16;
  tgl_chat_user* tmp_add_class_17;
  tgl_dc* tmp_add_class_18;
  tgl_dc_option* tmp_add_class_19;
  tgl_document* tmp_add_class_20;
  tgl_encr_document* tmp_add_class_21;
  tgl_file_location* tmp_add_class_22;
  tgl_geo* tmp_add_class_23;
  tgl_message* tmp_add_class_24;
  tgl_message_action* tmp_add_class_25;
  tgl_message_entity* tmp_add_class_26;
  tgl_message_id* tmp_add_class_27;
  tgl_message_media* tmp_add_class_28;
  tgl_message_reply_markup* tmp_add_class_29;
  tgl_net_methods* tmp_add_class_30;
  tgl_peer* tmp_add_class_31;
  tgl_photo* tmp_add_class_32;
  tgl_photo_size* tmp_add_class_33;
  tgl_secret_chat* tmp_add_class_34;
  tgl_session* tmp_add_class_35;
  tgl_state* tmp_add_class_36;
  tgl_timer_methods* tmp_add_class_37;
  tgl_update_callback* tmp_add_class_38;
  tgl_user* tmp_add_class_39;
  tgl_user_status* tmp_add_class_40;
  tgl_webpage* tmp_add_class_41;
  tl_combinator* tmp_add_class_42;
  tl_ds_account_authorizations* tmp_add_class_43;
  tl_ds_account_days_t_t_l* tmp_add_class_44;
  tl_ds_account_password* tmp_add_class_45;
  tl_ds_account_password_input_settings* tmp_add_class_46;
  tl_ds_account_password_settings* tmp_add_class_47;
  tl_ds_account_privacy_rules* tmp_add_class_48;
  tl_ds_account_sent_change_phone_code* tmp_add_class_49;
  tl_ds_audio* tmp_add_class_50;
  tl_ds_auth_authorization* tmp_add_class_51;
  tl_ds_auth_checked_phone* tmp_add_class_52;
  tl_ds_auth_exported_authorization* tmp_add_class_53;
  tl_ds_auth_password_recovery* tmp_add_class_54;
  tl_ds_auth_sent_code* tmp_add_class_55;
  tl_ds_authorization* tmp_add_class_56;
  tl_ds_binlog_encr_key* tmp_add_class_57;
  tl_ds_binlog_peer* tmp_add_class_58;
  tl_ds_binlog_peer_type* tmp_add_class_59;
  tl_ds_binlog_update* tmp_add_class_60;
  tl_ds_bool* tmp_add_class_61;
  tl_ds_bot_command* tmp_add_class_62;
  tl_ds_bot_info* tmp_add_class_63;
  tl_ds_bot_inline_message* tmp_add_class_64;
  tl_ds_bot_inline_result* tmp_add_class_65;
  tl_ds_bytes* tmp_add_class_66;
  tl_ds_channel_messages_filter* tmp_add_class_67;
  tl_ds_channel_participant* tmp_add_class_68;
  tl_ds_channel_participant_role* tmp_add_class_69;
  tl_ds_channel_participants_filter* tmp_add_class_70;
  tl_ds_channels_channel_participant* tmp_add_class_71;
  tl_ds_channels_channel_participants* tmp_add_class_72;
  tl_ds_chat* tmp_add_class_73;
  tl_ds_chat_full* tmp_add_class_74;
  tl_ds_chat_invite* tmp_add_class_75;
  tl_ds_chat_participant* tmp_add_class_76;
  tl_ds_chat_participants* tmp_add_class_77;
  tl_ds_chat_photo* tmp_add_class_78;
  tl_ds_client_d_h_inner_data* tmp_add_class_79;
  tl_ds_config* tmp_add_class_80;
  tl_ds_contact* tmp_add_class_81;
  tl_ds_contact_blocked* tmp_add_class_82;
  tl_ds_contact_link* tmp_add_class_83;
  tl_ds_contact_status* tmp_add_class_84;
  tl_ds_contact_suggested* tmp_add_class_85;
  tl_ds_contacts_blocked* tmp_add_class_86;
  tl_ds_contacts_contacts* tmp_add_class_87;
  tl_ds_contacts_found* tmp_add_class_88;
  tl_ds_contacts_imported_contacts* tmp_add_class_89;
  tl_ds_contacts_link* tmp_add_class_90;
  tl_ds_contacts_resolved_peer* tmp_add_class_91;
  tl_ds_contacts_suggested* tmp_add_class_92;
  tl_ds_dc_option* tmp_add_class_93;
  tl_ds_decrypted_message* tmp_add_class_94;
  tl_ds_decrypted_message_action* tmp_add_class_95;
  tl_ds_decrypted_message_layer* tmp_add_class_96;
  tl_ds_decrypted_message_media* tmp_add_class_97;
  tl_ds_dialog* tmp_add_class_98;
  tl_ds_disabled_feature* tmp_add_class_99;
  tl_ds_document* tmp_add_class_100;
  tl_ds_document_attribute* tmp_add_class_101;
  tl_ds_double* tmp_add_class_102;
  tl_ds_encrypted_chat* tmp_add_class_103;
  tl_ds_encrypted_file* tmp_add_class_104;
  tl_ds_encrypted_message* tmp_add_class_105;
  tl_ds_error* tmp_add_class_106;
  tl_ds_exported_chat_invite* tmp_add_class_107;
  tl_ds_file_location* tmp_add_class_108;
  tl_ds_found_gif* tmp_add_class_109;
  tl_ds_geo_point* tmp_add_class_110;
  tl_ds_help_app_changelog* tmp_add_class_111;
  tl_ds_help_app_update* tmp_add_class_112;
  tl_ds_help_invite_text* tmp_add_class_113;
  tl_ds_help_support* tmp_add_class_114;
  tl_ds_help_terms_of_service* tmp_add_class_115;
  tl_ds_imported_contact* tmp_add_class_116;
  tl_ds_input_app_event* tmp_add_class_117;
  tl_ds_input_audio* tmp_add_class_118;
  tl_ds_input_bot_inline_message* tmp_add_class_119;
  tl_ds_input_bot_inline_result* tmp_add_class_120;
  tl_ds_input_channel* tmp_add_class_121;
  tl_ds_input_chat_photo* tmp_add_class_122;
  tl_ds_input_contact* tmp_add_class_123;
  tl_ds_input_document* tmp_add_class_124;
  tl_ds_input_encrypted_chat* tmp_add_class_125;
  tl_ds_input_encrypted_file* tmp_add_class_126;
  tl_ds_input_file* tmp_add_class_127;
  tl_ds_input_file_location* tmp_add_class_128;
  tl_ds_input_geo_point* tmp_add_class_129;
  tl_ds_input_media* tmp_add_class_130;
  tl_ds_input_notify_peer* tmp_add_class_131;
  tl_ds_input_peer* tmp_add_class_132;
  tl_ds_input_peer_notify_events* tmp_add_class_133;
  tl_ds_input_peer_notify_settings* tmp_add_class_134;
  tl_ds_input_photo* tmp_add_class_135;
  tl_ds_input_photo_crop* tmp_add_class_136;
  tl_ds_input_privacy_key* tmp_add_class_137;
  tl_ds_input_privacy_rule* tmp_add_class_138;
  tl_ds_input_sticker_set* tmp_add_class_139;
  tl_ds_input_user* tmp_add_class_140;
  tl_ds_input_video* tmp_add_class_141;
  tl_ds_int* tmp_add_class_142;
  tl_ds_int128* tmp_add_class_143;
  tl_ds_int256* tmp_add_class_144;
  tl_ds_keyboard_button* tmp_add_class_145;
  tl_ds_keyboard_button_row* tmp_add_class_146;
  tl_ds_long* tmp_add_class_147;
  tl_ds_message* tmp_add_class_148;
  tl_ds_message_action* tmp_add_class_149;
  tl_ds_message_entity* tmp_add_class_150;
  tl_ds_message_group* tmp_add_class_151;
  tl_ds_message_media* tmp_add_class_152;
  tl_ds_message_range* tmp_add_class_153;
  tl_ds_messages_affected_history* tmp_add_class_154;
  tl_ds_messages_affected_messages* tmp_add_class_155;
  tl_ds_messages_all_stickers* tmp_add_class_156;
  tl_ds_messages_bot_results* tmp_add_class_157;
  tl_ds_messages_chat_full* tmp_add_class_158;
  tl_ds_messages_chats* tmp_add_class_159;
  tl_ds_messages_dh_config* tmp_add_class_160;
  tl_ds_messages_dialogs* tmp_add_class_161;
  tl_ds_messages_filter* tmp_add_class_162;
  tl_ds_messages_found_gifs* tmp_add_class_163;
  tl_ds_messages_messages* tmp_add_class_164;
  tl_ds_messages_saved_gifs* tmp_add_class_165;
  tl_ds_messages_sent_encrypted_message* tmp_add_class_166;
  tl_ds_messages_sticker_set* tmp_add_class_167;
  tl_ds_messages_stickers* tmp_add_class_168;
  tl_ds_nearest_dc* tmp_add_class_169;
  tl_ds_notify_peer* tmp_add_class_170;
  tl_ds_null* tmp_add_class_171;
  tl_ds_p_q_inner_data* tmp_add_class_172;
  tl_ds_peer* tmp_add_class_173;
  tl_ds_peer_notify_events* tmp_add_class_174;
  tl_ds_peer_notify_settings* tmp_add_class_175;
  tl_ds_photo* tmp_add_class_176;
  tl_ds_photo_size* tmp_add_class_177;
  tl_ds_photos_photo* tmp_add_class_178;
  tl_ds_photos_photos* tmp_add_class_179;
  tl_ds_privacy_key* tmp_add_class_180;
  tl_ds_privacy_rule* tmp_add_class_181;
  tl_ds_received_notify_message* tmp_add_class_182;
  tl_ds_reply_markup* tmp_add_class_183;
  tl_ds_report_reason* tmp_add_class_184;
  tl_ds_res_p_q* tmp_add_class_185;
  tl_ds_send_message_action* tmp_add_class_186;
  tl_ds_server_d_h_inner_data* tmp_add_class_187;
  tl_ds_server_d_h_params* tmp_add_class_188;
  tl_ds_set_client_d_h_params_answer* tmp_add_class_189;
  tl_ds_sticker_pack* tmp_add_class_190;
  tl_ds_sticker_set* tmp_add_class_191;
  tl_ds_storage_file_type* tmp_add_class_192;
  tl_ds_string* tmp_add_class_193;
  tl_ds_true* tmp_add_class_194;
  tl_ds_update* tmp_add_class_195;
  tl_ds_updates* tmp_add_class_196;
  tl_ds_updates_channel_difference* tmp_add_class_197;
  tl_ds_updates_difference* tmp_add_class_198;
  tl_ds_updates_state* tmp_add_class_199;
  tl_ds_upload_file* tmp_add_class_200;
  tl_ds_user* tmp_add_class_201;
  tl_ds_user_full* tmp_add_class_202;
  tl_ds_user_profile_photo* tmp_add_class_203;
  tl_ds_user_status* tmp_add_class_204;
  tl_ds_vector* tmp_add_class_205;
  tl_ds_video* tmp_add_class_206;
  tl_ds_wall_paper* tmp_add_class_207;
  tl_ds_web_page* tmp_add_class_208;
  tl_tree* tmp_add_class_209;
  tl_tree_array* tmp_add_class_210;
  tl_tree_methods* tmp_add_class_211;
  tl_tree_nat_const* tmp_add_class_212;
  tl_tree_type* tmp_add_class_213;
  tl_tree_var_num* tmp_add_class_214;
  tl_tree_var_type* tmp_add_class_215;
  tl_type* tmp_add_class_216;
  tl_type_descr* tmp_add_class_217;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/ERwdBAQFly/dump1.h"  -I/usr/include/tgl

In file included from /usr/include/tgl/auto/auto-free-ds.h:2,
                 from /tmp/ERwdBAQFly/dump1.h:15:
/usr/include/tgl/auto/auto-types.h:493:22: error: expected unqualified-id before ‘public’
  493 |   struct tl_ds_true *public;
      |                      ^~~~~~
In file included from /tmp/ERwdBAQFly/dump1.h:32:
/usr/include/tgl/event-old.h: In function ‘event* event_new(event_base*, int, int, void (*)(int, short int, void*), void*)’:
/usr/include/tgl/event-old.h:17:30: error: invalid application of ‘sizeof’ to incomplete type ‘event’
   17 |   struct event *ev = malloc (sizeof (*ev));
      |                              ^~~~~~~~~~~~
/usr/include/tgl/event-old.h:18:3: error: ‘event_set’ was not declared in this scope; did you mean ‘event_new’?
   18 |   event_set (ev, fd, what, callback, arg);
      |   ^~~~~~~~~
      |   event_new
/usr/include/tgl/event-old.h:19:3: error: ‘event_base_set’ was not declared in this scope; did you mean ‘event_base’?
   19 |   event_base_set (base, ev);
      |   ^~~~~~~~~~~~~~
      |   event_base
/usr/include/tgl/event-old.h: In function ‘event* evtimer_new(event_base*, void (*)(int, short int, void*), void*)’:
/usr/include/tgl/event-old.h:25:30: error: invalid application of ‘sizeof’ to incomplete type ‘event’
   25 |   struct event *ev = malloc (sizeof (*ev));
      |                              ^~~~~~~~~~~~
/usr/include/tgl/event-old.h:26:3: error: ‘event_set’ was not declared in this scope; did you mean ‘event_new’?
   26 |   event_set (ev, -1, 0, callback, arg);
      |   ^~~~~~~~~
      |   event_new
/usr/include/tgl/event-old.h:27:3: error: ‘event_base_set’ was not declared in this scope; did you mean ‘event_base’?
   27 |   event_base_set (base, ev);
      |   ^~~~~~~~~~~~~~
      |   event_base
/usr/include/tgl/event-old.h: In function ‘void event_free(event*)’:
/usr/include/tgl/event-old.h:33:3: error: ‘event_del’ was not declared in this scope; did you mean ‘event_new’?
   33 |   event_del (ev);
      |   ^~~~~~~~~
      |   event_new
/usr/include/tgl/event-old.h: In function ‘bufferevent* bufferevent_socket_new(event_base*, int, int)’:
/usr/include/tgl/event-old.h:40:29: error: ‘bufferevent_new’ was not declared in this scope; did you mean ‘bufferevent’?
   40 |   struct bufferevent *bev = bufferevent_new(fd, 0, 0, 0, 0);
      |                             ^~~~~~~~~~~~~~~
      |                             bufferevent
/usr/include/tgl/event-old.h:41:3: error: ‘bufferevent_base_set’ was not declared in this scope; did you mean ‘bufferevent_socket_new’?
   41 |   bufferevent_base_set (base, bev);
      |   ^~~~~~~~~~~~~~~~~~~~
      |   bufferevent_socket_new
/usr/include/tgl/event-old.h: In function ‘void* event_get_callback_arg(const event*)’:
/usr/include/tgl/event-old.h:46:12: error: invalid use of incomplete type ‘const struct event’
   46 |   return ev->ev_arg;
      |            ^~
/usr/include/tgl/event-old.h:15:22: note: forward declaration of ‘struct event’
   15 | static inline struct event *event_new (struct event_base *base, int fd, int what, void(*callback)(int, short, void *), void *arg) __attribute__ ((unused));
      |                      ^~~~~
/tmp/ERwdBAQFly/dump1.h: At global scope:
/tmp/ERwdBAQFly/dump1.h:69:3: error: ‘tgl_allocator’ does not name a type
   69 |   tgl_allocator* tmp_add_class_12;
      |   ^~~~~~~~~~~~~

