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,92471489ebbc99c6 X-Google-Attributes: gid103376,public From: dewar@gnat.com Subject: Re: Y2K Issues Date: 1998/10/29 Message-ID: <71aejn$ped$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 406391886 References: X-Http-Proxy: 1.0 x3.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Oct 29 19:10:48 1998 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-10-29T00:00:00+00:00 List-Id: In article , stt@houdini.camb.inmet.com (Tucker Taft) wrote: > Users *are* allowed to add grandchildren to package Ada. > They may not add "direct" children to package Ada (nor may vendors, > for that matter) -- see RM95 A.2(4). I find this a very odd claim. In RM A(4) we have Implementation Permissions 4 The implementation may restrict the replacement of language-defined compilation units. The implementation may restrict children of language-defined library units (other than Standard). This sure says to me that an implementation may restrict the addition of children of Ada.Calendar, and in fact GNAT does NOT permit users to add children to this package, despite Dale's claim. Yes, of course you can always decide you are a GNAT implementor and change the compiler, using internal implementor options, but users may not add such children. Ada.Calendar most certainly is a language-defined library unit! The legality rule that Tuck refers to is: Legality Rules 4 In the standard mode, it is illegal to compile a child of package Ada. which means that no compiler should allow you to add children to Ada. But the paragraph I quoted above clearly allows a compiler to forbid the addition of children of packages in Ada unless I am really missing something! Robert Dewar Ada Core Technologies P.S. Why don't we want customers adding grandchildren of Ada -- simple, they would potentially depend on internal private parts of the implementation of these packages which we feel free to change without notice at any time! -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own