This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: A const-ify patch for gperf generated files
- To: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Subject: Re: A const-ify patch for gperf generated files
- From: Jeffrey A Law <law at upchuck dot cygnus dot com>
- Date: Wed, 31 Mar 1999 01:43:12 -0700
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199903272125.QAA13030@caip.rutgers.edu>you write:
> This const-ify patch patch gets rid of around 900
> -Wwrite-strings warnings in the gperf generated files used in egcs.
>
> Okay to install?
>
> --Kaveh
>
>
>
> Sat Mar 27 12:39:51 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * Makefile.in (c-gperf.h): Generate using gperf language 'C', not
> 'KR-C', so gperf uses the `const' keyword on strings.
>
> * c-parse.gperf (resword): Const-ify a char*.
Approved.
jeff