comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Which compiler is correct?
Date: 1997/06/19
Date: 1997-06-19T00:00:00+00:00	[thread overview]
Message-ID: <EC05Hz.IvI@world.std.com> (raw)
In-Reply-To: ud205z1ifw.fsf@tanana.llnl.gov


In article <ud205z1ifw.fsf@tanana.llnl.gov>,
John Woodruff <woodruff1@llnl.gov> wrote:
>    > The rules for this stuff are somewhat arcane.  See 3.4 and 7.3.1.
>    (tacit agreement, followed by a new case:)

;-)

>Here is another inquiry of the type "which compiler is correct." ...

First of all, you and the earlier poster need a strong lecture, or
perhaps should be sent back to remedial programming school.  Why?
Because you use one-letter identifier names for compilers (r and g,
here).  Or are you trying to mimic those stupid laundry soap ads that
talk about "the leading brand" without naming it?

;-) ;-)

>   Bad.I := 2 ;  -- compiler "g" reports error

Looks legal to me.  See 7.3.1(4).  If you don't understand it, execute
the following in your head:

    <<Label>>
      Read 7.3.1;
    goto Label;

And when this completes, all will be clear.  And then I'll *goto*
remedial programming school, for uttering the cuss word "goto".

In case you hadn't guessed, I don't much like 7.3.1.

See also 3.4(14.b).

>According to one compiler the component of type Bad_Obj is an "undefined
>selector".  I am unable to think of a reason why the body of the child
>package can reference the parent's private declaration of Obj for one,
>but not for the other derived types.

In the business, we call this a "bug".  ;-)

- Bob




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

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-17  0:00 Which compiler is correct? Tom Moran
1997-06-18  0:00 ` Robert A Duff
1997-06-18  0:00   ` John Woodruff
1997-06-19  0:00     ` Robert A Duff [this message]
1997-06-20  0:00     ` Jon S Anthony
1997-06-21  0:00       ` Robert A Duff
1997-06-26  0:00         ` Jon S Anthony
1997-06-19  0:00   ` Simon Wright
1997-06-20  0:00     ` Jon S Anthony
1997-06-21  0:00       ` Robert A Duff
1997-06-21  0:00     ` Robert A Duff
1997-06-21  0:00       ` Simon Wright
1997-06-23  0:00       ` Mats.Weber
1997-06-24  0:00         ` Jon S Anthony
1997-06-18  0:00 ` Pascal Obry
1997-06-18  0:00   ` Tom Moran
  -- strict thread matches above, loose matches on Subject: below --
1996-09-10  0:00 Which compiler is correct?? Robert B. Love 
1996-09-10  0:00 ` Robert Dewar
1996-09-10  0:00 ` Robert Dewar
1996-09-11  0:00   ` Robert B. Love 
1996-09-11  0:00 ` Jon S Anthony
1996-09-11  0:00 ` Robert A Duff
1996-09-12  0:00   ` Ken Cowan
1996-09-12  0:00   ` Ken Cowan
1996-09-13  0:00   ` Jon S Anthony
1996-09-12  0:00 ` Tucker Taft
replies disabled

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