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!spamkiller2.gnilink.net!gnilink.net!trndny09.POSTED!c2bfcbcf!not-for-mail Newsgroups: comp.lang.ada Subject: Re: ADA/C interfaces: type representations uncontrollable in C References: Message-ID: From: "Ed Falis" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit User-Agent: Opera M2/8.50 (Linux, build 1358) Date: Sat, 05 Nov 2005 16:49:54 GMT NNTP-Posting-Host: 70.22.146.126 X-Complaints-To: abuse@verizon.net X-Trace: trndny09 1131209394 70.22.146.126 (Sat, 05 Nov 2005 11:49:54 EST) NNTP-Posting-Date: Sat, 05 Nov 2005 11:49:54 EST Xref: g2news1.google.com comp.lang.ada:6245 Date: 2005-11-05T16:49:54+00:00 List-Id: On Sat, 05 Nov 2005 11:35:51 -0500, Anonymous Coward wrote: > What I don't understand is how GNAT can give the user representation > control over types, when C does not, considering that GNAT translates > ADA to C. How does GNAT perform that intermediate C translation if > rep specs don't exist in C? GNAT doesn't translate to C; it translates to the gcc intermediate form that is also used by other languages that are part of gcc (GNU Compiler Collection). - Ed