comp.lang.ada
 help / color / mirror / Atom feed
From: R_Tim_Coslet@cup.portal.com
Subject: Re: Ada Portability... NOT!
Date: 24 Nov 1994 11:21:49 -0800
Date: 1994-11-24T11:21:49-08:00	[thread overview]
Message-ID: <128124@cup.portal.com> (raw)
In-Reply-To: Czq0y5.2sx@ss3.magec.com

Keith Thompson (kst@alsys.com) wrote:

: perform packing.  For example, pragma Pack(Some_Type) might ask the
: compiler to pack to byte alignment, while pragma Pack(Some_Type, Dammit),
: might ask it to pack to bit alignment.  (Note that an implementation
: may not legally add arguments to an existing language-defined pragma.)

: Whaddya think?

PRAGMA Packing(Some_Type, Alignment_Size);

PRAGMA Packing(Bit_Array_Typ, 1);           -- packing alignment 1 bit
PRAGMA Packing(Another_Typ, 8);             -- packing alignment 8 bits
PRAGMA Packing(One_More_Typ, Integer'Size); -- packing alignment integer size

                                        R. Tim Coslet

Usenet: R_Tim_Coslet@cup.portal.com
        technology, n.  domesticated natural phenomena



  reply	other threads:[~1994-11-24 19:21 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-11-18 21:04 Ada Portability... NOT! Capt. Britt Snodgrass
1994-11-19 16:55 ` Robert Dewar
1994-11-21  2:11   ` Carlos Perez
1994-11-21 13:17     ` Robert Dewar
1994-11-21 23:56   ` Keith Thompson
1994-11-22  3:53     ` Robert Dewar
1994-11-23 12:49     ` Michael J. Meier
1994-11-24 19:21       ` R_Tim_Coslet [this message]
1994-11-20  1:33 ` Carlos Perez
1994-11-21  5:06 ` Niklas Holsti
1994-11-21 16:19   ` Norman H. Cohen
1994-11-21 14:59 ` Mitch Gart
1994-11-21 15:40 ` Michael J. Meier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox