forked fromtvondra/shared_ispell
- Notifications
You must be signed in to change notification settings - Fork1
Open
Description
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 -fstack-clash-protection -Wformat -Werror=format-security -fno-plt -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -c -o src/shared_ispell.o src/shared_ispell.cclang-18 -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-unused-command-line-argument -Wno-compound-token-split-by-macro -Wno-format-truncation -O2 -I. -I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal -D_GNU_SOURCE -I/usr/include/libxml2 -flto=thin -emit-llvm -c -o src/shared_ispell.bc src/shared_ispell.csrc/shared_ispell.c: In function 'dispell_lexize':src/shared_ispell.c:636:17: error: implicit declaration of function 'MemoryContextResetAndDeleteChildren'; did you mean 'MemoryContextDeleteChildren'? [-Wimplicit-function-declaration] 636 | MemoryContextResetAndDeleteChildren(saveInfo.infoCntx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MemoryContextDeleteChildrenmake: *** [<builtin>: src/shared_ispell.o] Error 1make: *** Waiting for unfinished jobs....src/shared_ispell.c:636:3: error: call to undeclared function 'MemoryContextResetAndDeleteChildren'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 636 | MemoryContextResetAndDeleteChildren(saveInfo.infoCntx); | ^src/shared_ispell.c:636:3: note: did you mean 'MemoryContextDeleteChildren'?/usr/include/postgresql/17/server/utils/memutils.h:78:13: note: 'MemoryContextDeleteChildren' declared here 78 | extern void MemoryContextDeleteChildren(MemoryContext context); | ^1 error generated.
Metadata
Metadata
Assignees
Labels
No labels