From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,fd173879a595bde X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc08.POSTED!20ae255c!not-for-mail Newsgroups: comp.lang.ada From: Anonymous Coward Subject: Re: Default rep specs for record types - documented?? References: <1131118073.282094.236790@f14g2000cwb.googlegroups.com> Message-Id: User-Agent: slrn/0.9.7.4 (Linux) Date: Sat, 05 Nov 2005 03:55:54 GMT NNTP-Posting-Host: 141.149.78.234 X-Complaints-To: abuse@verizon.net X-Trace: trnddc08 1131162954 141.149.78.234 (Fri, 04 Nov 2005 22:55:54 EST) NNTP-Posting-Date: Fri, 04 Nov 2005 22:55:54 EST Xref: g2news1.google.com comp.lang.ada:6225 Date: 2005-11-05T03:55:54+00:00 List-Id: In article , Ed Falis wrote: > > But if you order the components the same in both languages, and use > pragma Convention (C, ...) on the Ada side, the Ada record layout > will match the C struct layout. Is that necessarily true? I've noticed some cases where pragma Convention (C,...) does not stretch an enum to 32 bits the way it should, so there seems to be an element of chance that causes me to distrust it.