Re: [ng-spice-devel] Rework14 - Prerelease1


To ng-spice-devel@ieee.ing.uniroma1.it
From Manu Rouat <emmanuel.rouat@wanadoo.fr>
Date Thu, 08 Feb 2001 00:23:10 -0500
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
Organization la Guilde
References <Pine.SOL.3.96.1010207164406.21196A-100000@bitter.mit.edu >
Reply-To ng-spice-devel@ieee.ing.uniroma1.it
Sender rouat

mcmahill@mtl.mit.edu wrote:

> Hi Paolo,
> 
> A couple of bugs.
> 
> the following are missing from the tar file:  spinit setplot spectrum
> 
> also I think the new CALLOC is wrong:
> 
> --- src/maths/sparse/spdefs.h.orig      Wed Feb  7 09:34:39 2001
> +++ src/maths/sparse/spdefs.h   Wed Feb  7 15:58:55 2001
> @@ -260,5 +260,5 @@
>  #ifndef HAVE_LIBGC
>  #define CALLOC(ptr,type,number)                   \
> -{ ptr = (type *) calloc(type, number);            \
> +{ ptr = (type *) calloc( number , sizeof(type) ); \
>  }
>  #else /* HAVE_LIBCG */
> 
> other than that, it builds under NetBSD.  Haven't done any more testing
> that to verify that it doens't crash when started (yet).


With Dan's patch it compiles on redhat 7.0 too!
'make check' crashes on the res_partition.cir test.


manu

Partial thread listing: