Re: GNAT GPL - Anonymous Access Type
- From: "Jeffrey R. Carter" <spam@xxxxxxxx>
- Date: Wed, 28 Sep 2005 18:43:05 GMT
Anh Vo wrote:
I got this error message "type declaration cannot refer to itself" when
compiling the record below.
type Node is
record
Value : Integer := 0;
Next : access Node;
end record;
I have the impression that this feature has not been implemented based
on this error. What do you guys think?
Did you use -gnat05?
--
Jeff Carter
"You tiny-brained wipers of other people's bottoms!"
Monty Python & the Holy Grail
18
.
Relevant Pages
- Re: generic question
... package P is ... type Node is record ... Prev: access Node; ... (comp.lang.ada) - Re: Initialize with aggregate?
... >> type storage is access node; ... >> type node is ... > Hardwiring Item'Length to 50 isn't a good idea, ... > programming harder, because you have to carefully avoid the junk ... (comp.lang.ada) - Re: generic question
... package P is ... type Node is record ... Prev: access Node; ... (comp.lang.ada) - how to import a package
... type T is private; ... package P is ... type Node_Ptr is access Node; ... type Node is record ... (comp.lang.ada) |
|