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 07:47:54 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!news.algonet.se!algonet!news-stob.telia.net!telia.net!194.22.194.4.MISMATCH!masternews.telia.net.!newsc.telia.net.POSTED!not-for-mail From: David Holm Newsgroups: comp.lang.ada Subject: Re: Ada vs Interfaces.C types Message-ID: <20030109164752.621922ad.david@realityrift.com> References: <20030109014828.1ba9cb7a.david@realityrift.com> X-Newsreader: Sylpheed version 0.8.8claws (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Thu, 09 Jan 2003 15:47:51 GMT NNTP-Posting-Host: 217.208.105.23 X-Complaints-To: abuse@telia.com X-Trace: newsc.telia.net 1042127271 217.208.105.23 (Thu, 09 Jan 2003 16:47:51 CET) NNTP-Posting-Date: Thu, 09 Jan 2003 16:47:51 CET Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:32829 Date: 2003-01-09T15:47:51+00:00 List-Id: On Thu, 9 Jan 2003 08:01:14 -0600 "David C. Hoos" 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. > > How can an unsigned type of any sort be considered equivalent > to Integer (a signed type) by any compiler? I just picked these conversions up from some other bindings. //David Holm