This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for cp directory warnings
- To: ghazi at caip dot rutgers dot edu
- Subject: Re: PATCH for cp directory warnings
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Sat, 11 Dec 1999 10:53:04 -0800
- Cc: egcs-patches at egcs dot cygnus dot com
- Organization: CodeSourcery, LLC
- References: <199912111815.NAA02551@caip.rutgers.edu>
>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:
Kaveh> This zaps warnings in the cp dir. Okay to install?
Most of this is fine.
Kaveh> * class.c (get_vtable_name): Use a liternal format
Spelling: `literal'.
Kaveh> string and VTABLE_NAME_PREFIX macro instead of
Kaveh> VTABLE_NAME_FORMAT. (prepare_fresh_vtable): Likewise.
Kaveh> * cp-tree.h (VTABLE_NAME_PREFIX): Define this instead
Kaveh> of VTABLE_NAME_FORMAT.
OK, I guess. This is strictly less general than before. This is one
of those warnings that I think is truly hyperactive. That's an
approval, just a lukewarm one.
Kaveh> * decl.c (make_rtl_for_local_static): Remove unused
Kaveh> variable `type'.
Fine.
Kaveh> * init.c (build_vec_init): Initialize variable
Kaveh> `try_body'.
Fine.
Kaveh> * lex.c (yyerror): Don't call a variadic function with
Kaveh> a non-literal format string.
Kaveh> * optimize.c (optimize_function): Call memset, not
Kaveh> bzero.
Fine.
Kaveh> * pt.c (for_each_template_parm_r): Add static
Kaveh> prototype.
Fine.
Thanks!
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com