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,FREEMAIL_FROM, 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-18 23:37:44 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!newsfeed.stueberl.de!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: "Marius Amado Alves" Newsgroups: comp.lang.ada Subject: Re: different compilers: different standard types????? Date: Fri, 19 Mar 2004 07:36:25 -0800 Organization: Cuivre, Argent, Or Message-ID: References: <200403181313.16003.maa@liacc.up.pt><200403182035.57424.baldrick@free.fr> NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: melchior.cuivre.fr.eu.org 1079681825 76732 212.85.156.195 (19 Mar 2004 07:37:05 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Fri, 19 Mar 2004 07:37:05 +0000 (UTC) To: Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-OriginalArrivalTime: 19 Mar 2004 07:36:55.0943 (UTC) FILETIME=[F4576970:01C40D84] 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:6433 Date: 2004-03-19T07:36:25-08:00 > One other note: I am aware of at least one commercial compiler that doesn't > support integer types larger than 32 bits (ObjectAda V7.2.2 - Intel). > > System.Min_Int:-2147483648 > System.Max_Int: 2147483647 The famous 2G limit. Now you got me nervously looking for the file position type. The standard is silent, so is GNAT's documentation, so it's a long journey in the sources: Direct_IO.Count, System.Direct_IO.Count, Interfaces.C_Streams.long, System.Parameters.long_bits, and finally Long_Integer'Size, which is... also 32-bit! (Inspecting Count'Size confirms that.) Oh, well... (Just for those who might be thinking that 2G is large enough let me tell you I have hit that wall on several real world applications.)