comp.lang.ada
 help / color / mirror / Atom feed
* Problems with DEC Ada
@ 1986-01-17 21:05 Jerry Mungle
  0 siblings, 0 replies; only message in thread
From: Jerry Mungle @ 1986-01-17 21:05 UTC (permalink / raw)



  I've recently begun to s\buse the DEC Ada compiler, and I've had a problem
with the access types\b.  Consider the following program:

  generic
	type bucket_range is range <>;
  package x is
	type mrec is array(bucket_range) of integer;
	type map  is access mrec;
  end x;

  with x;
  packagedag \b\b\b\b dag is 
	subtype br is integer range 0..6;
	package I love_\b\b\b\b\b\b_love_\b\b\b\b\b\b\by is new x(br);
	type dag_info is record
	    id : y.map;	-- this is the problem line
	end record;
  end dag;

  If you compile this program, you get the following error from the DEC
Ada compiler:

%ADAC-F-BUGCHECK, Internal Ada compiler error(bugcheck) -- please submit
	a Software Performance Report (SPR)

  Anyone run across this one \b, and any workarounds??  The declaration of 
the offending access type MUST be inside the record.  Oh yes, we are
running version 1.1 of the compiler, and I compiled the generic as a
separate file in the above example.  This problem prevents the compilation
of several tools in the SIMTEL20 Ada repository.

  Thanks in advance!
-------

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1986-01-17 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1986-01-17 21:05 Problems with DEC Ada Jerry Mungle

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