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,INVALID_MSGID, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8201deea80f1752a X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: 3-bit array porting problem from ADA83 to GreenHills ADA95 Date: 1999/11/09 Message-ID: <80a6f7$k1c$1@nnrp1.deja.com>#1/1 X-Deja-AN: 546586364 References: <382386fe.85782690@news.uswest.net> <3827e839@pull.gecm.com> X-Http-Proxy: 1.0 x34.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Tue Nov 09 22:16:12 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-11-09T00:00:00+00:00 List-Id: In article <3827e839@pull.gecm.com>, "Steve Mossom" wrote: > It seems, from what I have read, > that the ADA'95 LRM makes 'recommendations' to compiler > vendors regarding their implementation in this area it does > not really enforce any rules > (quite rightly as it should not be implementation specific) . This is not correct. The recommendations in chapter 13 become requirements for a compiler that implements Annex C (Systems Programming), and the ACVC tests do test these requirements. You should only use a compiler that is 100% validated for annex C for this kind of job (where rep clauses will be used). It is the case that there are lots of things you would like to work that are not requirements even if annex C is implemented. The subject of this thread (3-bit packed arrays) is an example. In GNAT, only a relatively small part of the rep clauses that we implement are those required by the RM. We go far beyond these minimum requirements. I suspect most/many/all? other Ada 95 compilers also go beyond the minimal requirements. Part of acquiring an Ada compiler must be your effort to find out what is implemented, and whether it will meet your needs. In the case of GNAT, we were largely driven by old Ada 83 compilers, many of which implemented a very rich set of representation clauses, and we tried to implement everything we ran across in old Ada 83 legacy code, so that porting is as simple as possible. Robert Dewar Ada Core Technologies Sent via Deja.com http://www.deja.com/ Before you buy.