With released ngspice 31, tclspice does not compile like:
tclspice.c:214:1: error: conflicting types for 'get_plot'
214 | get_plot(int plot)
| ^~~~~~~~
In file included from ../src/include/ngspice/ftedefs.h:73,
from tclspice.c:84:
../src/include/ngspice/fteext.h:363:21: note: previous declaration of 'get_plot' was here
363 | extern struct plot *get_plot(char* name);
| ^~~~~~~~
The attached patch should fix this issue.
Thanks for the report
Patch is uploaded to branch pre-master
There is a fix to release ngspice-31 tagged ngspice-31-2. Please use this fix for all further activities.
Holger