Path: utzoo!utgpu!watserv1!watmath!att!pacbell!pacbell.com!mips!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!otter.hpl.hp.com!otter!woer From: woer@otter.hpl.hp.com (Ascan Woermann) Newsgroups: comp.lang.c++ Subject: C++ on Mach: structs as function args? Message-ID: <2620014@otter.hpl.hp.com> Date: 4 Jun 90 13:54:25 GMT Organization: Hewlett-Packard Laboratories, Bristol, UK. Lines: 25 I am running an experimental Mach system (4.3BSD compatible) on an HP 9000/s300 workstation. After some enquiries on how we might get C++ for this O.S./hardware configuration, we decided to port AT&T C++ 2.0 ourselves. However, according to the release notes for C++ 2.0, a prerequisite is a C compiler and linker that support structures as legal arguments to functions and as return values from functions, as well as supporting structure assignments. The current C compiler on our Mach system doesn't support these requirements. Does anyone know to what extent AT&T's C++ 2.0 depends on these facilities and under what conditions we are likely to encounter problems. Alternatively, does C++ 1.2 require this compiler support? Also, any alternative suggestions for how we might get C++ for this O.S./hardware combination, or how we might get/port a C compiler that supports these more recent C enhancements. Comments or thoughts appreciated, Ascan ---------------------------------------- Ascan Woermann Hewlett-Packard Laboratories, Bristol, U.K. Email: woer@hplb.hpl.hp.com woer@hplb.hp.co.uk