🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.bug
Article #514

Re: sizeof(Class) vs. size passed to Class::new

#514
From: Andrew Klossner
Date: Wed, 18 Oct 1989 17:37
12 lines
1022 bytes
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]
Technical Details
Message-ID: <5022@orca.WV.TEK.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!zephyr.ens.tek.com!orca!frip!andrew
References: <8910171841.AA07303@foobar.colorado.edu> <8910172205.AA10710@lurch.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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