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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd3300f3a56e7f45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-19 05:21:51 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: different compilers: different standard types????? Date: 19 Mar 2004 08:19:55 -0500 Organization: Cuivre, Argent, Or Message-ID: References: <200403181313.16003.maa@liacc.up.pt> <005f01c40dbf$94ce9e20$c32416d5@netcabo.pt> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: melchior.cuivre.fr.eu.org 1079702414 21700 212.85.156.195 (19 Mar 2004 13:20:14 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 19 Mar 2004 13:20:14 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: In-Reply-To: <005f01c40dbf$94ce9e20$c32416d5@netcabo.pt> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:6443 Date: 2004-03-19T08:19:55-05:00 "Marius Amado Alves" writes: > > > The standard requires that "the range of Integer should be no wider > > > than that of Long_Integer" 3.5.4 (25). (I'm not sure this is an > > > intelligent limitation, but never mind.) > > > > What would you like it to say instead? > > I guess have a named type (Integer) for the largest base available. Then no > need for System constants Max/Min_Int. Use 'First, 'Last instead. Also > what's the use of Short_ and Short_Short_ if you have representation clauses > for 'Size? The optimal size for a given target would be given in the > documentation for that target. I think most people agree that having any integer types in Standard was a mistake. Hence the advice to never use them. > Yes. As I said before I had forgotten that the integer base type is > nameless. You can stop bashing now ;-) I only bashed once :). One problem with newsgroups is lots of people think they are the first responder; so you get bashed a lot :). -- -- Stephe