Temporary header file '/tmp/e1PzLHT8mX/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/pcp/config.h" #include "/usr/include/pcp/config32.h" #include "/usr/include/pcp/config64.h" #include "/usr/include/pcp/configsz.h" #include "/usr/include/pcp/deprecated.h" #include "/usr/include/pcp/dict.h" #include "/usr/include/pcp/impl.h" #include "/usr/include/pcp/ini.h" #include "/usr/include/pcp/platform32.h" #include "/usr/include/pcp/platform64.h" #include "/usr/include/pcp/platform_defs.h" #include "/usr/include/pcp/platformsz.h" #include "/usr/include/pcp/pmapi.h" #include "/usr/include/pcp/pmdbg.h" #include "/usr/include/pcp/pmwebapi.h" #include "/usr/include/pcp/sds.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; addrinfo* tmp_add_class_3; cmsghdr* tmp_add_class_4; dict* tmp_add_class_5; dictEntry* tmp_add_class_6; dictIterator* tmp_add_class_7; dictType* tmp_add_class_8; dictht* tmp_add_class_9; f_owner_ex* tmp_add_class_10; file_handle* tmp_add_class_11; flock64* tmp_add_class_12; gaicb* tmp_add_class_13; group_filter* tmp_add_class_14; group_req* tmp_add_class_15; group_source_req* tmp_add_class_16; hostent* tmp_add_class_17; in6_addr* tmp_add_class_18; in6_pktinfo* tmp_add_class_19; in_addr* tmp_add_class_20; in_pktinfo* tmp_add_class_21; iovec* tmp_add_class_22; ip6_mtuinfo* tmp_add_class_23; ip_mreq* tmp_add_class_24; ip_mreq_source* tmp_add_class_25; ip_mreqn* tmp_add_class_26; ip_msfilter* tmp_add_class_27; ip_opts* tmp_add_class_28; ipv6_mreq* tmp_add_class_29; itimerval* tmp_add_class_30; linger* tmp_add_class_31; mmsghdr* tmp_add_class_32; msghdr* tmp_add_class_33; netent* tmp_add_class_34; osockaddr* tmp_add_class_35; pmDesc* tmp_add_class_36; pmDiscoverCallBacks* tmp_add_class_37; pmDiscoverContext* tmp_add_class_38; pmDiscoverEvent* tmp_add_class_39; pmDiscoverModule* tmp_add_class_40; pmDiscoverSettings* tmp_add_class_41; pmEventArray* tmp_add_class_42; pmEventParameter* tmp_add_class_43; pmEventRecord* tmp_add_class_44; pmHighResEventArray* tmp_add_class_45; pmHighResEventRecord* tmp_add_class_46; pmHighResLogLabel* tmp_add_class_47; pmHighResResult* tmp_add_class_48; pmInDomProfile* tmp_add_class_49; pmInResult* tmp_add_class_50; pmLabel* tmp_add_class_51; pmLabelSet* tmp_add_class_52; pmLogLabel* tmp_add_class_53; pmLongOptions* tmp_add_class_54; pmMetricSpec* tmp_add_class_55; pmOptions* tmp_add_class_56; pmProfile* tmp_add_class_57; pmResult* tmp_add_class_58; pmSearchCallBacks* tmp_add_class_59; pmSearchMetrics* tmp_add_class_60; pmSearchSettings* tmp_add_class_61; pmSearchTextRequest* tmp_add_class_62; pmSearchTextResult* tmp_add_class_63; pmSeriesCallBacks* tmp_add_class_64; pmSeriesDesc* tmp_add_class_65; pmSeriesExpr* tmp_add_class_66; pmSeriesInst* tmp_add_class_67; pmSeriesLabel* tmp_add_class_68; pmSeriesModule* tmp_add_class_69; pmSeriesSettings* tmp_add_class_70; pmSeriesTimeWindow* tmp_add_class_71; pmSeriesValue* tmp_add_class_72; pmTimespec* tmp_add_class_73; pmTimeval* tmp_add_class_74; pmUnits* tmp_add_class_75; pmValue* tmp_add_class_76; pmValueBlock* tmp_add_class_77; pmValueSet* tmp_add_class_78; pmWebAccess* tmp_add_class_79; pmWebChildren* tmp_add_class_80; pmWebGroupCallBacks* tmp_add_class_81; pmWebGroupModule* tmp_add_class_82; pmWebGroupSettings* tmp_add_class_83; pmWebInDom* tmp_add_class_84; pmWebInstance* tmp_add_class_85; pmWebLabelSet* tmp_add_class_86; pmWebMetric* tmp_add_class_87; pmWebResult* tmp_add_class_88; pmWebScrape* tmp_add_class_89; pmWebSource* tmp_add_class_90; pmWebValue* tmp_add_class_91; pmWebValueSet* tmp_add_class_92; protoent* tmp_add_class_93; rpcent* tmp_add_class_94; sdshdr16* tmp_add_class_95; sdshdr32* tmp_add_class_96; sdshdr5* tmp_add_class_97; sdshdr64* tmp_add_class_98; sdshdr8* tmp_add_class_99; servent* tmp_add_class_100; sockaddr* tmp_add_class_101; sockaddr_in* tmp_add_class_102; sockaddr_in6* tmp_add_class_103; sockaddr_storage* tmp_add_class_104; statx_timestamp* tmp_add_class_105; tcp_cookie_transactions* tmp_add_class_106; tcp_info* tmp_add_class_107; tcp_md5sig* tmp_add_class_108; tcp_repair_opt* tmp_add_class_109; tcp_repair_window* tmp_add_class_110; tcp_zerocopy_receive* tmp_add_class_111; tcphdr* tmp_add_class_112; ucontext_t* tmp_add_class_113; ucred* tmp_add_class_114; The GCC parameters: gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/e1PzLHT8mX/dump1.h" In file included from /tmp/e1PzLHT8mX/dump1.h:16: /usr/include/pcp/deprecated.h:56:1: error: ‘PCP_CALL’ does not name a type 56 | PCP_CALL extern int __pmSetProgname(const char *); | ^~~~~~~~ /usr/include/pcp/deprecated.h:56:1: note: the macro ‘PCP_CALL’ had not yet been defined In file included from /tmp/e1PzLHT8mX/dump1.h:22: /usr/include/pcp/platform_defs.h:380: note: it was later defined here 380 | #define PCP_CALL | /usr/include/pcp/deprecated.h:57:1: error: ‘PCP_DATA’ does not name a type 57 | PCP_DATA extern char *pmProgname; | ^~~~~~~~ /usr/include/pcp/deprecated.h:57:1: note: the macro ‘PCP_DATA’ had not yet been defined /usr/include/pcp/platform_defs.h:379: note: it was later defined here 379 | #define PCP_DATA | /usr/include/pcp/deprecated.h:58:1: error: ‘PCP_CALL’ does not name a type 58 | PCP_CALL extern int __pmParseDebug(const char *); | ^~~~~~~~ /usr/include/pcp/deprecated.h:58:1: note: the macro ‘PCP_CALL’ had not yet been defined /usr/include/pcp/platform_defs.h:380: note: it was later defined here 380 | #define PCP_CALL | /usr/include/pcp/deprecated.h:59:1: error: ‘PCP_CALL’ does not name a type 59 | PCP_CALL extern void __pmSetDebugBits(int); | ^~~~~~~~ /usr/include/pcp/deprecated.h:59:1: note: the macro ‘PCP_CALL’ had not yet been defined /usr/include/pcp/platform_defs.h:380: note: it was later defined here 380 | #define PCP_CALL | /usr/include/pcp/deprecated.h:65:1: error: ‘PCP_DATA’ does not name a type 65 | PCP_DATA extern int pmDebug; | ^~~~~~~~ /usr/include/pcp/deprecated.h:65:1: note: the macro ‘PCP_DATA’ had not yet been defined /usr/include/pcp/platform_defs.h:379: note: it was later defined here 379 | #define PCP_DATA | /usr/include/pcp/deprecated.h:101:1: error: ‘PCP_CALL’ does not name a type 101 | PCP_CALL struct __pmContext *__pmCurrentContext(void); | ^~~~~~~~ /usr/include/pcp/deprecated.h:101:1: note: the macro ‘PCP_CALL’ had not yet been defined /usr/include/pcp/platform_defs.h:380: note: it was later defined here 380 | #define PCP_CALL |