🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #398

Re: Packing Across Inheritance Boundaries is Currently Allowed.

#398
From: Roland McGrath
Date: Mon, 20 Aug 1990 23:33
21 lines
1438 bytes
In article <1234@lupine.NCD.COM> rfg@NCD.COM (Ron Guilmette) writes:

   Well, yes and no.  I understand that I can only specify (as you call them)
   guidelines, but I have a reasonable expectation that the following will be
   interpreted the same way on virtually every machine I care about (and even
   some that I don't care about):

	   struct s {
		   unsigned f1:7;
		   unsigned f2:9;
		   unsigned f3:4;
		   unsigned f4:12;
	   };

You are welcome to your reasonable expectations.  However, a conformant
compiler is not bound by them.  It is bound only by the contraints of the
standard.  We are discussing standards, not reasonable expectations.
--
	Roland McGrath
	Free Software Foundation, Inc.
roland@ai.mit.edu, uunet!ai.mit.edu!roland
Technical Details
Message-ID: <ROLAND.90Aug20193349@wookumz.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!ai-lab!wookumz.ai.mit.edu!roland
References: <1990Aug3.211414.23872@watmath.waterloo.edu> <1086@lupine.NCD.COM> <2051@key.COM> <1234@lupine.NCD.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!ai-lab!wookumz.ai.mit.edu!roland
From: roland@ai.mit.edu (Roland McGrath)
Newsgroups: comp.std.c++
Subject: Re: Packing Across Inheritance Boundaries is Currently Allowed.
Message-ID: <ROLAND.90Aug20193349@wookumz.ai.mit.edu>
Date: 20 Aug 90 23:33:49 GMT
References: <1990Aug3.211414.23872@watmath.waterloo.edu> <1086@lupine.NCD.COM>
 <2051@key.COM> <1234@lupine.NCD.COM>
Sender: news@wheaties.ai.mit.edu
Organization: Hackers Anonymous International, Ltd., Inc. (Applications
 welcome)
Lines: 21
In-reply-to: rfg@NCD.COM's message of 18 Aug 90 08:19:10 GMT