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,772ae8afc5db35f2 X-Google-Attributes: gid103376,public From: dewar@gnat.com Subject: Re: Can't export object of private type Date: 1999/02/28 Message-ID: <7bagrq$l6c$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 449804648 References: <7b3f6v$lc1$1@nnrp1.dejanews.com> <7b5u87$s88$1@nnrp1.dejanews.com> <7b6f9k$at2$1@nnrp1.dejanews.com> X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) X-Http-Proxy: 1.0 x9.dejanews.com:80 (Squid/1.1.22) for client 166.72.82.111 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Sun Feb 28 04:31:53 1999 GMT Newsgroups: comp.lang.ada Date: 1999-02-28T00:00:00+00:00 List-Id: In article <7b6f9k$at2$1@nnrp1.dejanews.com>, bourguet@my-dejanews.com wrote: > Well, this is a feature I'd like, especially if the > compilation of a unit "withing" the package can be > compiled (and code generated) > without the private part. More or less like inter package > inline > is currently handled by gnat: you have a performance gain > if you accept > the dependancy but you may prefer the flexibility of the > independancy... > well I'd even accept that all the program have to be > compiled with the > same mode. Interesting idea. Of course you cannot generate code without the private part present (or at least not in any reasonably efficient or practical manner). However, compilation in the RM sense merely requires checking for semantic correctness, and that can be done without needing the private part, so that is something interesting to think about as part of this enhancement (allowing a -gnatc compilation not to require private parts to be present) Robert Dewar Ada Core Technologies -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own