ng-spice-rework-10 comments
I'm building ng-spice-rework-10 to try out and have a couple of fixes.
the file "src/includes/defines.h" which gets included by
"src/includes/ngspice.h" really needs to come _after_ many of the system
includes. Otherwise, it ends up defining a bunch of constants which
might normally be set by the system, for example,
In file included from /usr/include/time.h:49,
from /usr/include/sys/time.h:168,
from ../../src/include/ngspice.h:72,
from acan.c:6:
/usr/include/machine/limits.h:52: warning: `SHRT_MAX' redefined
../../src/include/defines.h:47: warning: this is the location of the
previous definition
Best regards,
-Dan
Partial thread listing: