This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ANSIfy cp/parser.c
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, <neroden at twcny dot rr dot com>, <gcc-patches at gcc dot gnu dot org>, <zack at codesourcery dot com>
- Date: 09 Jan 2003 16:15:25 +0100
- Subject: Re: ANSIfy cp/parser.c
- Organization: Integrable Solutions
- References: <Pine.LNX.4.33.0301091459290.10082-100000@kern.srcf.societies.cam.ac.uk>
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
| On Thu, 9 Jan 2003, Kaveh R. Ghazi wrote:
|
| > Perhaps automake can help? Does anyone think adding automake
| > conversion of the gcc dir and ansi2knr as two new beginner projects is
| > worthwhile?
|
| ansi2knr is not a sensible road. The benefits of using ISO C go beyond
| the trivial syntax changes in function declarations and definitions and
| keeping things limited so a converter can work is a bad idea.
Yeah, my "conversion" went behond mere prototyping: I made some
functions use and return "bool" where appropriate.
-- Gaby