comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@merv.cs.nyu.edu (Robert Dewar)
Subject: Re: Address to function pointer conversion
Date: 1997/06/24
Date: 1997-06-24T00:00:00+00:00	[thread overview]
Message-ID: <dewar.867185277@merv> (raw)
In-Reply-To: mheaney-ya023680002406970020250001@news.ni.net


Matthew Heaney asks

<<I'm confused by this answer.  Do you mean

If it is accepted, then it is guaranteed to work.

or do you mean

If it is accepted, it is not guaranteed to work, but is still likely to
work anyway.

When you say "but it will likely will work fine," are you describing the
case when the pragma is accepted?  Or that "it will likely work fine" even
if the pragma isn't accepted?

I'm confused because if the pragma is accepted, "likely is work fine" isn't
how I would like to see it described.  I'd rather you say, "If the pragma
is accepted, then it is guaranteed to work."  Having something compile
without error, and then describing that program as "likely to work" doesn't
give one a high degree of confidence, n'est-ce pas?
>>

Robert replies

The trouble is that "works" here is not well defined, it depends on exactly
what you are doing, for example, if the C program you call raises a signal,
what happens? Not clear. So likely to work is indeed a reasonable way of
saying, on an informal basis, that, based on a best guess of what you
might expect to work, it will work. Other things that might cause trouble
are varargs for example. 





  reply	other threads:[~1997-06-24  0:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-13  0:00 Address to function pointer conversion Michael Paus
1997-06-13  0:00 ` John G. Volan
1997-06-14  0:00   ` Robert Dewar
1997-06-17  0:00     ` John G. Volan
1997-06-20  0:00       ` Robert Dewar
1997-06-24  0:00         ` Matthew Heaney
1997-06-24  0:00           ` Robert Dewar [this message]
1997-06-25  0:00             ` Michael Paus
1997-06-13  0:00 ` Samuel Mize
1997-06-14  0:00   ` Robert Dewar
1997-06-14  0:00 ` Robert Dewar
1997-06-16  0:00   ` Michael Paus
1997-06-16  0:00     ` Robert A Duff
1997-06-16  0:00     ` Robert Dewar
1997-06-16  0:00       ` Samuel Mize
1997-06-16  0:00         ` Robert A Duff
1997-06-17  0:00         ` Robert Dewar
1997-06-17  0:00           ` Samuel Mize
1997-06-20  0:00             ` Robert Dewar
1997-06-20  0:00             ` Robert Dewar
1997-06-14  0:00 ` Robert A Duff
replies disabled

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