This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Another bit of ISO C conversion...
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: "Zack Weinberg" <zack at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Mon, 8 Dec 2003 01:37:55 +0100
- Subject: Re: Another bit of ISO C conversion...
- References: <877k18yx0d.fsf@egil.codesourcery.com>
On Monday 08 December 2003 01:27, Zack Weinberg wrote:
> We've had a lot of people put in time to convert GCC to ISO C style,
> and I want to say that I appreciate all of that effort. There's one
> transformation that hasn't been getting done, though: use of #elif.
> K&R C didn't have this directive so we have lots of nested #if
> blocks. For example, from hwint.h:
Hmm looks like a good cleanup.
> Note also that it is no longer necessary to indent the leading # of
> an #error directive; or, turnabout, it is no longer necessary to write
> the leading # of any directive in column 1, so this becomes a style
> decision.
Before going to convert all files to #elif, can we agree on what style we
should use?
I would prefer to keep # in column 1 so you can still grep for ^#define etc.
In config/, there are quite a few files with commented out /* #defines */...
Gr.
Steven