Temporary header file '/tmp/FV_FLtkxCf/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/psocksxx/iosocks.h" #include "/usr/include/psocksxx/iosockstream.h" #include "/usr/include/psocksxx/isockstream.h" #include "/usr/include/psocksxx/lsockaddr.h" #include "/usr/include/psocksxx/lsockstream.h" #include "/usr/include/psocksxx/nsockaddr.h" #include "/usr/include/psocksxx/nsockstream.h" #include "/usr/include/psocksxx/osockstream.h" #include "/usr/include/psocksxx/sockaddr.h" #include "/usr/include/psocksxx/sockexception.h" #include "/usr/include/psocksxx/sockstreambuf.h" #include "/usr/include/psocksxx/socktimeoutexception.h" #include "/usr/include/psocksxx/tcpnsockstream.h" #include "/usr/include/psocksxx/udpnsockstream.h" // add namespaces namespace psocksxx{typedef int tmp_add_type_1;} psocksxx::tmp_add_type_1 tmp_add_func_1(){return 0;}; // 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; cmsghdr* tmp_add_class_3; group_filter* tmp_add_class_4; group_req* tmp_add_class_5; group_source_req* tmp_add_class_6; in6_addr* tmp_add_class_7; in6_pktinfo* tmp_add_class_8; in_addr* tmp_add_class_9; in_pktinfo* tmp_add_class_10; iovec* tmp_add_class_11; ip6_mtuinfo* tmp_add_class_12; ip_mreq* tmp_add_class_13; ip_mreq_source* tmp_add_class_14; ip_mreqn* tmp_add_class_15; ip_msfilter* tmp_add_class_16; ip_opts* tmp_add_class_17; ipv6_mreq* tmp_add_class_18; itimerval* tmp_add_class_19; linger* tmp_add_class_20; mmsghdr* tmp_add_class_21; msghdr* tmp_add_class_22; osockaddr* tmp_add_class_23; sockaddr* tmp_add_class_24; sockaddr_in* tmp_add_class_25; sockaddr_in6* tmp_add_class_26; sockaddr_storage* tmp_add_class_27; sockaddr_un* tmp_add_class_28; ucred* tmp_add_class_29; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/FV_FLtkxCf/dump1.h" In file included from /usr/include/psocksxx/iosocks.h:23, from /tmp/FV_FLtkxCf/dump1.h:12: /usr/include/psocksxx/sockstreambuf.h:128:113: error: ISO C++17 does not allow dynamic exception specifications 128 | void open( socket_domain_t domain, socket_type_t type, socket_protocol_t proto = proto_unspec ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:149:37: error: ISO C++17 does not allow dynamic exception specifications 149 | virtual int flush() throw( socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:165:86: error: ISO C++17 does not allow dynamic exception specifications 165 | void connect( const sockaddr * dest_addr, unsigned int timeout = 0 ) throw( sockexception, socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:181:79: error: ISO C++17 does not allow dynamic exception specifications 181 | void connect( const sockaddr * dest_addr, timeval * timeout ) throw( sockexception, socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:195:82: error: ISO C++17 does not allow dynamic exception specifications 195 | void bind( const sockaddr * bind_addr, bool reuse_addr = false ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:209:56: error: ISO C++17 does not allow dynamic exception specifications 209 | void listen( int backlog = SOMAXCONN ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:223:35: error: ISO C++17 does not allow dynamic exception specifications 223 | socket_t accept() throw( sockexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:298:53: error: ISO C++17 does not allow dynamic exception specifications 298 | virtual int overflow( int c = eof ) throw( socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:314:41: error: ISO C++17 does not allow dynamic exception specifications 314 | virtual int underflow() throw( socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/sockstreambuf.h:328:94: error: ISO C++17 does not allow dynamic exception specifications 328 | bool ready( timeval * timeout, bool chk_read = true, bool chk_write = true ) throw( sockexception ); | ^~~~~ In file included from /tmp/FV_FLtkxCf/dump1.h:16: /usr/include/psocksxx/lsockstream.h:46:31: error: ISO C++17 does not allow dynamic exception specifications 46 | lsockstream() throw( sockexception ); | ^~~~~ /usr/include/psocksxx/lsockstream.h:64:51: error: ISO C++17 does not allow dynamic exception specifications 64 | void connect( const char * path ) throw( sockexception, socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/lsockstream.h:77:57: error: ISO C++17 does not allow dynamic exception specifications 77 | void connect( const lsockaddr * saddr ) throw( sockexception, socktimeoutexception ); | ^~~~~ In file included from /tmp/FV_FLtkxCf/dump1.h:17: /usr/include/psocksxx/nsockaddr.h:50:69: error: ISO C++17 does not allow dynamic exception specifications 50 | nsockaddr( const char * node, unsigned short port ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/nsockaddr.h:73:70: error: ISO C++17 does not allow dynamic exception specifications 73 | nsockaddr( const char * node, const char * service ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/nsockaddr.h:92:61: error: ISO C++17 does not allow dynamic exception specifications 92 | in_addr_t resolve_node( const char * node ) throw( sockexception ); | ^~~~~ In file included from /tmp/FV_FLtkxCf/dump1.h:18: /usr/include/psocksxx/nsockstream.h:48:106: error: ISO C++17 does not allow dynamic exception specifications 48 | nsockstream( sockstreambuf::socket_type_t type, sockstreambuf::socket_protocol_t proto ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/nsockstream.h:79:57: error: ISO C++17 does not allow dynamic exception specifications 79 | void connect( const nsockaddr * saddr ) throw( sockexception, socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/nsockstream.h:93:70: error: ISO C++17 does not allow dynamic exception specifications 93 | void connect( const char * node, unsigned int port ) throw( sockexception, socktimeoutexception ); | ^~~~~ /usr/include/psocksxx/nsockstream.h:107:79: error: ISO C++17 does not allow dynamic exception specifications 107 | void bind( const nsockaddr * saddr, bool reuse_addr = false ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/nsockstream.h:122:48: error: ISO C++17 does not allow dynamic exception specifications 122 | void listen( int backlog = 0 ) throw( sockexception ); | ^~~~~ /usr/include/psocksxx/nsockstream.h:136:40: error: ISO C++17 does not allow dynamic exception specifications 136 | nsockstream * accept() throw( sockexception ); | ^~~~~ In file included from /tmp/FV_FLtkxCf/dump1.h:24: /usr/include/psocksxx/tcpnsockstream.h:44:34: error: ISO C++17 does not allow dynamic exception specifications 44 | tcpnsockstream() throw( sockexception ); | ^~~~~ In file included from /tmp/FV_FLtkxCf/dump1.h:25: /usr/include/psocksxx/udpnsockstream.h:45:34: error: ISO C++17 does not allow dynamic exception specifications 45 | udpnsockstream() throw( sockexception ); | ^~~~~