Re: [ng-spice-devel] Rework14pre2
On Fri, 9 Feb 2001, Paolo Nenzi wrote:
> On Thu, 8 Feb 2001 mcmahill@mtl.mit.edu wrote:
>
> > builds "out of the box" on NetBSD-1.5 running on an alpha now.
> >
> > doesn't pass the 'make check' stuff. Looks like some minor changes in the
> > output (such as reporting of the analysis temperature). Is 'make check'
> > supposed to pass ?
>
> No. The output will be updated for release.
>
>
> > There were a number of compiler warnings which I suspect are due to the
> > 64-bit architecture. I'll try and get some time tonight to clean those
> > up. I expect a good number will be fixed by including some missing
> > header files, but who knows, there may be some assumptions about
> > 32-bit-ness made.
>
>
> Can you give me a patch when you have done ?
ok, I didn't get a chance to get through them all. the remaining compiler
warnings are listed in the attached warnings.log file.
I attached patches that fix up quite a number of warnings and at least a
few real bugs (dimens.c in particular).
I renamed src/misc/string.h to src/misc/stringutil.h so it doesn't
conflict with /usr/include/string.h on systems which have that. Also,
you'll want to rerun 'autoconf' and 'autoheader' after applying these
patches.
hope this helps, sorry i
didn't get a chance to fix the rest.
-Dan
ngpatches.tgz
configure: warning: Removing debugging option!
x11.c:372: warning: passing arg 4 of `XtAddEventHandler' from incompatible
pointer type
x11.c:374: warning: passing arg 4 of `XtAddEventHandler' from incompatible
pointer type
x11.c:376: warning: passing arg 4 of `XtAddEventHandler' from incompatible
pointer type
x11.c:378: warning: passing arg 4 of `XtAddEventHandler' from incompatible
pointer type
x11.c:391: warning: passing arg 3 of `XtAddCallback' from incompatible
pointer type
x11.c:398: warning: passing arg 3 of `XtAddCallback' from incompatible
pointer type
xgraph.c:42: warning: passing arg 3 of `cp_getvar' from incompatible pointer
type
com_ghelp.c:27: warning: assignment makes pointer from integer without a cast
control.c:187: warning: passing arg 1 from incompatible pointer type
control.c:597: warning: assignment makes pointer from integer without a cast
variable.c:311: warning: assignment makes pointer from integer without a cast
variable.c:344: warning: assignment makes pointer from integer without a cast
arg.c:55: warning: assignment makes pointer from integer without a cast
device.c:194: warning: passing arg 2 of `wl_forall' from incompatible pointer
type
device.c:194: warning: passing arg 3 of `wl_forall' from incompatible pointer
type
device.c:216: warning: passing arg 2 of `wl_forall' from incompatible pointer
type
device.c:216: warning: passing arg 3 of `wl_forall' from incompatible pointer
type
device.c:331: warning: passing arg 4 of `dgen_for_n' from incompatible
pointer type
display.c:53: warning: initialization from incompatible pointer type
display.c:54: warning: initialization from incompatible pointer type
display.c:84: warning: initialization from incompatible pointer type
display.c:85: warning: initialization from incompatible pointer type
outitf.c:152: warning: passing arg 1 of `cieq' from incompatible pointer type
spec.c:124: warning: passing arg 3 of `cp_getvar' from incompatible pointer
type
spec.c:139: warning: passing arg 3 of `cp_getvar' from incompatible pointer
type
cktsopt.c:253: warning: initialization from incompatible pointer type
dcosetp.c:44: warning: initialization from incompatible pointer type
inperror.c:23: warning: assignment discards `const' from pointer target type
bjtsetup.c:175: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
bjtsetup.c:194: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
bjtsetup.c:213: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
b1set.c:332: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
b1set.c:352: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
b2set.c:501: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
b2set.c:525: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
b3set.c:912: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
b3set.c:941: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
diosetup.c:98: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
jfetdist.c:41: warning: passing arg 1 of `JFETdSetup' from incompatible
pointer type
jfetset.c:115: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
jfetset.c:135: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mesdisto.c:41: warning: passing arg 1 of `MESdSetup' from incompatible
pointer type
messetup.c:101: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
messetup.c:121: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos1dist.c:46: warning: passing arg 1 of `MOS1dSetup' from incompatible
pointer type
mos1set.c:148: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos1set.c:172: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos2dist.c:46: warning: passing arg 1 of `MOS2dSetup' from incompatible
pointer type
mos2set.c:174: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos2set.c:195: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos3dist.c:46: warning: passing arg 1 of `MOS3dSetup' from incompatible
pointer type
mos3set.c:203: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos3set.c:222: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos6set.c:163: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
mos6set.c:182: warning: passing arg 4 of `CKTinst2Node' from incompatible
pointer type
../src/include/ngspice.h:136: warning: array `Spice_Version' assumed to have
one element
../src/include/ngspice.h:135: warning: array `Spice_Notice' assumed to have
one element
../src/include/ngspice.h:137: warning: array `Spice_Build_Date' assumed to
have one element
./main.c:169: warning: assignment from incompatible pointer type
../src/include/ngspice.h:136: warning: array `Spice_Version' assumed to have
one element
../src/include/ngspice.h:135: warning: array `Spice_Notice' assumed to have
one element
../src/include/ngspice.h:137: warning: array `Spice_Build_Date' assumed to
have one element
Partial thread listing: