This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Declarations after statements in front ends



On Oct 20, 2004, at 6:50 PM, Robert Dewar wrote:


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.

This extension is not implemented in gcc 2.95.3 so compiling a cross compiler will not work any more.

-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]