Temporary header file '/tmp/sZVqcgKfxD/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/time.h"
  #include "/usr/include/stdlib.h"
  #include "/usr/include/stdio.h"
  #include "/usr/include/pcp/pmda.h"
  #include "/usr/include/pcp/pmdaroot.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;
  pmdaExt* tmp_add_class_3;
  pmdaIndom* tmp_add_class_4;
  pmdaInstid* tmp_add_class_5;
  pmdaInterface* tmp_add_class_6;
  pmdaMetric* tmp_add_class_7;
  pmdaOptions* tmp_add_class_8;

The GCC parameters:
  gcc -fdump-lang-raw -fkeep-inline-functions -c -x c++ -fpermissive -w "/tmp/sZVqcgKfxD/dump1.h"

In file included from /tmp/sZVqcgKfxD/dump1.h:15:
/usr/include/pcp/pmda.h:61:5: error: ‘pmInDom’ does not name a type; did you mean ‘pmdaIndom’?
   61 |     pmInDom     it_indom;       /* indom, filled in */
      |     ^~~~~~~
      |     pmdaIndom
/usr/include/pcp/pmda.h:71:5: error: ‘pmDesc’ does not name a type
   71 |     pmDesc      m_desc;         /* metric description */
      |     ^~~~~~
/usr/include/pcp/pmda.h:77:62: error: ‘pmAtomValue’ has not been declared
   77 | typedef int (*pmdaFetchCallBack)(pmdaMetric *, unsigned int, pmAtomValue *);
      |                                                              ^~~~~~~~~~~
/usr/include/pcp/pmda.h:90:16: error: typedef ‘pmdaResultCallBack’ is initialized (use ‘decltype’ instead)
   90 | typedef void (*pmdaResultCallBack)(pmResult *);
      |                ^~~~~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:90:36: error: ‘pmResult’ was not declared in this scope
   90 | typedef void (*pmdaResultCallBack)(pmResult *);
      |                                    ^~~~~~~~
/usr/include/pcp/pmda.h:90:46: error: expected primary-expression before ‘)’ token
   90 | typedef void (*pmdaResultCallBack)(pmResult *);
      |                                              ^
/usr/include/pcp/pmda.h:113:15: error: typedef ‘pmdaLabelCallBack’ is initialized (use ‘decltype’ instead)
  113 | typedef int (*pmdaLabelCallBack)(pmInDom, unsigned int, pmLabelSet **);
      |               ^~~~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:113:34: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  113 | typedef int (*pmdaLabelCallBack)(pmInDom, unsigned int, pmLabelSet **);
      |                                  ^~~~~~~
      |                                  pmdaIndom
/usr/include/pcp/pmda.h:113:43: error: expected primary-expression before ‘unsigned’
  113 | typedef int (*pmdaLabelCallBack)(pmInDom, unsigned int, pmLabelSet **);
      |                                           ^~~~~~~~
/usr/include/pcp/pmda.h:113:57: error: ‘pmLabelSet’ was not declared in this scope
  113 | typedef int (*pmdaLabelCallBack)(pmInDom, unsigned int, pmLabelSet **);
      |                                                         ^~~~~~~~~~
/usr/include/pcp/pmda.h:113:70: error: expected primary-expression before ‘)’ token
  113 | typedef int (*pmdaLabelCallBack)(pmInDom, unsigned int, pmLabelSet **);
      |                                                                      ^
/usr/include/pcp/pmda.h:143:5: error: ‘pmProfile’ does not name a type
  143 |     pmProfile   *e_prof;        /* last received profile */
      |     ^~~~~~~~~
/usr/include/pcp/pmda.h:149:5: error: ‘pmdaResultCallBack’ does not name a type; did you mean ‘pmdaFetchCallBack’?
  149 |     pmdaResultCallBack  e_resultCallBack; /* callback to clean up pmResult after fetch */
      |     ^~~~~~~~~~~~~~~~~~
      |     pmdaFetchCallBack
/usr/include/pcp/pmda.h:159:5: error: ‘pmdaLabelCallBack’ does not name a type; did you mean ‘pmdaDoneCallBack’?
  159 |     pmdaLabelCallBack   e_labelCallBack; /* callback to lookup metric instance labels */
      |     ^~~~~~~~~~~~~~~~~
      |     pmdaDoneCallBack
/usr/include/pcp/pmda.h:223:32: error: ‘pmProfile’ has not been declared
  223 |             int     (*profile)(pmProfile *, pmdaExt *);
      |                                ^~~~~~~~~
/usr/include/pcp/pmda.h:224:35: error: ‘pmID’ has not been declared
  224 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                   ^~~~
/usr/include/pcp/pmda.h:224:43: error: ‘pmResult’ has not been declared
  224 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                           ^~~~~~~~
/usr/include/pcp/pmda.h:225:29: error: ‘pmID’ has not been declared
  225 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:225:35: error: ‘pmDesc’ has not been declared
  225 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                                   ^~~~~~
/usr/include/pcp/pmda.h:226:33: error: ‘pmInDom’ has not been declared
  226 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                 ^~~~~~~
/usr/include/pcp/pmda.h:226:55: error: ‘pmInResult’ has not been declared
  226 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                       ^~~~~~~~~~
/usr/include/pcp/pmda.h:228:30: error: ‘pmResult’ has not been declared
  228 |             int     (*store)(pmResult *, pmdaExt *);
      |                              ^~~~~~~~
/usr/include/pcp/pmda.h:239:32: error: ‘pmProfile’ has not been declared
  239 |             int     (*profile)(pmProfile *, pmdaExt *);
      |                                ^~~~~~~~~
/usr/include/pcp/pmda.h:240:35: error: ‘pmID’ has not been declared
  240 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                   ^~~~
/usr/include/pcp/pmda.h:240:43: error: ‘pmResult’ has not been declared
  240 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                           ^~~~~~~~
/usr/include/pcp/pmda.h:241:29: error: ‘pmID’ has not been declared
  241 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:241:35: error: ‘pmDesc’ has not been declared
  241 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                                   ^~~~~~
/usr/include/pcp/pmda.h:242:33: error: ‘pmInDom’ has not been declared
  242 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                 ^~~~~~~
/usr/include/pcp/pmda.h:242:55: error: ‘pmInResult’ has not been declared
  242 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                       ^~~~~~~~~~
/usr/include/pcp/pmda.h:244:30: error: ‘pmResult’ has not been declared
  244 |             int     (*store)(pmResult *, pmdaExt *);
      |                              ^~~~~~~~
/usr/include/pcp/pmda.h:245:43: error: ‘pmID’ has not been declared
  245 |             int     (*pmid)(const char *, pmID *, pmdaExt *);
      |                                           ^~~~
/usr/include/pcp/pmda.h:246:29: error: ‘pmID’ has not been declared
  246 |             int     (*name)(pmID, char ***, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:256:32: error: ‘pmProfile’ has not been declared
  256 |             int     (*profile)(pmProfile *, pmdaExt *);
      |                                ^~~~~~~~~
/usr/include/pcp/pmda.h:257:35: error: ‘pmID’ has not been declared
  257 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                   ^~~~
/usr/include/pcp/pmda.h:257:43: error: ‘pmResult’ has not been declared
  257 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                           ^~~~~~~~
/usr/include/pcp/pmda.h:258:29: error: ‘pmID’ has not been declared
  258 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:258:35: error: ‘pmDesc’ has not been declared
  258 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                                   ^~~~~~
/usr/include/pcp/pmda.h:259:33: error: ‘pmInDom’ has not been declared
  259 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                 ^~~~~~~
/usr/include/pcp/pmda.h:259:55: error: ‘pmInResult’ has not been declared
  259 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                       ^~~~~~~~~~
/usr/include/pcp/pmda.h:261:30: error: ‘pmResult’ has not been declared
  261 |             int     (*store)(pmResult *, pmdaExt *);
      |                              ^~~~~~~~
/usr/include/pcp/pmda.h:262:43: error: ‘pmID’ has not been declared
  262 |             int     (*pmid)(const char *, pmID *, pmdaExt *);
      |                                           ^~~~
/usr/include/pcp/pmda.h:263:29: error: ‘pmID’ has not been declared
  263 |             int     (*name)(pmID, char ***, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:274:32: error: ‘pmProfile’ has not been declared
  274 |             int     (*profile)(pmProfile *, pmdaExt *);
      |                                ^~~~~~~~~
/usr/include/pcp/pmda.h:275:35: error: ‘pmID’ has not been declared
  275 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                   ^~~~
/usr/include/pcp/pmda.h:275:43: error: ‘pmResult’ has not been declared
  275 |             int     (*fetch)(int, pmID *, pmResult **, pmdaExt *);
      |                                           ^~~~~~~~
/usr/include/pcp/pmda.h:276:29: error: ‘pmID’ has not been declared
  276 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:276:35: error: ‘pmDesc’ has not been declared
  276 |             int     (*desc)(pmID, pmDesc *, pmdaExt *);
      |                                   ^~~~~~
/usr/include/pcp/pmda.h:277:33: error: ‘pmInDom’ has not been declared
  277 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                 ^~~~~~~
/usr/include/pcp/pmda.h:277:55: error: ‘pmInResult’ has not been declared
  277 |             int     (*instance)(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                       ^~~~~~~~~~
/usr/include/pcp/pmda.h:279:30: error: ‘pmResult’ has not been declared
  279 |             int     (*store)(pmResult *, pmdaExt *);
      |                              ^~~~~~~~
/usr/include/pcp/pmda.h:280:43: error: ‘pmID’ has not been declared
  280 |             int     (*pmid)(const char *, pmID *, pmdaExt *);
      |                                           ^~~~
/usr/include/pcp/pmda.h:281:29: error: ‘pmID’ has not been declared
  281 |             int     (*name)(pmID, char ***, pmdaExt *);
      |                             ^~~~
/usr/include/pcp/pmda.h:284:40: error: ‘pmLabelSet’ has not been declared
  284 |             int     (*label)(int, int, pmLabelSet **, pmdaExt *);
      |                                        ^~~~~~~~~~
/usr/include/pcp/pmda.h:362:5: error: ‘pmLongOptions’ does not name a type; did you mean ‘pmdaOptions’?
  362 |     pmLongOptions *     long_options;
      |     ^~~~~~~~~~~~~
      |     pmdaOptions
/usr/include/pcp/pmda.h:500:62: error: ‘pmdaResultCallBack’ has not been declared
  500 | PMDA_CALL extern void pmdaSetResultCallBack(pmdaInterface *, pmdaResultCallBack);
      |                                                              ^~~~~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:505:61: error: ‘pmdaLabelCallBack’ has not been declared
  505 | PMDA_CALL extern void pmdaSetLabelCallBack(pmdaInterface *, pmdaLabelCallBack);
      |                                                             ^~~~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:558:34: error: ‘pmProfile’ was not declared in this scope; did you mean ‘pmdaProfile’?
  558 | PMDA_CALL extern int pmdaProfile(pmProfile *, pmdaExt *);
      |                                  ^~~~~~~~~
      |                                  pmdaProfile
/usr/include/pcp/pmda.h:558:45: error: expected primary-expression before ‘,’ token
  558 | PMDA_CALL extern int pmdaProfile(pmProfile *, pmdaExt *);
      |                                             ^
/usr/include/pcp/pmda.h:558:55: error: expected primary-expression before ‘*’ token
  558 | PMDA_CALL extern int pmdaProfile(pmProfile *, pmdaExt *);
      |                                                       ^
/usr/include/pcp/pmda.h:558:56: error: expected primary-expression before ‘)’ token
  558 | PMDA_CALL extern int pmdaProfile(pmProfile *, pmdaExt *);
      |                                                        ^
/usr/include/pcp/pmda.h:559:37: error: ‘pmID’ has not been declared
  559 | PMDA_CALL extern int pmdaFetch(int, pmID *, pmResult **, pmdaExt *);
      |                                     ^~~~
/usr/include/pcp/pmda.h:559:45: error: ‘pmResult’ has not been declared
  559 | PMDA_CALL extern int pmdaFetch(int, pmID *, pmResult **, pmdaExt *);
      |                                             ^~~~~~~~
/usr/include/pcp/pmda.h:560:35: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                   ^~~~~~~
      |                                   pmdaIndom
/usr/include/pcp/pmda.h:560:44: error: expected primary-expression before ‘int’
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                            ^~~
/usr/include/pcp/pmda.h:560:49: error: expected primary-expression before ‘char’
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                 ^~~~
/usr/include/pcp/pmda.h:560:57: error: ‘pmInResult’ was not declared in this scope
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                         ^~~~~~~~~~
/usr/include/pcp/pmda.h:560:70: error: expected primary-expression before ‘,’ token
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                                      ^
/usr/include/pcp/pmda.h:560:80: error: expected primary-expression before ‘*’ token
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                                                ^
/usr/include/pcp/pmda.h:560:81: error: expected primary-expression before ‘)’ token
  560 | PMDA_CALL extern int pmdaInstance(pmInDom, int, char *, pmInResult **, pmdaExt *);
      |                                                                                 ^
/usr/include/pcp/pmda.h:561:31: error: ‘pmID’ was not declared in this scope
  561 | PMDA_CALL extern int pmdaDesc(pmID, pmDesc *, pmdaExt *);
      |                               ^~~~
/usr/include/pcp/pmda.h:561:37: error: ‘pmDesc’ was not declared in this scope; did you mean ‘pmdaDesc’?
  561 | PMDA_CALL extern int pmdaDesc(pmID, pmDesc *, pmdaExt *);
      |                                     ^~~~~~
      |                                     pmdaDesc
/usr/include/pcp/pmda.h:561:45: error: expected primary-expression before ‘,’ token
  561 | PMDA_CALL extern int pmdaDesc(pmID, pmDesc *, pmdaExt *);
      |                                             ^
/usr/include/pcp/pmda.h:561:55: error: expected primary-expression before ‘*’ token
  561 | PMDA_CALL extern int pmdaDesc(pmID, pmDesc *, pmdaExt *);
      |                                                       ^
/usr/include/pcp/pmda.h:561:56: error: expected primary-expression before ‘)’ token
  561 | PMDA_CALL extern int pmdaDesc(pmID, pmDesc *, pmdaExt *);
      |                                                        ^
/usr/include/pcp/pmda.h:563:32: error: ‘pmResult’ was not declared in this scope
  563 | PMDA_CALL extern int pmdaStore(pmResult *, pmdaExt *);
      |                                ^~~~~~~~
/usr/include/pcp/pmda.h:563:42: error: expected primary-expression before ‘,’ token
  563 | PMDA_CALL extern int pmdaStore(pmResult *, pmdaExt *);
      |                                          ^
/usr/include/pcp/pmda.h:563:52: error: expected primary-expression before ‘*’ token
  563 | PMDA_CALL extern int pmdaStore(pmResult *, pmdaExt *);
      |                                                    ^
/usr/include/pcp/pmda.h:563:53: error: expected primary-expression before ‘)’ token
  563 | PMDA_CALL extern int pmdaStore(pmResult *, pmdaExt *);
      |                                                     ^
/usr/include/pcp/pmda.h:564:45: error: ‘pmID’ has not been declared
  564 | PMDA_CALL extern int pmdaPMID(const char *, pmID *, pmdaExt *);
      |                                             ^~~~
/usr/include/pcp/pmda.h:565:31: error: ‘pmID’ was not declared in this scope
  565 | PMDA_CALL extern int pmdaName(pmID, char ***, pmdaExt *);
      |                               ^~~~
/usr/include/pcp/pmda.h:565:37: error: expected primary-expression before ‘char’
  565 | PMDA_CALL extern int pmdaName(pmID, char ***, pmdaExt *);
      |                                     ^~~~
/usr/include/pcp/pmda.h:565:55: error: expected primary-expression before ‘*’ token
  565 | PMDA_CALL extern int pmdaName(pmID, char ***, pmdaExt *);
      |                                                       ^
/usr/include/pcp/pmda.h:565:56: error: expected primary-expression before ‘)’ token
  565 | PMDA_CALL extern int pmdaName(pmID, char ***, pmdaExt *);
      |                                                        ^
/usr/include/pcp/pmda.h:568:42: error: ‘pmLabelSet’ has not been declared
  568 | PMDA_CALL extern int pmdaLabel(int, int, pmLabelSet **, pmdaExt *);
      |                                          ^~~~~~~~~~
/usr/include/pcp/pmda.h:575:41: error: ‘pmID’ has not been declared
  575 | PMDA_CALL extern char *pmdaGetHelp(int, pmID, int);
      |                                         ^~~~
/usr/include/pcp/pmda.h:576:46: error: ‘pmInDom’ has not been declared
  576 | PMDA_CALL extern char *pmdaGetInDomHelp(int, pmInDom, int);
      |                                              ^~~~~~~
/usr/include/pcp/pmda.h:581:36: error: ‘pmLabelSet’ was not declared in this scope
  581 | PMDA_CALL extern int pmdaAddLabels(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                    ^~~~~~~~~~
/usr/include/pcp/pmda.h:581:49: error: expected primary-expression before ‘,’ token
  581 | PMDA_CALL extern int pmdaAddLabels(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                                 ^
/usr/include/pcp/pmda.h:581:51: error: expected primary-expression before ‘const’
  581 | PMDA_CALL extern int pmdaAddLabels(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                                   ^~~~~
/usr/include/pcp/pmda.h:581:65: error: expected primary-expression before ‘...’ token
  581 | PMDA_CALL extern int pmdaAddLabels(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                                                 ^~~
/usr/include/pcp/pmda.h:582:35: error: ‘pmLabelSet’ was not declared in this scope
  582 | PMDA_CALL extern int pmdaAddNotes(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                   ^~~~~~~~~~
/usr/include/pcp/pmda.h:582:48: error: expected primary-expression before ‘,’ token
  582 | PMDA_CALL extern int pmdaAddNotes(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                                ^
/usr/include/pcp/pmda.h:582:50: error: expected primary-expression before ‘const’
  582 | PMDA_CALL extern int pmdaAddNotes(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                                  ^~~~~
/usr/include/pcp/pmda.h:582:64: error: expected primary-expression before ‘...’ token
  582 | PMDA_CALL extern int pmdaAddNotes(pmLabelSet **, const char *, ...) __PM_PRINTFLIKE(2,3);
      |                                                                ^~~
/usr/include/pcp/pmda.h:583:40: error: ‘pmLabelSet’ was not declared in this scope
  583 | PMDA_CALL extern int pmdaAddLabelFlags(pmLabelSet *, int);
      |                                        ^~~~~~~~~~
/usr/include/pcp/pmda.h:583:52: error: expected primary-expression before ‘,’ token
  583 | PMDA_CALL extern int pmdaAddLabelFlags(pmLabelSet *, int);
      |                                                    ^
/usr/include/pcp/pmda.h:583:54: error: expected primary-expression before ‘int’
  583 | PMDA_CALL extern int pmdaAddLabelFlags(pmLabelSet *, int);
      |                                                      ^~~
/usr/include/pcp/pmda.h:618:43: error: ‘pmID’ has not been declared
  618 | typedef int  (*pmdaUpdateText)(pmdaExt *, pmID, int, char **);
      |                                           ^~~~
/usr/include/pcp/pmda.h:631:66: error: ‘pmID’ has not been declared
  631 | PMDA_CALL extern pmdaNameSpace *pmdaDynamicLookupPMID(pmdaExt *, pmID);
      |                                                                  ^~~~
/usr/include/pcp/pmda.h:632:44: error: ‘pmID’ was not declared in this scope
  632 | PMDA_CALL extern int pmdaDynamicLookupText(pmID, int, char **, pmdaExt *);
      |                                            ^~~~
/usr/include/pcp/pmda.h:632:50: error: expected primary-expression before ‘int’
  632 | PMDA_CALL extern int pmdaDynamicLookupText(pmID, int, char **, pmdaExt *);
      |                                                  ^~~
/usr/include/pcp/pmda.h:632:55: error: expected primary-expression before ‘char’
  632 | PMDA_CALL extern int pmdaDynamicLookupText(pmID, int, char **, pmdaExt *);
      |                                                       ^~~~
/usr/include/pcp/pmda.h:632:72: error: expected primary-expression before ‘*’ token
  632 | PMDA_CALL extern int pmdaDynamicLookupText(pmID, int, char **, pmdaExt *);
      |                                                                        ^
/usr/include/pcp/pmda.h:632:73: error: expected primary-expression before ‘)’ token
  632 | PMDA_CALL extern int pmdaDynamicLookupText(pmID, int, char **, pmdaExt *);
      |                                                                         ^
/usr/include/pcp/pmda.h:659:66: error: ‘pmID’ has not been declared
  659 | PMDA_CALL extern int pmdaTreePMID(pmdaNameSpace *, const char *, pmID *);
      |                                                                  ^~~~
/usr/include/pcp/pmda.h:660:52: error: ‘pmID’ has not been declared
  660 | PMDA_CALL extern int pmdaTreeName(pmdaNameSpace *, pmID, char ***);
      |                                                    ^~~~
/usr/include/pcp/pmda.h:666:54: error: ‘pmID’ has not been declared
  666 | PMDA_CALL extern int pmdaTreeInsert(pmdaNameSpace *, pmID, const char *);
      |                                                      ^~~~
/usr/include/pcp/pmda.h:702:37: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  702 | PMDA_CALL extern int pmdaCacheStore(pmInDom, int, const char *, void *);
      |                                     ^~~~~~~
      |                                     pmdaIndom
/usr/include/pcp/pmda.h:702:46: error: expected primary-expression before ‘int’
  702 | PMDA_CALL extern int pmdaCacheStore(pmInDom, int, const char *, void *);
      |                                              ^~~
/usr/include/pcp/pmda.h:702:51: error: expected primary-expression before ‘const’
  702 | PMDA_CALL extern int pmdaCacheStore(pmInDom, int, const char *, void *);
      |                                                   ^~~~~
/usr/include/pcp/pmda.h:702:65: error: expected primary-expression before ‘void’
  702 | PMDA_CALL extern int pmdaCacheStore(pmInDom, int, const char *, void *);
      |                                                                 ^~~~
/usr/include/pcp/pmda.h:703:40: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  703 | PMDA_CALL extern int pmdaCacheStoreKey(pmInDom, int, const char *, int, const void *, void *);
      |                                        ^~~~~~~
      |                                        pmdaIndom
/usr/include/pcp/pmda.h:703:49: error: expected primary-expression before ‘int’
  703 | PMDA_CALL extern int pmdaCacheStoreKey(pmInDom, int, const char *, int, const void *, void *);
      |                                                 ^~~
/usr/include/pcp/pmda.h:703:54: error: expected primary-expression before ‘const’
  703 | PMDA_CALL extern int pmdaCacheStoreKey(pmInDom, int, const char *, int, const void *, void *);
      |                                                      ^~~~~
/usr/include/pcp/pmda.h:703:68: error: expected primary-expression before ‘int’
  703 | PMDA_CALL extern int pmdaCacheStoreKey(pmInDom, int, const char *, int, const void *, void *);
      |                                                                    ^~~
/usr/include/pcp/pmda.h:703:73: error: expected primary-expression before ‘const’
  703 | PMDA_CALL extern int pmdaCacheStoreKey(pmInDom, int, const char *, int, const void *, void *);
      |                                                                         ^~~~~
/usr/include/pcp/pmda.h:703:87: error: expected primary-expression before ‘void’
  703 | PMDA_CALL extern int pmdaCacheStoreKey(pmInDom, int, const char *, int, const void *, void *);
      |                                                                                       ^~~~
/usr/include/pcp/pmda.h:704:38: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  704 | PMDA_CALL extern int pmdaCacheLookup(pmInDom, int, char **, void **);
      |                                      ^~~~~~~
      |                                      pmdaIndom
/usr/include/pcp/pmda.h:704:47: error: expected primary-expression before ‘int’
  704 | PMDA_CALL extern int pmdaCacheLookup(pmInDom, int, char **, void **);
      |                                               ^~~
/usr/include/pcp/pmda.h:704:52: error: expected primary-expression before ‘char’
  704 | PMDA_CALL extern int pmdaCacheLookup(pmInDom, int, char **, void **);
      |                                                    ^~~~
/usr/include/pcp/pmda.h:704:61: error: expected primary-expression before ‘void’
  704 | PMDA_CALL extern int pmdaCacheLookup(pmInDom, int, char **, void **);
      |                                                             ^~~~
/usr/include/pcp/pmda.h:705:42: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  705 | PMDA_CALL extern int pmdaCacheLookupName(pmInDom, const char *, int *, void **);
      |                                          ^~~~~~~
      |                                          pmdaIndom
/usr/include/pcp/pmda.h:705:51: error: expected primary-expression before ‘const’
  705 | PMDA_CALL extern int pmdaCacheLookupName(pmInDom, const char *, int *, void **);
      |                                                   ^~~~~
/usr/include/pcp/pmda.h:705:65: error: expected primary-expression before ‘int’
  705 | PMDA_CALL extern int pmdaCacheLookupName(pmInDom, const char *, int *, void **);
      |                                                                 ^~~
/usr/include/pcp/pmda.h:705:72: error: expected primary-expression before ‘void’
  705 | PMDA_CALL extern int pmdaCacheLookupName(pmInDom, const char *, int *, void **);
      |                                                                        ^~~~
/usr/include/pcp/pmda.h:706:41: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                         ^~~~~~~
      |                                         pmdaIndom
/usr/include/pcp/pmda.h:706:50: error: expected primary-expression before ‘const’
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                                  ^~~~~
/usr/include/pcp/pmda.h:706:64: error: expected primary-expression before ‘int’
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                                                ^~~
/usr/include/pcp/pmda.h:706:69: error: expected primary-expression before ‘const’
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                                                     ^~~~~
/usr/include/pcp/pmda.h:706:83: error: expected primary-expression before ‘char’
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                                                                   ^~~~
/usr/include/pcp/pmda.h:706:92: error: expected primary-expression before ‘int’
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                                                                            ^~~
/usr/include/pcp/pmda.h:706:99: error: expected primary-expression before ‘void’
  706 | PMDA_CALL extern int pmdaCacheLookupKey(pmInDom, const char *, int, const void *, char **, int *, void **);
      |                                                                                                   ^~~~
/usr/include/pcp/pmda.h:707:34: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  707 | PMDA_CALL extern int pmdaCacheOp(pmInDom, int);
      |                                  ^~~~~~~
      |                                  pmdaIndom
/usr/include/pcp/pmda.h:707:43: error: expected primary-expression before ‘int’
  707 | PMDA_CALL extern int pmdaCacheOp(pmInDom, int);
      |                                           ^~~
/usr/include/pcp/pmda.h:708:37: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  708 | PMDA_CALL extern int pmdaCachePurge(pmInDom, time_t);
      |                                     ^~~~~~~
      |                                     pmdaIndom
/usr/include/pcp/pmda.h:708:52: error: expected primary-expression before ‘)’ token
  708 | PMDA_CALL extern int pmdaCachePurge(pmInDom, time_t);
      |                                                    ^
/usr/include/pcp/pmda.h:709:45: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  709 | PMDA_CALL extern int pmdaCachePurgeCallback(pmInDom, time_t, void (*)(void *));
      |                                             ^~~~~~~
      |                                             pmdaIndom
/usr/include/pcp/pmda.h:709:60: error: expected primary-expression before ‘,’ token
  709 | PMDA_CALL extern int pmdaCachePurgeCallback(pmInDom, time_t, void (*)(void *));
      |                                                            ^
/usr/include/pcp/pmda.h:709:62: error: expected primary-expression before ‘void’
  709 | PMDA_CALL extern int pmdaCachePurgeCallback(pmInDom, time_t, void (*)(void *));
      |                                                              ^~~~
/usr/include/pcp/pmda.h:710:38: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  710 | PMDA_CALL extern int pmdaCacheResize(pmInDom, int);
      |                                      ^~~~~~~
      |                                      pmdaIndom
/usr/include/pcp/pmda.h:710:47: error: expected primary-expression before ‘int’
  710 | PMDA_CALL extern int pmdaCacheResize(pmInDom, int);
      |                                               ^~~
/usr/include/pcp/pmda.h:764:36: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  764 | PMDA_CALL extern int __pmdaCntInst(pmInDom, pmdaExt *);
      |                                    ^~~~~~~
      |                                    pmdaIndom
/usr/include/pcp/pmda.h:764:53: error: expected primary-expression before ‘*’ token
  764 | PMDA_CALL extern int __pmdaCntInst(pmInDom, pmdaExt *);
      |                                                     ^
/usr/include/pcp/pmda.h:764:54: error: expected primary-expression before ‘)’ token
  764 | PMDA_CALL extern int __pmdaCntInst(pmInDom, pmdaExt *);
      |                                                      ^
/usr/include/pcp/pmda.h:765:23: error: variable or field ‘__pmdaStartInst’ declared void
  765 | PMDA_CALL extern void __pmdaStartInst(pmInDom, pmdaExt *);
      |                       ^~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:765:39: error: ‘pmInDom’ was not declared in this scope; did you mean ‘pmdaIndom’?
  765 | PMDA_CALL extern void __pmdaStartInst(pmInDom, pmdaExt *);
      |                                       ^~~~~~~
      |                                       pmdaIndom
/usr/include/pcp/pmda.h:765:56: error: expected primary-expression before ‘*’ token
  765 | PMDA_CALL extern void __pmdaStartInst(pmInDom, pmdaExt *);
      |                                                        ^
/usr/include/pcp/pmda.h:765:57: error: expected primary-expression before ‘)’ token
  765 | PMDA_CALL extern void __pmdaStartInst(pmInDom, pmdaExt *);
      |                                                         ^
/usr/include/pcp/pmda.h:772:47: error: ‘pmInDom’ has not been declared
  772 | PMDA_CALL extern void __pmdaCacheDump(FILE *, pmInDom, int);
      |                                               ^~~~~~~
/usr/include/pcp/pmda.h:788:45: error: ‘pmID’ has not been declared
  788 | PMDA_CALL extern int pmdaEventAddParam(int, pmID, int, pmAtomValue *);
      |                                             ^~~~
/usr/include/pcp/pmda.h:788:56: error: ‘pmAtomValue’ has not been declared
  788 | PMDA_CALL extern int pmdaEventAddParam(int, pmID, int, pmAtomValue *);
      |                                                        ^~~~~~~~~~~
/usr/include/pcp/pmda.h:789:18: error: ‘pmEventArray’ does not name a type
  789 | PMDA_CALL extern pmEventArray *pmdaEventGetAddr(int);
      |                  ^~~~~~~~~~~~
/usr/include/pcp/pmda.h:799:52: error: ‘pmID’ has not been declared
  799 | PMDA_CALL extern int pmdaEventAddHighResParam(int, pmID, int, pmAtomValue *);
      |                                                    ^~~~
/usr/include/pcp/pmda.h:799:63: error: ‘pmAtomValue’ has not been declared
  799 | PMDA_CALL extern int pmdaEventAddHighResParam(int, pmID, int, pmAtomValue *);
      |                                                               ^~~~~~~~~~~
/usr/include/pcp/pmda.h:800:18: error: ‘pmHighResEventArray’ does not name a type
  800 | PMDA_CALL extern pmHighResEventArray *pmdaEventGetHighResAddr(int);
      |                  ^~~~~~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:802:52: error: ‘pmID’ has not been declared
  802 | PMDA_CALL extern int pmdaEventHighResAddParam(int, pmID, int, pmAtomValue *);
      |                                                    ^~~~
/usr/include/pcp/pmda.h:802:63: error: ‘pmAtomValue’ has not been declared
  802 | PMDA_CALL extern int pmdaEventHighResAddParam(int, pmID, int, pmAtomValue *);
      |                                                               ^~~~~~~~~~~
/usr/include/pcp/pmda.h:803:18: error: ‘pmHighResEventArray’ does not name a type
  803 | PMDA_CALL extern pmHighResEventArray *pmdaEventHighResGetAddr(int);
      |                  ^~~~~~~~~~~~~~~~~~~
/usr/include/pcp/pmda.h:813:49: error: ‘pmAtomValue’ has not been declared
  813 | PMDA_CALL extern int pmdaEventQueueClients(int, pmAtomValue *);
      |                                                 ^~~~~~~~~~~
/usr/include/pcp/pmda.h:814:49: error: ‘pmAtomValue’ has not been declared
  814 | PMDA_CALL extern int pmdaEventQueueCounter(int, pmAtomValue *);
      |                                                 ^~~~~~~~~~~
/usr/include/pcp/pmda.h:815:47: error: ‘pmAtomValue’ has not been declared
  815 | PMDA_CALL extern int pmdaEventQueueBytes(int, pmAtomValue *);
      |                                               ^~~~~~~~~~~
/usr/include/pcp/pmda.h:816:48: error: ‘pmAtomValue’ has not been declared
  816 | PMDA_CALL extern int pmdaEventQueueMemory(int, pmAtomValue *);
      |                                                ^~~~~~~~~~~
/usr/include/pcp/pmda.h:820:49: error: ‘pmAtomValue’ has not been declared
  820 | PMDA_CALL extern int pmdaEventQueueRecords(int, pmAtomValue *, int,
      |                                                 ^~~~~~~~~~~
/usr/include/pcp/pmda.h:825:39: error: ‘pmAtomValue’ was not declared in this scope
  825 | PMDA_CALL extern int pmdaEventClients(pmAtomValue *);
      |                                       ^~~~~~~~~~~
/usr/include/pcp/pmda.h:825:52: error: expected primary-expression before ‘)’ token
  825 | PMDA_CALL extern int pmdaEventClients(pmAtomValue *);
      |                                                    ^
In file included from /tmp/sZVqcgKfxD/dump1.h:16:
/usr/include/pcp/pmdaroot.h:71:30: error: ‘MAXPATHLEN’ was not declared in this scope; did you mean ‘MAXPMDALEN’?
   71 |     char                name[MAXPATHLEN];       /* max possible size */
      |                              ^~~~~~~~~~
      |                              MAXPMDALEN
/usr/include/pcp/pmdaroot.h:89:30: error: ‘MAXPATHLEN’ was not declared in this scope; did you mean ‘MAXPMDALEN’?
   89 |     char                args[MAXPATHLEN];       /* in: process args */
      |                              ^~~~~~~~~~
      |                              MAXPMDALEN

