Temporary header file '/tmp/8gRDmizvuc/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/stdlib.h" #include "/usr/include/stdint.h" #include "/usr/include/ell/acd.h" #include "/usr/include/ell/base64.h" #include "/usr/include/ell/cert.h" #include "/usr/include/ell/checksum.h" #include "/usr/include/ell/cipher.h" #include "/usr/include/ell/cleanup.h" #include "/usr/include/ell/dbus-client.h" #include "/usr/include/ell/dbus-service.h" #include "/usr/include/ell/dbus.h" #include "/usr/include/ell/dhcp.h" #include "/usr/include/ell/dhcp6.h" #include "/usr/include/ell/dir.h" #include "/usr/include/ell/ecc.h" #include "/usr/include/ell/ecdh.h" #include "/usr/include/ell/ell.h" #include "/usr/include/ell/file.h" #include "/usr/include/ell/genl.h" #include "/usr/include/ell/gpio.h" #include "/usr/include/ell/hashmap.h" #include "/usr/include/ell/hwdb.h" #include "/usr/include/ell/icmp6.h" #include "/usr/include/ell/idle.h" #include "/usr/include/ell/io.h" #include "/usr/include/ell/key.h" #include "/usr/include/ell/log.h" #include "/usr/include/ell/main.h" #include "/usr/include/ell/net.h" #include "/usr/include/ell/netconfig.h" #include "/usr/include/ell/netlink.h" #include "/usr/include/ell/path.h" #include "/usr/include/ell/pem.h" #include "/usr/include/ell/queue.h" #include "/usr/include/ell/random.h" #include "/usr/include/ell/ringbuf.h" #include "/usr/include/ell/rtnl.h" #include "/usr/include/ell/settings.h" #include "/usr/include/ell/signal.h" #include "/usr/include/ell/string.h" #include "/usr/include/ell/strv.h" #include "/usr/include/ell/test.h" #include "/usr/include/ell/tester.h" #include "/usr/include/ell/time.h" #include "/usr/include/ell/timeout.h" #include "/usr/include/ell/tls.h" #include "/usr/include/ell/uintset.h" #include "/usr/include/ell/utf8.h" #include "/usr/include/ell/util.h" #include "/usr/include/ell/uuid.h" // add classes if_stats_msg* tmp_add_class_0; ifa_cacheinfo* tmp_add_class_1; ifaddrmsg* tmp_add_class_2; ifinfomsg* tmp_add_class_3; ifla_bridge_id* tmp_add_class_4; ifla_cacheinfo* tmp_add_class_5; ifla_port_vsi* tmp_add_class_6; ifla_rmnet_flags* tmp_add_class_7; ifla_vf_broadcast* tmp_add_class_8; ifla_vf_guid* tmp_add_class_9; ifla_vf_link_state* tmp_add_class_10; ifla_vf_mac* tmp_add_class_11; ifla_vf_rate* tmp_add_class_12; ifla_vf_rss_query_en* tmp_add_class_13; ifla_vf_spoofchk* tmp_add_class_14; ifla_vf_trust* tmp_add_class_15; ifla_vf_tx_rate* tmp_add_class_16; ifla_vf_vlan* tmp_add_class_17; ifla_vf_vlan_info* tmp_add_class_18; ifla_vlan_flags* tmp_add_class_19; ifla_vlan_qos_mapping* tmp_add_class_20; ifla_vxlan_port_range* tmp_add_class_21; iovec* tmp_add_class_22; l_dbus_message_iter* tmp_add_class_23; l_debug_desc* tmp_add_class_24; l_genl_attr* tmp_add_class_25; l_hwdb_entry* tmp_add_class_26; l_queue_entry* tmp_add_class_27; nda_cacheinfo* tmp_add_class_28; ndmsg* tmp_add_class_29; ndt_config* tmp_add_class_30; ndt_stats* tmp_add_class_31; ndtmsg* tmp_add_class_32; nduseroptmsg* tmp_add_class_33; nl_mmap_hdr* tmp_add_class_34; nl_mmap_req* tmp_add_class_35; nl_pktinfo* tmp_add_class_36; nla_bitfield32* tmp_add_class_37; nlattr* tmp_add_class_38; nlmsgerr* tmp_add_class_39; nlmsghdr* tmp_add_class_40; prefix_cacheinfo* tmp_add_class_41; prefixmsg* tmp_add_class_42; rta_cacheinfo* tmp_add_class_43; rta_mfc_stats* tmp_add_class_44; rta_session* tmp_add_class_45; rtattr* tmp_add_class_46; rtgenmsg* tmp_add_class_47; rtmsg* tmp_add_class_48; rtnexthop* tmp_add_class_49; rtnl_hw_stats64* tmp_add_class_50; rtnl_link_ifmap* tmp_add_class_51; rtnl_link_stats* tmp_add_class_52; rtnl_link_stats64* tmp_add_class_53; rtvia* tmp_add_class_54; sockaddr_nl* tmp_add_class_55; tcamsg* tmp_add_class_56; tcmsg* tmp_add_class_57; tunnel_msg* tmp_add_class_58; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/8gRDmizvuc/dump1.h" In file included from /tmp/8gRDmizvuc/dump1.h:16: /usr/include/ell/cert.h:73:31: error: use of enum ‘l_checksum_type’ without previous declaration 73 | bool l_cert_pkcs5_pbkdf1(enum l_checksum_type type, const char *password, | ^~~~~~~~~~~~~~~ /usr/include/ell/cert.h:77:31: error: use of enum ‘l_checksum_type’ without previous declaration 77 | bool l_cert_pkcs5_pbkdf2(enum l_checksum_type type, const char *password, | ^~~~~~~~~~~~~~~ In file included from /tmp/8gRDmizvuc/dump1.h:20: /usr/include/ell/dbus-client.h:55:49: error: ‘l_dbus_watch_func_t’ has not been declared 55 | l_dbus_watch_func_t function, | ^~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:57:49: error: ‘l_dbus_destroy_func_t’ has not been declared 57 | l_dbus_destroy_func_t destroy); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:60:49: error: ‘l_dbus_watch_func_t’ has not been declared 60 | l_dbus_watch_func_t function, | ^~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:62:49: error: ‘l_dbus_destroy_func_t’ has not been declared 62 | l_dbus_destroy_func_t destroy); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:67:41: error: ‘l_dbus_destroy_func_t’ has not been declared 67 | l_dbus_destroy_func_t destroy); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:73:42: error: ‘l_dbus_destroy_func_t’ has not been declared 73 | void *user_data, l_dbus_destroy_func_t destroy); | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:84:50: error: ‘l_dbus_destroy_func_t’ has not been declared 84 | void *user_data, l_dbus_destroy_func_t destroy, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:89:41: error: ‘l_dbus_message_func_t’ has not been declared 89 | l_dbus_message_func_t setup, | ^~~~~~~~~~~~~~~~~~~~~ /usr/include/ell/dbus-client.h:92:41: error: ‘l_dbus_destroy_func_t’ has not been declared 92 | l_dbus_destroy_func_t destroy); | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ell/ell.h:53, from /tmp/8gRDmizvuc/dump1.h:28: /usr/include/ell/rtnl.h:110:60: error: expected primary-expression before ‘static’ 110 | const uint8_t addr[static 6], | ^~~~~~ /usr/include/ell/rtnl.h:110:60: error: expected ‘]’ before ‘static’ 110 | const uint8_t addr[static 6], | ^~~~~~ | ] /usr/include/ell/rtnl.h:110:60: error: expected ‘)’ before ‘static’ 110 | const uint8_t addr[static 6], | ^~~~~~ | ) /usr/include/ell/rtnl.h:109:24: note: to match this ‘(’ 109 | uint32_t l_rtnl_set_mac(struct l_netlink *rtnl, int ifindex, | ^ /usr/include/ell/rtnl.h:110:60: error: expected initializer before ‘static’ 110 | const uint8_t addr[static 6], | ^~~~~~ In file included from /usr/include/ell/ell.h:59: /usr/include/ell/icmp6.h:62:60: error: expected primary-expression before ‘static’ 62 | const uint8_t addr[static 6]); | ^~~~~~ /usr/include/ell/icmp6.h:62:60: error: expected ‘]’ before ‘static’ 62 | const uint8_t addr[static 6]); | ^~~~~~ | ] /usr/include/ell/icmp6.h:62:60: error: expected ‘)’ before ‘static’ 62 | const uint8_t addr[static 6]); | ^~~~~~ | ) /usr/include/ell/icmp6.h:61:32: note: to match this ‘(’ 61 | bool l_icmp6_client_set_address(struct l_icmp6_client *client, | ^ /usr/include/ell/icmp6.h:62:60: error: expected initializer before ‘static’ 62 | const uint8_t addr[static 6]); | ^~~~~~