Re: Yap crashes when consulting large databases with a certain content
> Yes, you were correct, I fixed it on the sources,
Thanks. Unfortunately, I don't seem to be able to compile the new version.
make crashes with
gcc -c -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -I. -I./H -I./OPTYap -I./BEAM -I./packages/MYDDAS -I./include ./library/yap2swi/yap2swi.c -o yap2swi.o
./library/yap2swi/yap2swi.c:944: warning: no previous prototype for ‘OsError’
./library/yap2swi/yap2swi.c: In function ‘PL_eval_expression_to_int_64_ex’:
./library/yap2swi/yap2swi.c:2222: error: invalid storage class for function ‘SWI_ctime’
./library/yap2swi/yap2swi.c:2221: warning: no previous prototype for ‘SWI_ctime’
./library/yap2swi/yap2swi.c:2246: error: static declaration of ‘Yap_swi_install’ follows non-static declaration
./library/yap2swi/yap2swi.c:2243: error: previous declaration of ‘Yap_swi_install’ was here
./library/yap2swi/yap2swi.c:2249: error: expected declaration or statement at end of input
make: *** [yap2swi.o] Error 1
Cheers,
Simon