philburk / pforth

Portable Forth in C
BSD Zero Clause License
588 stars 94 forks source link

Cannot build with PF_NO_SHELL #159

Open philburk opened 5 months ago

philburk commented 5 months ago

REPRO STEPS

cd platforms/unix
make clean && make EXTRA_CCOPTS='-DPF_NO_SHELL -DPF_NO_INIT'

EXPECT Build a pForth kernel with no outer interpreter that can only run TURNKEY dictionaries.

ACTUAL

cc  -x c -O2 --std=c89 -fsigned-char -fno-builtin -fno-unroll-loops -pedantic -Wcast-qual -Wall -Wwrite-strings -Winline -Wmissing-prototypes -Wmissing-declarations -DPF_NO_SHELL -DPF_NO_INIT -g -I. -DPF_SUPPORT_FP -D_DEFAULT_SOURCE -D_GNU_SOURCE -c -o pf_save.o ../../csrc/pf_save.c
../../csrc/pf_save.c:592:13: error: implicit declaration of function 'convertDictionaryInfoRead' [-Werror,-Wimplicit-function-declaration]
            convertDictionaryInfoRead (sd);

This was discovered while investigating #158