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,c9d5a58661b62268 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!nuzba.szn.dk!news.jacob-sparre.dk!pnx.dk!not-for-mail From: Jacob Sparre Andersen Newsgroups: comp.lang.ada Subject: Re: a question on basic types of interfaces.C Date: Thu, 23 Nov 2006 13:50:36 +0100 Organization: Jacob's private Usenet server Message-ID: <87slgacoo3.fsf@hugsarin.dmusyd.edu> References: <1164283964.323817.256290@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: cpe.atm2-0-7389.0x535981ea.naenxx9.customer.tele.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: jacob-sparre.dk 1164286236 13237 83.89.129.234 (23 Nov 2006 12:50:36 GMT) X-Complaints-To: sparre@jacob-sparre.dk NNTP-Posting-Date: Thu, 23 Nov 2006 12:50:36 +0000 (UTC) User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:e4Zvq8oTi3QU+RQy6MWHYk82xM8= Xref: g2news2.google.com comp.lang.ada:7664 Date: 2006-11-23T13:50:36+01:00 List-Id: writes: > there are some points regarding Interfaces.C that I want to be sure > of if I consider Interfaces.C and are the following > assertions always valid : > > Interfaces.C.int'first = INT_MIN > Interfaces.C.int'last = INT_MAX > > Interfaces.C.short'first = SHRT_MIN > Interfaces.C.short'last = SHRT_MAX > > Interfaces.C.int'size = sizeof(int) * CHAR_BIT That's certainly how I read "Each of the types declared in Interfaces.C is C-compatible.". Greetings, Jacob --