[cfe-dev] C++ default arguments patch, rework Parse-Sema interaction for function parameters
Neil Booth
neil at daikokuya.co.uk
Wed Apr 9 07:59:08 PDT 2008
Doug Gregor wrote:-
> On Tue, Apr 8, 2008 at 6:46 PM, Neil Booth <neil at daikokuya.co.uk> wrote:
> > Doug Gregor wrote:-
> >
> >
> > > and, when in non-C99 mode, warns about this as an extension:
> > >
> > > typedef void T;
> > > void f(T);
> >
> > Nothing special about C99 there, it must be accepted in C90 too.
>
> You're certain? EDG diagnoses this code with an extension warning in
> it's C90 mode, and I can't find a copy of the C90 specification to
> verify (ISO doesn't sell it anymore).
Yeah, it's DR 157 to C90. EDG make several mistakes too :)
Neil.
More information about the cfe-dev
mailing list