summaryrefslogtreecommitdiff
path: root/gcc/ada/s-finroo.ads
diff options
context:
space:
mode:
authorEd Schonberg <schonberg@adacore.com>2007-08-14 10:49:26 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-08-14 10:49:26 +0200
commitb1b1010fb7748a4acfc46f7d1d9e680bc4397904 (patch)
treea1eae04afc1d40b823d6ca3175d5fdd0c261cc71 /gcc/ada/s-finroo.ads
parentf9c0d38ccdfa6044f994ae20098ad48ee2099647 (diff)
downloadgcc-b1b1010fb7748a4acfc46f7d1d9e680bc4397904.tar.gz
s-ficobl.ads: Declare AFCB as a tagged incomplete type...
2007-08-14 Ed Schonberg <schonberg@adacore.com> * s-ficobl.ads: Declare AFCB as a tagged incomplete type, to prevent obsolescent warning on application of 'Class to an incomplete type. * s-finroo.ads: Declare Root_Controlled as a tagged incomplete type, to prevent obsolescent warning on application of 'Class to an incomplete type. From-SVN: r127460
Diffstat (limited to 'gcc/ada/s-finroo.ads')
-rw-r--r--gcc/ada/s-finroo.ads2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/s-finroo.ads b/gcc/ada/s-finroo.ads
index 3bd1c7507fd..79f403c5fc6 100644
--- a/gcc/ada/s-finroo.ads
+++ b/gcc/ada/s-finroo.ads
@@ -39,7 +39,7 @@ with Ada.Unchecked_Conversion;
package System.Finalization_Root is
pragma Preelaborate;
- type Root_Controlled;
+ type Root_Controlled is tagged;
type Finalizable_Ptr is access all Root_Controlled'Class;