comp.lang.ada
 help / color / mirror / Atom feed
From: mfeldman@seas.gwu.edu (Michael Feldman)
Subject: Re: GNAT NT & Ada.Direct_IO
Date: 9 Jan 1995 16:43:02 -0500
Date: 1995-01-09T16:43:02-05:00	[thread overview]
Message-ID: <3esal6$h4i@felix.seas.gwu.edu> (raw)
In-Reply-To: 3eqe9u$n0b@msunews.cl.msu.edu

In article <3eqe9u$n0b@msunews.cl.msu.edu>,
Mark Riordan <mrr@scss3.cl.msu.edu> wrote:
>When I run:
>
>   gcc -c a-direio.adb
>
>I am surprised to get the message:
>
>"No code generated for Ada.Direct_Io (body) in file a-direio.adb"

Perhaps NYU will answer your question more articulately than I,
but in fact GNAT does not generate code when a _generic_ (like 
Direct_IO) is compiled. The syntactic and semantic checking is
done, but the code is not generated till the generic unit is
instantiated.

[snip]

>Incidentally, the reason I'm trying to recompile Ada.Direct_IO
>is that the Public Ada Library Card Catalog program doesn't
>work under GNAT NT.  It appears to be choking on a control-Z
>in a binary input file; the direct I/O files are being opened
>in text mode by the Direct_IO package.  I'm trying to hack
>around the problem.

Hmmm - better let NYU handle this one. But the "no code generated"
is a normal GNAT message when a generic is compiled. 

Have you reported this to gnat-report@cs.nyu.edu? If not, please do.

Mike Feldman
------------------------------------------------------------------------
Michael B. Feldman -  chair, SIGAda Education Working Group
Professor, Dept. of Electrical Engineering and Computer Science
The George Washington University -  Washington, DC 20052 USA
202-994-5919 (voice) - 202-994-0227 (fax) - mfeldman@seas.gwu.edu (Internet)
------------------------------------------------------------------------
One, two, three ways an underdog: Ada fan, Mac fan, Old Liberal Democrat
------------------------------------------------------------------------
         Ada on the World-Wide Web: http://lglwww.epfl.ch/Ada/
------------------------------------------------------------------------



  parent reply	other threads:[~1995-01-09 21:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-01-09  4:33 GNAT NT & Ada.Direct_IO Mark Riordan
1995-01-09  6:07 ` Robert Dewar
1995-01-09  6:10 ` Robert Dewar
1995-01-09 21:43 ` Michael Feldman [this message]
1995-01-10  4:55   ` Mark Riordan
     [not found] <INFO-ADA%95011109284406@VM1.NODAK.EDU>
1995-01-12 13:57 ` Robert Dewar
1995-01-12 15:58 ` Tom Griest
  -- strict thread matches above, loose matches on Subject: below --
1995-01-13 15:43 CONDIC
1995-01-14  2:35 ` David Weller
replies disabled

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