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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2ae1a0032f54059 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-01-09 05:22:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Re: Ada vs Interfaces.C types Date: Thu, 09 Jan 2003 06:54:39 -0600 Organization: dis- Message-ID: References: <20030109014828.1ba9cb7a.david@realityrift.com> NNTP-Posting-Host: dial-93-1.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1042117061 5494 128.83.249.33 (9 Jan 2003 12:57:41 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Thu, 9 Jan 2003 12:57:41 +0000 (UTC) User-Agent: Pan/0.13.3 (That cat's something I can't explain) Xref: archiver1.google.com comp.lang.ada:32816 Date: 2003-01-09T06:54:39-06:00 List-Id: On Thu, 09 Jan 2003 12:21:46 +0000, Dale Stanbrough wrote: > In article <20030109014828.1ba9cb7a.david@realityrift.com>, > David Holm wrote: > >> Hi, >> are the following safe to assume? >> >> Interfaces.C.unsigned = Integer >> Interfaces.C.short = Short_Integer >> Interfaces.C.C_Float = Float >> Interfaces.C.double = Long_Float > > > I think that gnat is based on this assumption, but of course > that is only one compiler. The C unsigned can't possibly correspond to the Ada Integer. -- Bobby Bryant Austin, Texas