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,ebf0c2e0d9df034 X-Google-Attributes: gid103376,public From: Robert Dewar Subject: Re: Ada95 + FORTRAN 77 Date: 1999/09/08 Message-ID: <7r4f2d$gu8$1@nnrp1.deja.com>#1/1 X-Deja-AN: 522324303 References: <7r07rr$gap$1@nnrp1.deja.com> <7r0u2o$vik$1@nnrp1.deja.com> <7r1ec4$aup$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x28.deja.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja.com - Share what you know. Learn what you don't. X-Article-Creation-Date: Wed Sep 08 01:44:48 1999 GMT X-MyDeja-Info: XMYDJUIDrobert_dewar Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.04 [en] (OS/2; I) Date: 1999-09-08T00:00:00+00:00 List-Id: In article , Preben Randhol wrote: > Robert Dewar writes: > > | Well I don't think there are any other Ada 95 compilers > | currently available for Linux (I see you are a Linux user), > > yes :-) > > [thank you for careful information] you are welcome! > | attributes: Unrestricted_Access (allowing complete freedom in > | use of pointers to functions) > > Where do I look to learn more about this feature? It is documented in the GNAT programmers manual, which should be part of your Linux distribution. Here is the relevant section: @item Unrestricted_Access @noindent The @code{Unrestricted_Access} attribute is similar to @code{Access} except that all accessibility and aliased view checks are omitted. This is a user-beware attribute. It is similar to @code{Address}, for which it is a desirable replacement where the value desired is an access type. In other words, its effect is identical to first applying the @code{Address} attribute and then doing an unchecked conversion to a desired access type. In GNAT, but not necessarily in other implementations, the use of static chains for inner level subprograms means that @code{Unrestricted_Access} applied to a subprogram yields a value that can be called as long as the subprogram is in scope (normal Ada 95 accessibility rules restrict this usage). It is prettier in the formatted version, which you should have! > | P.S. Since Ada Core Technologies was committed to the open > | source model and to Linux long before these became the > | subject of everyone's attention, it is not surprising that > | GNAT is there on Linux first, but it would certainly be nice > | to see some competition there, especially if some other Ada > | vendor would take the plunge and open source their technology! > > I agree, but I will at least thank you for doing so! Well so far it is working well for both us and our customers, and we are happy to see quite a few serious Ada programmers adopting GNU/Linux software systems. Sent via Deja.com http://www.deja.com/ Share what you know. Learn what you don't.