-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels