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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no 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 06:02:11 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: "David C. Hoos" Newsgroups: comp.lang.ada Subject: Re: Ada vs Interfaces.C types Date: Thu, 9 Jan 2003 08:01:14 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <20030109014828.1ba9cb7a.david@realityrift.com> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1042120922 8766 137.194.161.2 (9 Jan 2003 14:02:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 9 Jan 2003 14:02:02 +0000 (UTC) Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:32821 Date: 2003-01-09T08:01:14-06:00 ----- Original Message ----- From: "Dale Stanbrough" Newsgroups: comp.lang.ada To: Sent: Thursday, January 09, 2003 6:21 AM Subject: Re: Ada vs Interfaces.C types > 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? > > Dale > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada >