From atmos.dar.CSIRO.AU!hld Tue Mar 1 20:04:38 1994 Date: Tue, 1 Mar 1994 19:13:46 -0500 From: Harvey Davies Subject: Re: J7 To: "L.J. Dickey" On Tue, 1 Mar 1994, L.J. Dickey wrote: > I don't remember the differences between the files d.c and d.c-. > Likewise for je.h and je.h- d.c- and je.h- are original versions. Change to d.c was essential on my SGI unix system. Macro GA (generate array) is used in d.c to generate type DC (debug common stack structure) objects and only for this purpose. There really should be a special macro (say GDC) to generate type DC objects. My quick and dirty fix was to redefine GA in d.c to do correct cast to type DC. This simply involved inserting following 4 lines into d.c: 18a19,22 > /* redefine GA to do correct cast */ > #undef GA > #define GA(v,t,n,r,s) RZ(v=(DC)ga((I)(t),(I)(n),(I)(r),(I*)(s))) > Change to je.h is not essential. It just gets rid of some warnings caused by contradictory (static versus extern) declarations of diff and intg in cd.c and je.h. My change to je.h simply deletes following two lines: 83d82 < extern A diff(); 140d138 < extern A intg(); I hope this clarifies what I changed & why. Please notify me when J7 is in your ftp area & I will check it as requested. Harvey Davies, Home: +61 3 772 5199 CSIRO Division of Atmospheric Research, Work: +61 3 586 7574 Private Bag No. 1, Mordialloc, Fax: +61 3 586 7600 Victoria 3195, Australia E-mail: hld@dar.csiro.au