comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Ada95 + FORTRAN 77
Date: 1999/09/08
Date: 1999-09-08T00:00:00+00:00	[thread overview]
Message-ID: <7r4f2d$gu8$1@nnrp1.deja.com> (raw)
In-Reply-To: m3aeqz89x3.fsf@kiuk0156.chembio.ntnu.no

In article <m3aeqz89x3.fsf@kiuk0156.chembio.ntnu.no>,
  Preben Randhol <randhol@pvv.org> wrote:
> Robert Dewar <dewar@gnat.com> 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.




  reply	other threads:[~1999-09-08  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-06  0:00 Ada95 + FORTRAN 77 Preben Randhol
1999-09-06  0:00 ` lafage8770
1999-09-06  0:00   ` Matthew Heaney
1999-09-06  0:00     ` Robert Dewar
1999-09-06  0:00   ` Preben Randhol
1999-09-06  0:00     ` Robert Dewar
1999-09-06  0:00       ` Preben Randhol
1999-09-06  0:00         ` Robert Dewar
1999-09-07  0:00           ` Preben Randhol
1999-09-08  0:00             ` Robert Dewar [this message]
1999-09-07  0:00       ` okellogg
1999-09-08  0:00         ` Robert Dewar
1999-09-06  0:00 ` Gisle S�lensminde
1999-09-06  0:00   ` Preben Randhol
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox