From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,266bbc26d81c5aa4,start X-Google-Attributes: gid1164f8,public From: gustav@arp.anu.edu.au (Zdzislaw Meglicki) Subject: C++ on Alphas: memory misalignment Date: 1996/03/20 Message-ID: <4iq16s$bcd@manuel.anu.edu.au>#1/1 X-Deja-AN: 143454823 distribution: world organization: Centre for Information Science Research, The Australian National University newsgroups: comp.sys.dec I am getting a memory misalignment problem when calling new some_such_class The dxbook "DEC C++ Manual" flags this as a common problem and suggests that the "new" and "delete" operators should be overloaded by program developers so that they always return pointers to "quadword aligned memory". Could someone provide a simple example of how to ensure that? -- Zdzislaw Meglicki, Zdzislaw.Meglicki@cisr.anu.edu.au, Parallel Computing Research Facility, CISR, The Australian National University, Canberra, A.C.T., 0200, Australia, fax: +61-6-249-0747, tel: +61-6-249-0158