Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!rochester!cornell!svax!deb From: deb@svax.cs.cornell.edu (David Baraff) Newsgroups: comp.lang.c++ Subject: HP-UX Series 800 Message-ID: <1815@svax.cs.cornell.edu> Date: Sat, 21-Nov-87 16:54:03 EST Article-I.D.: svax.1815 Posted: Sat Nov 21 16:54:03 1987 Date-Received: Mon, 23-Nov-87 04:50:12 EST References: <807@gargoyle.UChicago.EDU> <7464@alice.UUCP> Reply-To: deb@svax.cs.cornell.edu (David Baraff) Distribution: na Organization: Cornell Univ. CS Dept, Ithaca NY Lines: 17 Summary: Stack is backwards!! To save anyone else using C++ on an HP-UX 800 series: I just discovered that when arguments are passed in function calls, the stack grows downwards (i.e. subsequent arguments have smaller address values). This is backwards from VAXen, SUN's and particular the HP-UX 300 series. As a result, calls like "form" don't work correctly. (This is what tipped me off). Also has to be changed as well. Anyway, hopefully anyone who notices this problem on the 800 will recall this message and not waste the time tracking it down I did!! To quote Mr. Koenig, "The changes are left as an exercise to the reader". David Baraff allegra!deb or svax.cs.cornell.edu