comp.lang.ada
 help / color / mirror / Atom feed
From: "Micha� Morawski" <morawski@zsk.p.lodz.pl>
Subject: Re: How to compile Ada.Text_IO.xxxxx files (Was: Random Access in Ada.Text_IO files)
Date: Thu, 13 Feb 2003 11:22:37 +0100
Date: 2003-02-13T11:22:37+01:00	[thread overview]
Message-ID: <b2gf3r$oo7$1@nemesis.news.tpi.pl> (raw)
In-Reply-To: AeG2a.82167$iG3.10580@sccrnsc02

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1745 bytes --]

Oh yes, maybe this is not wise (or good practice), but this requires only a
few lines of code in the child unit, while "wise" solution is rather
tiresome - many, many lines.

But thank You; I can compile my 14-line long child package and my problem is
solved!

MM

--

############################################
## Micha� Morawski
## 95-200 Pabianice, Sempo�owskiej 5 m 13
## tel/fax ++48 42 2262228
############################################
Do Juliusza Kossaka przyszed� znajomy i zacz�� opowiada� o swoim psie:
- Je�li ka�� mu zje�� jab�ko, to on je zje, chocia� nie lubi jab�ek. A gdy
po�o�� przed nim kawa�ek mi�sa i powiem: "nie rusz", to on go nie zje, nawet
gdy jest bardzo g�odny.
- Zawsze uwa�a�em, �e psy to m�dre zwierz�ta - powiedzia� Kossak - ale teraz
widz�, �e s� tak samo g�upie jak ludzie.

"Steve" <nospam_steved94@attbi.com> wrote in message
news:AeG2a.82167$iG3.10580@sccrnsc02...
> I'm sure you can find the answer to your question in the GNAT
documentation
> (RTFM), but keep in mind:
>
> From the Ada 95 Reference Manual A.2:
> (2) In the standard mode, it is illegal to compile a child package of Ada.
>
> Also note: From A
> (4) The implementation may restrict children of language-defined library
> units (other than Standard).
>
>
> In my opinion it is not a good practice to create packages that are
children
> of Ada.
>
> Steve
> (The Duck)
>
> "Micha� Morawski" <morawski@zsk.p.lodz.pl> wrote in message
> news:b2e5ah$qpf$1@atlantis.news.tpi.pl...
> >
> > Does anybody know how to compile the child package of standard package
> (like
> > Ada.Text_IO.Random).
> > Normally GNAT refuse to compile it.
> >
> > Michal Morawski
> >
> >
> >
> >
>
>





  reply	other threads:[~2003-02-13 10:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-12 18:54 How to compile Ada.Text_IO.xxxxx files (Was: Random Access in Ada.Text_IO files) Micha� Morawski
2003-02-12 20:21 ` Jeffrey Carter
2003-02-12 22:42 ` GTKAda (Glade Gate problem) root
2003-02-12 23:00 ` How to compile Ada.Text_IO.xxxxx files (Was: Random Access in Ada.Text_IO files) Anh_Vo
2003-02-13  5:41 ` Steve
2003-02-13 10:22   ` Micha� Morawski [this message]
2003-02-13 18:58     ` Michal Nowak
replies disabled

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