diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-14 08:49:26 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-14 08:49:26 +0000 |
commit | 3f61861d9aa3478ff934a8dbee01cdaf05aa3945 (patch) | |
tree | a1eae04afc1d40b823d6ca3175d5fdd0c261cc71 /gcc/ada/s-ficobl.ads | |
parent | cdfe77a0151b849b4d68f7f6a62988308714c85b (diff) | |
download | gcc-3f61861d9aa3478ff934a8dbee01cdaf05aa3945.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127460 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-ficobl.ads')
-rw-r--r-- | gcc/ada/s-ficobl.ads | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/s-ficobl.ads b/gcc/ada/s-ficobl.ads index 7c1e1c45024..d0a08054c89 100644 --- a/gcc/ada/s-ficobl.ads +++ b/gcc/ada/s-ficobl.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- Copyright (C) 1992-2006, Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2007, Free Software Foundation, Inc. -- -- -- -- GNAT is free software; you can redistribute it and/or modify it under -- -- terms of the GNU General Public License as published by the Free Soft- -- @@ -78,7 +78,7 @@ package System.File_Control_Block is -- stream with the semantics specified in the RM for file sharing. All -- files opened with "shared=no" will have their own stream. - type AFCB; + type AFCB is tagged; type AFCB_Ptr is access all AFCB'Class; type AFCB is abstract new Ada.Streams.Root_Stream_Type with record |