From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,baa6871d466e5af9 X-Google-Attributes: gid103376,public From: Laurent Guerby Subject: Re: AQ&S Guidance on pragma Elaborate_Body Date: 1997/04/24 Message-ID: #1/1 X-Deja-AN: 237108032 Sender: guerby@boole.enst-bretagne.fr References: <528878564wnr@diphi.demon.co.uk> <5jabeq$3ltk@info4.rus.uni-stuttgart.de> <5jfukp$lda@top.mitre.org> Organization: ENST de Bretagne, Brest FRANCE Newsgroups: comp.lang.ada Date: 1997-04-24T00:00:00+00:00 List-Id: dewar@merv.cs.nyu.edu (Robert Dewar) writes: > I often find it quite annoying not being able to use Text_IO for debugging > purposes in a pure or preelaborable package. There are two ways around it. > One is to use GNAT.IO, which is at least preelaborable (maybe we should > cheat and call it pure, but it really isn't). > > The other is to use the secret switch -gnatdu: I posted a while ago another "Pure" Ada solution: use the pragma Import from a Pure package is not disallowed, so you can import your favorite Put_Line routine (it made Bob duff happy is I remember well ;-). Shouldn't this be in the programming FAQ? -- Laurent Guerby , Team Ada. "Use the Source, Luke. The Source will be with you, always (GPL)."