-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hello,
I got the following error while compiling python runtime from the source. It seems there is a function signature mimatch.
Error Reproduction
Go inside runtime/python/
python setup.py build
Error Message
pypgf.c:1740:77: error: too many arguments to function call, expected 6, have 7
pgf_complete(self->concr, type, sentence, prefix, prefix_bind, parse_err, pyres->pool);
~~~~~~~~~~~~ ^~~~~~~~~~~
/usr/local/include/pgf/pgf.h:253:1: note: 'pgf_complete' declared here
pgf_complete(PgfConcr* concr, PgfType* type, GuString string,
^
Fix
Change line 1740 in pypgf.c
pgf_complete(self->concr, type, sentence, prefix, prefix_bind, parse_err, pyres->pool);
to
pgf_complete(self->concr, type, sentence, prefix, parse_err, pyres->pool);
Metadata
Metadata
Assignees
Labels
No labels