delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/19/15:31:13

From: kagel AT quasar DOT bloomberg DOT com
Date: Thu, 19 Sep 1996 15:00:10 -0400
Message-Id: <9609191900.AA10154@quasar.bloomberg.com >
To: steinke AT zeus DOT adv-boeblingen DOT de
Cc: djgpp AT delorie DOT com
In-Reply-To: <Pine.VUL.3.91.960919114251.2058C-100000@zeus.adv-boeblingen.de> (message from Lennart Steinke on Thu, 19 Sep 1996 12:17:21 -0500)
Subject: Re: attribute packed??
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   From: Lennart Steinke <steinke AT zeus DOT adv-boeblingen DOT de>
   Date: Thu, 19 Sep 1996 12:17:21 -0500

   Hi!

   Could someone tell me what __attribute__, and
   esp. the packed option of it does, and why it's
   neccassary to use them?

Sure.  BTW check the Info pages for a full discussion.  __attribute__ allows
one to specify some compiler specific extensions to variable
declaration/definition.  Specifically __attribute__ ((packed)) specifies that a
variable or structure field should have the smallest possible alignment.

-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


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