delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/06/17:07:28

Date: Sat, 6 May 2000 17:42:17 -0400 (EDT)
Message-Id: <200005062142.RAA07176@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
CC: djgpp AT delorie DOT com
In-reply-to: <3914211A.3E5E1D02@mtu-net.ru> (alex.fru@mtu-net.ru)
Subject: Re: structures size
References: <Pine DOT A41 DOT 4 DOT 05 DOT 10005041827250 DOT 48816-100000 AT ieva05 DOT lanet DOT lv> <3911D576 DOT 947D53CF AT mtu-net DOT ru> <3913074E DOT 9405129F AT bigfoot DOT com> <39133B43 DOT 5BC03E9 AT mtu-net DOT ru> <3913F41A DOT D8DD3A7D AT bigfoot DOT com> <3914211A DOT 3E5E1D02 AT mtu-net DOT ru>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
> Date: Sat, 06 May 2000 17:41:46 +0400
>
> > I prefer "__attribute__((packed))" myself on the actual structure, 
> 
> AFAIK it must be added to each structure member

Only in C++ programs.  See section 22.11 of the FAQ.

- Raw text -


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