comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: Program error from assignment??
Date: 1998/07/22
Date: 1998-07-22T00:00:00+00:00	[thread overview]
Message-ID: <6p5jhi$j6m$1@nnrp1.dejanews.com> (raw)
In-Reply-To: u7m15dbki.fsf@gsfc.nasa.gov

In article <u7m15dbki.fsf@gsfc.nasa.gov>,
  Stephen Leake <Stephen.Leake@gsfc.nasa.gov> wrote:
> > levels, but in my book I should *never* fail an accessability check with
this
> > object. The access type is declared in a package spec.
...
> The compiler doesn't know that this routine is your main routine, so
> it assumes it could be called from some other routine; then the
> accessibility check makes sense. (uh oh; is this an advantage for C
> "main"? :).

Ahhh. I hadn't thought about the library routine angle. Thanks to you and
Jean- Pierre for pointing that out (and anyone else whose message I haven't
gotten to yet).

T.E.D.

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum




  reply	other threads:[~1998-07-22  0:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-21  0:00 Program error from assignment?? dennison
1998-07-22  0:00 ` dennison
1998-07-22  0:00   ` Jean-Pierre Rosen
1998-07-22  0:00     ` dennison
1998-07-23  0:00       ` Jean-Pierre Rosen
1998-07-24  0:00         ` tedennison
1998-07-23  0:00       ` Robert Dewar
1998-07-23  0:00         ` dennison
1998-07-22  0:00   ` Stephen Leake
1998-07-22  0:00     ` dennison [this message]
1998-07-22  0:00   ` David C. Hoos, Sr.
1998-07-22  0:00   ` dennison
1998-07-23  0:00     ` Robert Dewar
1998-07-23  0:00     ` Tucker Taft
1998-07-22  0:00   ` Robert Dewar
1998-07-23  0:00   ` Dale Stanbrough
replies disabled

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