Mail Archives: djgpp/1995/04/11/14:45:42
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 -