www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/04/11/14:45:42

Via: uk.ac.southampton-institute; Tue, 11 Apr 1995 11:21:01 +0100
Date: Tue, 11 Apr 95 11:20 GMT
From: HAZZARD_K AT SOUTHAMPTON-INSTITUTE DOT AC DOT UK
To: DJGPP <DJGPP AT sun DOT soe DOT clarkson DOT edu>
Subject: problems using SEQUENTIAL_IO

I have installed the GNAT Ada compiler on my 486pc.

I am having problems with SEQUENTIAL_IO.

The following very short code segment illustrates the problem.

with SEQUENTIAL_IO;
procedure TEST is

   package INT_FILE is new SEQUENTIAL_IO(INTEGER);
   use INT_FILE;

begin
   NULL;
end TEST;

Using the command line: gcc -c test.adb to compile the module I obtain the
following message from the gcc compiler.

s:\GNAT\DJGPP\adainc\a-sequio.adb:33:59: actual for "Element_Type" must be a definite subtype

The same error is reported for ANY 'type' used in the instantiation.

If I use DIRECT_IO there are no problems.

I hope that this is of use to you, or to the GNAT team.

If I should be reporting the problem else where please let me know.

Keep up the good work,

Keith Hazzard
Southampton Institute
England


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019