Temporary header file '/tmp/93NFjGsE6t/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/dublintraceroute/common.h" #include "/usr/include/dublintraceroute/dublin_traceroute.h" #include "/usr/include/dublintraceroute/exceptions.h" #include "/usr/include/dublintraceroute/hop.h" #include "/usr/include/dublintraceroute/hops.h" #include "/usr/include/dublintraceroute/icmp_messages.h" #include "/usr/include/dublintraceroute/traceroute_results.h" #include "/usr/include/dublintraceroute/udpv4probe.h" // add namespaces namespace Json{typedef int tmp_add_type_1;} Json::tmp_add_type_1 tmp_add_func_1(){return 0;}; namespace Tins{typedef int tmp_add_type_2;} Tins::tmp_add_type_2 tmp_add_func_2(){return 0;}; namespace Tins{namespace Allocators{typedef int tmp_add_type_3;}} Tins::Allocators::tmp_add_type_3 tmp_add_func_3(){return 0;}; namespace Tins{namespace Crypto{typedef int tmp_add_type_4;}} Tins::Crypto::tmp_add_type_4 tmp_add_func_4(){return 0;}; namespace Tins{namespace Crypto{namespace WPA2{typedef int tmp_add_type_5;}}} Tins::Crypto::WPA2::tmp_add_type_5 tmp_add_func_5(){return 0;}; namespace Tins{namespace Endian{typedef int tmp_add_type_6;}} Tins::Endian::tmp_add_type_6 tmp_add_func_6(){return 0;}; namespace Tins{namespace Internals{typedef int tmp_add_type_7;}} Tins::Internals::tmp_add_type_7 tmp_add_func_7(){return 0;}; namespace Tins{namespace Internals{namespace Converters{typedef int tmp_add_type_8;}}} Tins::Internals::Converters::tmp_add_type_8 tmp_add_func_8(){return 0;}; namespace Tins{namespace Memory{typedef int tmp_add_type_9;}} Tins::Memory::tmp_add_type_9 tmp_add_func_9(){return 0;}; namespace Tins{namespace Utils{typedef int tmp_add_type_10;}} Tins::Utils::tmp_add_type_10 tmp_add_func_10(){return 0;}; // add classes DublinTraceroute* tmp_add_class_0; DublinTracerouteException* tmp_add_class_1; DublinTracerouteFailedException* tmp_add_class_2; DublinTracerouteInProgressException* tmp_add_class_3; Hop* tmp_add_class_4; Hops* tmp_add_class_5; TracerouteResults* tmp_add_class_6; UDPv4Probe* tmp_add_class_7; _G_fpos64_t* tmp_add_class_8; _G_fpos_t* tmp_add_class_9; _IO_cookie_io_functions_t* tmp_add_class_10; addrinfo* tmp_add_class_11; bpf_insn* tmp_add_class_12; bpf_program* tmp_add_class_13; cmsghdr* tmp_add_class_14; data* tmp_add_class_15; gaicb* tmp_add_class_16; group_filter* tmp_add_class_17; group_req* tmp_add_class_18; group_source_req* tmp_add_class_19; hostent* tmp_add_class_20; icmpmessage_equals* tmp_add_class_21; icmpmessage_hash* tmp_add_class_22; icmpmessages* tmp_add_class_23; in6_addr* tmp_add_class_24; in6_pktinfo* tmp_add_class_25; in_addr* tmp_add_class_26; in_pktinfo* tmp_add_class_27; iovec* tmp_add_class_28; ip6_mtuinfo* tmp_add_class_29; ip_mreq* tmp_add_class_30; ip_mreq_source* tmp_add_class_31; ip_mreqn* tmp_add_class_32; ip_msfilter* tmp_add_class_33; ip_opts* tmp_add_class_34; ipv6_mreq* tmp_add_class_35; itimerval* tmp_add_class_36; linger* tmp_add_class_37; mmsghdr* tmp_add_class_38; msghdr* tmp_add_class_39; netent* tmp_add_class_40; osockaddr* tmp_add_class_41; pcap_addr* tmp_add_class_42; pcap_file_header* tmp_add_class_43; pcap_if* tmp_add_class_44; pcap_pkthdr* tmp_add_class_45; pcap_rmtauth* tmp_add_class_46; pcap_samp* tmp_add_class_47; pcap_stat* tmp_add_class_48; protoent* tmp_add_class_49; rpcent* tmp_add_class_50; servent* tmp_add_class_51; sockaddr* tmp_add_class_52; sockaddr_in* tmp_add_class_53; sockaddr_in6* tmp_add_class_54; sockaddr_storage* tmp_add_class_55; ucontext_t* tmp_add_class_56; ucred* tmp_add_class_57; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/93NFjGsE6t/dump1.h" -I/usr/include/jsoncpp