This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH to remove signature support


>>>>> "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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]