ng-spice-rework-10 comments


To ng-spice-devel@ieee.ing.uniroma1.it
From mcmahill@mtl.mit.edu
Date Fri, 14 Apr 2000 19:39:22 -0400 (EDT)
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-devel-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice-devel@ieee.ing.uniroma1.it



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: