Re: [ng-spice-devel] Pre3 is out


To ng-spice-devel@ieee.ing.uniroma1.it
From mcmahill@mtl.mit.edu
Date Mon, 23 Apr 2001 20:03:56 -0400 (EDT)
Delivered-To mailing list ng-spice-devel@ieee.ing.uniroma1.it
In-Reply-To <Pine.LNX.3.96.1010422211634.19593A-100000@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





On Sun, 22 Apr 2001, p.nenzi@ieee.org wrote:

> Hi all,
> 
> ng-spice-rework-14pre3 is out. It is almost finished, I need only to
> update the documentation and some minor code cleanups (to fix "implict
> declaration" warnings). Download it, and test it against bug and other.
> 
> Sorry for the readline patch (not yet included), I did non have time,
> anyway it will be in 14 final.


Hi,

I tried pre3 on NetBSD.  The only 2 problems I had were:

makeinfo didn't like the {}'s.  Don't know enough (any) texi to know what
the right fix is, but the following made it build:

--- doc/ngspice.texi.orig       Sun Apr 22 07:30:55 2001
+++ doc/ngspice.texi    Mon Apr 23 15:49:50 2001
@@ -1872,5 +1872,5 @@
 
 @example
-+       -       *       /       @^{@ }      unary -
++       -       *       /       @^@      unary -
 @end example
 


mos9set.c has ^M's at the end of each line (must have come from a DOS
machine).  This breaks the "\" continuation at the end of the lines in the
macros.  

--- src/spicelib/devices/mos9/mos9set.c.orig    Sun Apr 22 07:31:02 2001
+++ src/spicelib/devices/mos9/mos9set.c Mon Apr 23 16:52:56 2001
@@ -230,8 +230,8 @@
 
 /* macro to make elements with built in test for out of memory */
-#define TSTALLOC(ptr,first,second) \
-if((here->ptr = SMPmakeElt(matrix,here->first,here->second))==(double 
*)NULL){\
-    return(E_NOMEM);\
-}
+#define TSTALLOC(ptr,first,second) \
+if((here->ptr = SMPmakeElt(matrix,here->first,here->second))==(double 
+*)NULL){\
+    return(E_NOMEM);\
+}
 
             TSTALLOC(MOS9DdPtr, MOS9dNode, MOS9dNode)



I'll try and test on solaris this week, but no promises.

-Dan



Partial thread listing: