This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ANSIfy many function declarations & definitions in cp/
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- To: neroden at twcny dot rr dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 10 Jan 2003 18:18:50 -0500 (EST)
- Subject: Re: ANSIfy many function declarations & definitions in cp/
- References: <20030110190551.GA4747@doctormoo>
> * cfns.gperf: ANSIfy function declarations.
> * cfns.h: Regenerate.
Since you're regenerating cfns.h, please consider adding "-L ANSI-C"
to the gperf invocation. This will change the output file to ISO C
style. (Right now, the default for gperf outputs K&R style function
definitions.)
I think you have to patch cp/Make-lang.in for this.
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu