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 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4eb39f748fcf3a97 X-Google-Attributes: gid103376,public From: dewar@gnat.com Subject: Re: GNAT Opinions Date: 1999/01/07 Message-ID: <771ben$saa$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 429628015 References: <75rj7i$2cq$1@nnrp1.dejanews.com> <36910C32.1A0543E7@magic.fr> X-Http-Proxy: 1.0 x15.dejanews.com:80 (Squid/1.1.22) for client 129.37.115.171 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Jan 07 03:59:20 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-01-07T00:00:00+00:00 List-Id: In article <36910C32.1A0543E7@magic.fr>, Pascal MALAISE wrote: > gnat compiling policy is restrictive, and despite the > *nice* gnatchop, it is difficult to maintain both > versions with unique sources. It is difficult to insert > gnat compilation within an existing (and Verdix oriented) > ada CASE environment. Actually this is fairly straightforward, but it is definitely the sort of thing on which many users need help, we have helped a number of our supported customers do exactly this, and there are several succesful approaches that can be used, depending on issues such as whether or not preprocessing is used. > gnat has some (specific or ada 95?) constraints on > representation clauses which have to be defined before > the usage of the type which forbids to > put them in private parts. Just to be clear here, it is fine to put rep clauses in private parts, the prohibition is that a rep clause cannot come after the type is frozen. The freezing rules are actually pretty similar in Ada 83 and Ada 95. Adapting and dealing with problematic rep clauses is certainly one of the major support activities for us in dealing with legacy code. In our experience, the problem is often neither with GNAT nor with Ada 95, it is just that the original code is plain wrong, and was erroneously accepted by the Ada 83 compiler, or it was implementation dependent code that depended, e.g. on a particular implementation of the Size attribute. Robert Dewar Ada Core Technologies -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own