Mail Archives: djgpp/1996/09/19/15:31:13
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 -