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,28b389d4503cb555 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: generic package dilemma Date: 1999/12/04 Message-ID: <82a4ni$8so$1@nnrp1.deja.com>#1/1 X-Deja-AN: 556186875 References: <80u48b$ghr$1@bunyip.cc.uq.edu.au> <3832e27f_1@news1.prserv.net> <3832E75D.5B1BA719@mail.com> <383319e8_4@news1.prserv.net> <3833F615.5AD7166C@mail.com> <383442e1_1@news1.prserv.net> <383510EA.9DFEE8B6@mail.com> <383569db_2@news1.prserv.net> <3835CF7A.5604C6A3@mail.com> <81bt4v$7cr$1@nnrp1.deja.com> <81cru4$url$1@nnrp1.deja.com> <38464A8F.FDE762F9@mail.com> <828mu3$8i0$1@nnrp1.deja.com> <828nuu$95s$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x30.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Dec 04 04:19:00 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-12-04T00:00:00+00:00 List-Id: In article <828nuu$95s$1@nnrp1.deja.com>, Ted Dennison wrote: > Interesting. Have you given any thought to doing this for > other implemetation-defined things, like ordering of record > fields and caching of global data? No, because that does not serve the purpose of writing reliable programs using GNAT. In the case of elaboration order, if you are using -gnatE, you really want to make sure that all the necessary pragma Elaborate_All statements are in place, since otherwise your program can run into maintenance problems when changes are made. However, in the case of ordering of record fields, we guarantee that there is no reordering in GNAT, so that is not a source of unreliability. It might be useful if you are using GNAT to develop programs that are intended to port to other Ada compilers, but our primary goal is to provide the features to write reliable programs using GNAT, so this is definitely a secondary low priority goal. We do give warnings in cases where the code has clearly undesirable implementation dependent properties that might change in future releases. Sent via Deja.com http://www.deja.com/ Before you buy.