comp.lang.ada
 help / color / mirror / Atom feed
From: dewar@cs.nyu.edu (Robert Dewar)
Subject: Re: GNAT NT & Ada.Direct_IO
Date: 9 Jan 1995 01:07:03 -0500
Date: 1995-01-09T01:07:03-05:00	[thread overview]
Message-ID: <3eqjq7$kpe@gnat.cs.nyu.edu> (raw)
In-Reply-To: 3eqe9u$n0b@msunews.cl.msu.edu

Mark, please be sure to send basic questions like this to gnat-report
where they will get answered immediately.

THe answer to your question about direct_io is trivial, it is a generic unit,
and compiling generic units, like compiling specs, with GNAT does not
generate code.

It is only when a generic is instantiated that code is generated.

Actually in the case of generics, but not package specs, it is conceivable
that this will change in the future. Note also that there is a current
bug which causes a null object file to be generated for generics.

But anyway, the bottom line for the moment is use the -gnatc when
compiling generics, since no code is generated. THe only reason for
compiling a generic unit like direct_io is to check it out semantically.

P.S. the capitlization is because this particular error message always
generates mixed case output. It is too much trouble to copy the actual
capitalization from he source in this particular case.




  reply	other threads:[~1995-01-09  6:07 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 [this message]
1995-01-09  6:10 ` Robert Dewar
1995-01-09 21:43 ` Michael Feldman
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