www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/01/30/12:30:11

Date: Thu, 30 Jan 1997 19:19:11 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "DR. Andras Solyom" <solyom AT eik DOT bme DOT hu>
cc: djgpp AT delorie DOT com
Subject: Re: Help: Packing structures
In-Reply-To: <32F0CA8F.75A1@eik.bme.hu>
Message-ID: <Pine.SUN.3.91.970130191630.19140B-100000@is>
MIME-Version: 1.0

On Thu, 30 Jan 1997, DR. Andras Solyom wrote:

> If I think about very carefully this can be OK. But does this imply that
> the construct:
> 	struct foo {
> 		int l1 PACKED, l2 PACKED;
> 	       ....
> 	};
> also guaranties packing?

Yes.  Doesn't it work that way?  I think it should, in both C and C++.

> Will newbies understand it?

I would rather ask: Will newbies read the FAQ? ;-).

But seriously, let's wait and see.  I usually write things as clear as I 
can, but when somebody tells me they were misled by the wording, I try to 
rephrase.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019