comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Binding a type to a union.
Date: 1999/11/25
Date: 1999-11-25T00:00:00+00:00	[thread overview]
Message-ID: <81ih05$ir$1@nnrp1.deja.com> (raw)
In-Reply-To: 81gtd5$rfb$1@nnrp1.deja.com

In article <81gtd5$rfb$1@nnrp1.deja.com>,
  Ted Dennison <dennison@telepath.com> wrote:
> Perhaps that's because compilers ignore pragmas they don't
recognize.
> Just for fun, try putting a "pragma Foo_Bar;" in one of your
source
> files and compile it with Gnat. The worst you'll see is a:
>    warning: unrecognized pragma "Foo_Bar --
> T.E.D.

Well I assume this is a joke, but I did not see a smiley. Of
COURSE it is the case that if you use Unchecked_Union to
interface to a C union, and it was not implemented, then your
program wouldn't work.

And if indeed the above was intended to be serious, then please
note that a small amount of research would have shown you that
most Ada 95 compilers implement this pragma. It was one of the
first bits of extended Ada language technology agreed on by the
ARA technical committee, and has since been discussed by the ARG
as a possible semi-standard extension.


Sent via Deja.com http://www.deja.com/
Before you buy.




  reply	other threads:[~1999-11-25  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-23  0:00 Binding a type to a union Tom_Hargraves
1999-11-23  0:00 ` Robert Dewar
1999-11-23  0:00 ` Matthew Heaney
1999-11-23  0:00   ` Robert Dewar
1999-11-24  0:00     ` Aidan Skinner
1999-11-24  0:00     ` Larry Kilgallen
1999-11-23  0:00       ` Tom Hargraves
1999-11-24  0:00         ` tmoran
1999-11-25  0:00         ` Robert Dewar
1999-11-25  0:00       ` Robert Dewar
1999-11-25  0:00         ` Larry Kilgallen
1999-11-25  0:00           ` Ed Falis
1999-11-25  0:00             ` Larry Kilgallen
1999-11-25  0:00               ` Robert Dewar
1999-11-29  0:00         ` Ted Dennison
1999-11-23  0:00   ` David Botton
1999-11-24  0:00     ` Ted Dennison
1999-11-25  0:00       ` Robert Dewar [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-11-26  0:00 Robert C. Leif, Ph.D.
1999-11-28  0:00 ` Robert Dewar
1999-11-28  0:00   ` Vladimir Olensky
1999-12-01  0:00     ` Robert Dewar
1999-12-01  0:00     ` Robert Dewar
1999-11-23  0:00 Aidan Skinner
1999-11-22  0:00 ` David Botton
replies disabled

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