Source code bug report?


To NG-Spice list <ng-spice@ieee.ing.uniroma1.it>, ng-spice-devel@ieee.uniroma1.it
From Orestes Mas <orestes@tsc.upc.es>
Date Fri, 07 Sep 2001 18:08:35 +0200
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Organization UPC
Reply-To ng-spice@ieee.ing.uniroma1.it

Hello all,

I had ng-spice rework 12 working ok in my office and home computers.
Recently, I upgraded to rework 13, and while compilation worked well at
the office (Linux Mandrake 7.2), it failed at home (Mandrake 8.0). I am
no expert Linux programmer, so I completely ignore the reason for this
behavior.

I dove into the source code and -after some time ;-) - fixed the
problems, and now I send the corrections I presume have to be made:

First:
src/frontend/outitf.c didn't compile due to lack of "FLT_MAX" definition
in line 919 (but "DBL_MAX" defined in defines.h)
--> I corrected it aliasing "DBL_MAX" to "FLT_MAX" in defines.h

Second:
src/maths/cmaths/test_cx_ph.c didn't compile due to lack of
"DBL_EPSILON" definition in line 24
--> I corrected it inserting ' #include "defines.h" '

Third:
"help" utilities serches helpdir in "ng-spice" directory by default, but
the script files put it in "ng-spice-rework".
--> too tired to search for the correcting action. I manually tells the
correct dir to the "help" utility

Hope this helps.

Dr. Orestes Mas
Professor
Universitat Politècnica de Catalunya
Barcelona, Catalunya (spain)
begin:vcard 
n:Mas i Casals;Orestes
tel;fax:+34.93.401.72.00
tel;work:+34.93.401.70.72
x-mozilla-html:TRUE
org:Universitat Politècnica de Catalunya;TSC
version:2.1
email;internet:orestes@tsc.upc.es
title:Dr.
adr;quoted-printable:;;Campus Nord - UPC=0D=0Ac/Gran Capit=E0 s/n=0D=0AM=F2dul D4;BARCELONA;;08034;Spain
x-mozilla-cpt:;0
fn:Orestes Mas i Casals
end:vcard

Partial thread listing: