delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/22/13:27:39

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: to pack or not to pack :=)
22 Dec 1996 13:27:39 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <199612221320.AAA00207.cygnus.gnu-win32@mundook.cs.mu.OZ.AU>
Original-To: paag AT tid DOT es.\i (Pedro A. Aranda Guti\irrez)
Original-Cc: gnu-win32 AT cygnus DOT com (gnu-win32)
In-Reply-To: <32BA7571.69EE@tid.es> from "Pedro A. Aranda Guti\irrez" at Dec 20, 96 12:16:01 pm
X-Mailer: ELM [version 2.4 PL24]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Pedro A. Aranda Guti\irrez, you wrote:
> 
> beta 17.1 still shows the same behaviour when it
> finds chars in structures: it aligns the structure
> to the next short boundary:

Yes, that's a feature of gcc.

> You still need the __attribute__((packed))

Only if you want to pack structures, which is generally
bad for performance.


What's your point?

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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