Latest build fails - Mailing list pgsql-hackers

From Ranier Vilela
Subject Latest build fails
Date
Msg-id CAEudQAqMJA+3JoGKEiFVz9q4znvdoczN30KqesKMPPzJ7nPH4Q@mail.gmail.com
Whole thread Raw
Responses Re: Latest build fails
List pgsql-hackers
Hi,

The latest build fails.
In file included from /tmp/cpluspluscheck.ggpN3I/test.cpp:3:
[11:12:13.290] /tmp/cirrus-ci-build/contrib/cube/cubeparse.h:77:19: error: ‘NDBOX’ was not declared in this scope
[11:12:13.290]    77 | int cube_yyparse (NDBOX **result, Size scanbuflen);
[11:12:13.290]       |                   ^~~~~
[11:12:13.290] /tmp/cirrus-ci-build/contrib/cube/cubeparse.h:77:27: error: ‘result’ was not declared in this scope
[11:12:13.290]    77 | int cube_yyparse (NDBOX **result, Size scanbuflen);
[11:12:13.290]       |                           ^~~~~~
[11:12:13.290] /tmp/cirrus-ci-build/contrib/cube/cubeparse.h:77:40: error: expected primary-expression before ‘scanbuflen’
[11:12:13.290]    77 | int cube_yyparse (NDBOX **result, Size scanbuflen);
[11:12:13.290]       |                                        ^~~~~~~~~~
[11:12:13.290] /tmp/cirrus-ci-build/contrib/cube/cubeparse.h:77:50: error: expression list treated as compound expression in initializer [-fpermissive]
[11:12:13.290]    77 | int cube_yyparse (NDBOX **result, Size scanbuflen);
[11:12:13.290]       |                                                  ^
[11:12:13.455] In file included from /tmp/cpluspluscheck.ggpN3I/test.cpp:3:
[11:12:13.455] segparse.h:90:18: error: ‘SEG’ was not declared in this scope
[11:12:13.456] segparse.h:90:23: error: ‘result’ was not declared in this scope
[11:12:13.860] make: *** [GNUmakefile:141: cpluspluscheck] Error 1

Now I have some trouble in c.h with one my tools:
Windows 10 64 bits
msvc 2019 64 bits
#error must have a working 64-bit integer datatype

Strange.

regards,
Ranier Vilela

pgsql-hackers by date:

Previous
From: Ranier Vilela
Date:
Subject: Re: Fix typo function circle_same (src/backend/utils/adt/geo_ops.c)
Next
From: Ranier Vilela
Date:
Subject: Re: Latest build fails