jrgemignani commented on PR #469:
URL: https://github.com/apache/age/pull/469#issuecomment-1420040527

   @muhammadshoaib It doesn't build against PG 13.9 Am I doing something wrong?
   
   ```
   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 ‘transform_cypher_unwind’:
   src/backend/parser/cypher_clause.c:1111:9: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
            pnsi = transform_prev_cypher_clause(cpstate, clause->prev, true);
            ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function ‘transform_cypher_return’:
   src/backend/parser/cypher_clause.c:1777:9: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
            transform_prev_cypher_clause(cpstate, clause->prev, true);
            ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function 
‘transform_cypher_clause_with_where’:
   src/backend/parser/cypher_clause.c:1960:9: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
            pnsi = transform_cypher_clause_as_subquery(cpstate, transform, 
clause, NULL, true);
            ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function ‘transform_clause_for_join’:
   src/backend/parser/cypher_clause.c:2008:48: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
                                                   clause, alias, false);
                                                   ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function 
‘transform_cypher_match_pattern’:
   src/backend/parser/cypher_clause.c:2185:13: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
                pnsi = transform_prev_cypher_clause(cpstate, clause->prev, 
true);
                ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function 
‘transform_cypher_sub_pattern’:
   src/backend/parser/cypher_clause.c:2328:47: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
                                                  NULL, true);
                                                  ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function ‘variable_exists’:
   src/backend/parser/cypher_clause.c:4428:5: warning: ISO C90 forbids mixed 
declarations and code [-Wdeclaration-after-statement]
        ParseNamespaceItem *pnsi;
        ^
   src/backend/parser/cypher_clause.c: At top level:
   src/backend/parser/cypher_clause.c:4730:1: error: conflicting types for 
‘transform_cypher_clause_as_subquery’
    transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
    ^
   src/backend/parser/cypher_clause.c:280:2: note: previous declaration of 
‘transform_cypher_clause_as_subquery’ was here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c:280:2: warning: 
‘transform_cypher_clause_as_subquery’ used but never defined [enabled by 
default]
   make: *** [src/backend/parser/cypher_clause.o] Error 1
   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 ‘transform_cypher_unwind’:
   src/backend/parser/cypher_clause.c:1111:9: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
            pnsi = transform_prev_cypher_clause(cpstate, clause->prev, true);
            ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function ‘transform_cypher_return’:
   src/backend/parser/cypher_clause.c:1777:9: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
            transform_prev_cypher_clause(cpstate, clause->prev, true);
            ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function 
‘transform_cypher_clause_with_where’:
   src/backend/parser/cypher_clause.c:1960:9: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
            pnsi = transform_cypher_clause_as_subquery(cpstate, transform, 
clause, NULL, true);
            ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function ‘transform_clause_for_join’:
   src/backend/parser/cypher_clause.c:2008:48: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
                                                   clause, alias, false);
                                                   ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function 
‘transform_cypher_match_pattern’:
   src/backend/parser/cypher_clause.c:2185:13: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
                pnsi = transform_prev_cypher_clause(cpstate, clause->prev, 
true);
                ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function 
‘transform_cypher_sub_pattern’:
   src/backend/parser/cypher_clause.c:2328:47: error: too many arguments to 
function ‘transform_cypher_clause_as_subquery’
                                                  NULL, true);
                                                  ^
   src/backend/parser/cypher_clause.c:280:2: note: declared here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c: In function ‘variable_exists’:
   src/backend/parser/cypher_clause.c:4428:5: warning: ISO C90 forbids mixed 
declarations and code [-Wdeclaration-after-statement]
        ParseNamespaceItem *pnsi;
        ^
   src/backend/parser/cypher_clause.c: At top level:
   src/backend/parser/cypher_clause.c:4730:1: error: conflicting types for 
‘transform_cypher_clause_as_subquery’
    transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
    ^
   src/backend/parser/cypher_clause.c:280:2: note: previous declaration of 
‘transform_cypher_clause_as_subquery’ was here
    *transform_cypher_clause_as_subquery(cypher_parsestate *cpstate,
     ^
   src/backend/parser/cypher_clause.c:280:2: warning: 
‘transform_cypher_clause_as_subquery’ used but never defined [enabled by 
default]
   make: *** [src/backend/parser/cypher_clause.o] Error 1
   ```
   


-- 
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]

Reply via email to