This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Declarations after statements in front ends
- From: Robert Dewar <dewar at gnat dot com>
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Bryce McKinlay <mckinlay at redhat dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 20 Oct 2004 18:50:40 -0400
- Subject: Re: Declarations after statements in front ends
- References: <41768608.8040706@redhat.com> <87vfd5nx1p.fsf@codesourcery.com>
Zack Weinberg wrote:
I would go even farther, and say that *all* front ends must be coded
in ISO C90, and we should be compiling everything with -pedantic.
I don't see the need for this restriction. It seems to me that only
the C compiler need obey this rule. I see no reason why other front
ends cannot use GNU C extensions. So Zack, can you give your
reasoning here. To me, the restriction in non-C front ends seems
unnecessary and unhelpful.