Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail compilation on pg 16.4 #3

Open
akalend opened this issue Dec 5, 2024 · 0 comments
Open

fail compilation on pg 16.4 #3

akalend opened this issue Dec 5, 2024 · 0 comments

Comments

@akalend
Copy link

akalend commented Dec 5, 2024

After call make I have compilation error:

make
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -fPIC -fvisibility=hidden -I/home/ak/src/postgresql-fork/contrib/tsvector2/src -I. -I./ -I/usr/local/pgsql/include/server -I/usr/local/pgsql/include/internal  -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/tsvector2.o src/tsvector2.c
In file included from src/tsvector2.c:20:
src/tsvector2.c: In function ‘tsvector2in’:
src/tsvector2.h:198:42: error: too few arguments to function ‘init_tsvector_parser’
  198 | #define init_tsvector_parser_compat(x,y) init_tsvector_parser(x,y)
      |                                          ^~~~~~~~~~~~~~~~~~~~
src/tsvector2.c:229:10: note: in expansion of macro ‘init_tsvector_parser_compat’
  229 |  state = init_tsvector_parser_compat(buf, 0);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/tsvector2.c:18:
/usr/local/pgsql/include/server/tsearch/ts_utils.h:33:27: note: declared here
   33 | extern TSVectorParseState init_tsvector_parser(char *input, int flags,
      |                           ^~~~~~~~~~~~~~~~~~~~
src/tsvector2.c:291:2: warning: implicit declaration of function ‘SET_VARSIZE’ [-Wimplicit-function-declaration]
  291 |  SET_VARSIZE(in, totallen);
      |  ^~~~~~~~~~~
make: *** [<builtin>: src/tsvector2.o] Error 1
@akalend akalend changed the title fail compilation on pg16 fail compilation on pg 16.4 Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant