Path: utzoo!utgpu!watmath!uunet!zephyr.ens.tek.com!orca!frip!andrew From: andrew@frip.WV.TEK.COM (Andrew Klossner) Newsgroups: gnu.g++.bug Subject: Re: sizeof(Class) vs. size passed to Class::new Message-ID: <5022@orca.WV.TEK.COM> Date: 18 Oct 89 17:37:51 GMT References: <8910171841.AA07303@foobar.colorado.edu> <8910172205.AA10710@lurch.Stanford.EDU> Sender: nobody@orca.WV.TEK.COM Reply-To: andrew@frip.wv.tek.com Distribution: gnu Organization: Tektronix, Wilsonville, Oregon Lines: 12 Michael writes: "Since malloc does not, a priori, give you reasonably aligned memory ..." On what system does malloc misbehave in this way? The BSD, system V, and SunOS man pages all state that malloc *does* give correctly aligned memory, and I haven't yet encountered an implementation for which this is untrue. (Maybe you have a non-Unix system in mind?) -=- Andrew Klossner (uunet!tektronix!frip.WV.TEK!andrew) [UUCP] (andrew%frip.wv.tek.com@relay.cs.net) [ARPA]