[cfe-dev] C++ default arguments patch, rework Parse-Sema interaction for function parameters

Doug Gregor doug.gregor at gmail.com
Tue Apr 8 19:22:28 PDT 2008


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).

  - Doug



More information about the cfe-dev mailing list