This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/23973] without -gnat05, GNAT warns that interface is new kw, but misses one frequent occurence
- From: "charlet at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Feb 2006 09:42:16 -0000
- Subject: [Bug ada/23973] without -gnat05, GNAT warns that interface is new kw, but misses one frequent occurence
- References: <bug-23973-5804@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from charlet at gcc dot gnu dot org 2006-02-15 09:42 -------
Subject: Bug 23973
Author: charlet
Date: Wed Feb 15 09:42:14 2006
New Revision: 111080
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=111080
Log:
2006-02-13 Javier Miranda <miranda@adacore.com>
PR ada/23973
* par-ch3.adb (P_Derived_Type_Def_Or_Private_Ext_Decl): Reorganize the
code to improve the error message reported when the program has
declarations of abstract interface types and it is not compiled with
the -gnat05 switch.
(P_Access_Definition): Reorganize the code to improve the error
message reported when the new Ada 2005 syntax for anonymous
access types is used and the program is not compiled with the
-gnat05 switch.
Modified:
trunk/gcc/ada/par-ch3.adb
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23973