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=2.2 required=5.0 tests=BAYES_00,FROM_WORDY, REPLYTO_WITHOUT_TO_CC autolearn=no 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!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.rcn.net!news.rcn.net.POSTED!not-for-mail NNTP-Posting-Date: Fri, 04 Nov 2005 20:59:38 -0600 Reply-To: "Frank J. Lhota" From: "Frank J. Lhota" Newsgroups: comp.lang.ada References: <1131118073.282094.236790@f14g2000cwb.googlegroups.com> Subject: Re: Default rep specs for record types - documented?? Date: Fri, 4 Nov 2005 21:42:25 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Message-ID: NNTP-Posting-Host: 209.6.185.133 X-Trace: sv3-oRiWUWVpwfVUmBlynunKUnEMHduHSfbU8086ZsGrCQBEZlpLaHReUb3Fw7OXPj+ImWxAXebxvj1lsij!Faonzle7vzP1XOD2FwDNe2vcb1GyCLv4DP5NjfdE3o3zk/9Tck7F4yi30etWFKau X-Complaints-To: abuse@rcn.net X-DMCA-Complaints-To: abuse@rcn.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:6220 Date: 2005-11-04T21:42:25-05:00 List-Id: "Anonymous Coward" wrote in message news:slrndmod4h.b6j.bogus_addy@tango.mindfuq.org... > In article , Lauri Ora wrote: >> >> Some versions of GNAT also has option -gnatR1 (List rep info), which >> gives you similar output: > > That is a very useful option. I wish I had known about it sooner. Is > there a similar switch for C code? It would make interface coding so > much easier if I could generate this output for C types before > constructing the corrosponding ADA interface. Unfortunately, I know of no C/C++ compiler that generates struct / class layout information. Moreover, there is still no C/C++ equivalent of the representation clause. -- "All things extant in this world, Gods of Heaven, gods of Earth, Let everything be as it should be; Thus shall it be!" - Magical chant from "Magical Shopping Arcade Abenobashi" "Drizzle, Drazzle, Drozzle, Drome, Time for the this one to come home!" - Mr. Lizard from "Tutor Turtle"