This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to remove signature support
- To: TYann at vet dot com dot au
- Subject: Re: PATCH to remove signature support
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Thu, 12 Aug 1999 17:56:41 -0700
- Cc: gcc-patches at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
- References: <37B34E65.60A07047@vet.com.au>
>>>>> "Trevor" == Trevor Yann <TYann@vet.com.au> writes:
Trevor> I'd like to suggest that a warning be added to gcc 2.95.1
Trevor> that signatures are a deprecated feature.
Agreed. I applied this patch to the branch.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
1999-08-12 Mark Mitchell <mark@codesourcery.com>
* decl2.c (lang_decode_option): Deprecate signatures.
Index: decl2.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/cp/decl2.c,v
retrieving revision 1.216.4.5
diff -c -p -r1.216.4.5 decl2.c
*** decl2.c 1999/08/10 17:16:26 1.216.4.5
--- decl2.c 1999/08/13 00:49:16
*************** lang_decode_option (argc, argv)
*** 633,638 ****
--- 633,644 ----
found = 1;
cp_deprecated ("-fexternal-templates");
}
+ else if (!strcmp (p, "handle-signatures"))
+ {
+ flag_handle_signatures = 1;
+ found = 1;
+ cp_deprecated ("-fhandle-signatures");
+ }
else if (!strcmp (p, "new-abi"))
{
flag_new_abi = 1;