comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@acm.org>
To: comp.lang.ada@ada-france.org
Subject: Re: What is correct way to pack records
Date: 18 Nov 2004 07:37:22 -0500
Date: 2004-11-18T07:37:22-05:00	[thread overview]
Message-ID: <mailman.107.1100781488.10401.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <3fc90377.0411171620.7a3bcfd9@posting.google.com>

wom@inel.gov (Warren O. Merrill) writes:

> is there a pragma (or other method) that will do the same thing
> GUARANTEED not to change the field order to accomplish the packing
> without having to write all these record representation clauses?

As others have pointed out, there is no standard pragma to do what you
want.

One solution is to write a tool based on ASIS that writes the record
representation clauses for you. Auto_Text_IO (which I wrote) would be
a good starting point for that tool; see
http://www.toadmail.com/~ada_wizard/ada/auto_text_io.html 

-- 
-- Stephe




  parent reply	other threads:[~2004-11-18 12:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-18  0:20 What is correct way to pack records Warren O. Merrill
2004-11-18  0:27 ` Jeffrey Carter
2004-11-18  6:50 ` Martin Dowie
2004-11-18 12:37 ` Stephen Leake [this message]
2004-11-18 17:04 ` Marc A. Criley
2004-11-18 17:31   ` Jeffrey Carter
2004-11-18 18:00     ` Marc A. Criley
2004-11-19  3:08       ` Steve
2004-11-19 12:44         ` Frank J. Lhota
2004-11-19 13:28           ` Marc A. Criley
replies disabled

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