jrgemignani commented on PR #469:
URL: https://github.com/apache/age/pull/469#issuecomment-1421277896
You fixed the building of the extension, less these 2 minor issues -
```
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Werror=vla -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-fexcess-precision=standard -g -ggdb -O0 -fno-omit-frame-pointer -fPIC
-I.//src/include -I.//src/include/parser -I. -I./
-I/home/jgemignani/POSTGRESQL/postgresql-13.9/psql-13.9-5432-pgsql/include/server
-I/home/jgemignani/POSTGRESQL/postgresql-13.9/psql-13.9-5432-pgsql/include/internal
-D_GNU_SOURCE -c -o src/backend/parser/cypher_clause.o
src/backend/parser/cypher_clause.c -MMD -MP -MF .deps/cypher_clause.Po
src/backend/parser/cypher_clause.c: In function ‘variable_exists’:
src/backend/parser/cypher_clause.c:4429:5: warning: ISO C90 forbids mixed
declarations and code [-Wdeclaration-after-statement]
ParseNamespaceItem *pnsi;
^
gcc -std=gnu99 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Werror=vla -Wendif-labels
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv
-fexcess-precision=standard -g -ggdb -O0 -fno-omit-frame-pointer -fPIC
-I.//src/include -I.//src/include/parser -I. -I./
-I/home/jgemignani/POSTGRESQL/postgresql-13.9/psql-13.9-5432-pgsql/include/server
-I/home/jgemignani/POSTGRESQL/postgresql-13.9/psql-13.9-5432-pgsql/include/internal
-D_GNU_SOURCE -c -o src/backend/utils/adt/agtype_gin.o
src/backend/utils/adt/agtype_gin.c -MMD -MP -MF .deps/agtype_gin.Po
src/backend/utils/adt/agtype_gin.c:51:0: warning: "MAXINT8LEN" redefined
[enabled by default]
#define MAXINT8LEN 25
^
In file included from src/backend/utils/adt/agtype_gin.c:37:0:
/home/jgemignani/POSTGRESQL/postgresql-13.9/psql-13.9-5432-pgsql/include/server/utils/builtins.h:22:0:
note: this is the location of the previous definition
#define MAXINT8LEN 20
^
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]