dcb@oxygen.siesoft.co.uk (David Binderman) (07/31/90)
Hello there, I have found a problem in building NIH 2.204 with ATT 2.1, instead of the usual ATT 2.0. I find that the test suite programs for stackproc and process execute to completion, but the message strings written out are wrong because the msg variable is overwritten with junk, when compiling with 2.1. The same NIH source works fine thru 2.0, so the underlying C compiler must be ok. I realise that NIH 2.204 was written a long time before ATT 2.1, but can anyone give me any clues on why ATT 2.1 causes so much trouble ? I have this same problem on two different ports of ATT 2.1 onto two different boxes (nearly ANSI C on Intel 386 & K&R C on NSC 32000), so I don't think my ports of ATT 2.1 are wrong. Is this problem solved in the NIH 3.0 corresponding to the Gorlen, Orlow & Plexico book ? Is this NIH 3.0 easy for a UK site without Internet access to get ? Enquiring minds with newly broken code want to know, Regards -- David C Binderman, Siemens SDG, 65 - 73 Crockhamwell Road, Reading, Berkshire RG5 3JP, UK dcb@siesoft.co.uk ...uunet!mcsun!ukc!siesoft!dcb +44 734 443025 to the sound of Fat Lucy doing Nessun Dorma: "This isn't Rawhide !"
kgorlen@sparkler.dcrt.nih.gov (Keith Gorlen) (08/04/90)
In article <1871@neon.siesoft.co.uk> dcb@oxygen.siesoft.co.uk (David Binderman) writes: >Hello there, >I have found a problem in building NIH 2.204 with ATT 2.1, instead >of the usual ATT 2.0. > >I find that the test suite programs for stackproc and process >execute to completion, but the message strings written out are wrong >because the msg variable is overwritten with junk, when compiling >with 2.1. --> This is due to a design problem with the Process classes in 2.204. >Is this problem solved in the NIH 3.0 corresponding to the Gorlen, Orlow >& Plexico book ? Is this NIH 3.0 easy for a UK site without Internet >access to get ? Yes, the problem is corrected in 3.0. You can obtain 3.0 via anonymous FTP in the file pub/nihcl.tar.Z on alw.nih.gov (128.231.128.251). The software distribution kit may also be ordered from the publisher on two 5-1/4" MS-DOS format diskettes containing UNIX shell archives. Ordering Info: "Data Abstraction and Object-Oriented Programming in C++" Keith E. Gorlen, Sanford M. Orlow, and Perry S. Plexico ISBN 047192346X $39.25 (paperback) ISBN 047192752X $16.95 (2 disk set) ISBN 0471927511 $82.70 (cloth + 2 disk set) Customer Service Department John Wiley & Sons Limited Shripney Road Bognor Regis West Sussex PO22 9SA England If you have any queries please contact: Helen Ramsey John Wiley & Sons Limited Baffins Lane Chichester West Sussex PO19 1UD England -- Keith Gorlen phone: (301) 496-1111 Building 12A, Room 2033 uucp: uunet!nih-csl!kgorlen National Institutes of Health Internet: kgorlen@alw.nih.gov Bethesda, MD 20892