From: awdorrin <awdorrin@gmail.com>
Subject: Re: Endianness and Record Specification
Date: Tue, 23 Oct 2012 14:08:33 -0700 (PDT)
Date: 2012-10-23T14:08:33-07:00 [thread overview]
Message-ID: <758371db-86aa-41c0-8242-de10f1f2df43@googlegroups.com> (raw)
In-Reply-To: <85e4a577-9219-4fbe-a2a1-1c1f1459792f@googlegroups.com>
On Saturday, September 22, 2012 3:43:54 AM UTC-4, Quentin Ochem wrote:
> Side note on this topic, there's been a recent enhancement to GNAT to specify endianness as representation clauses:
>
>
>
> http://www.adacore.com/developers/development-log/NF-71-L207-008-gnat/
>
> http://docs.adacore.com/gnat-unw-docs/html/gnat_rm_3.html#SEC181
>
>
> Will do the thing that you expect automatically ;-)
I finally have had a chance to get back into this code (been side-tracked on another part of this migration effort.
What version of GNAT/GCC support this new Scalar_Storage_Order functionality?
Sounds like it could save me a lot of effort if I can simply define records as 'big endian format' and let the compiler generate all the byte swapping code for me.
Thanks
next prev parent reply other threads:[~2012-10-23 21:08 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-21 18:16 Endianness and Record Specification awdorrin
2012-09-21 19:21 ` awdorrin
2012-09-22 3:07 ` Stephen Leake
2012-09-21 22:18 ` Simon Wright
2012-09-22 7:43 ` Quentin Ochem
2012-10-23 21:08 ` awdorrin [this message]
2012-10-24 10:20 ` Stephen Leake
2012-11-02 13:13 ` awdorrin
2012-12-04 17:17 ` Anh Vo
2012-12-04 17:37 ` Niklas Holsti
2012-12-04 18:31 ` Anh Vo
2012-12-04 23:31 ` Randy Brukardt
2012-12-05 0:12 ` Anh Vo
2012-12-05 2:00 ` Jeffrey Carter
2012-12-05 3:40 ` Anh Vo
2012-09-22 9:32 ` Robin Vowels
2012-09-22 9:59 ` Dmitry A. Kazakov
2012-09-24 2:44 ` Robin Vowels
2012-09-24 7:48 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox