On Thu, Sep 29, 2011 at 10:10 AM, Tristan Gingold <ging...@adacore.com> wrote:
> Hi,
>
> DEC-C, the DEC compiler provided on VMS, has added to ANSI-C at least one 
> extension that is difficult to work-around as it is used in the system 
> headers: varargs without named argument.  It makes sense on VMS because of 
> its ABI which pass the number of arguments used.
>
> This patch allows such declaration when the new flag -fdecc-extensions is 
> used (C and ObjC only as C++ already allows that).
>
> I use the plural for consistency with other -fxxx-extensions and in case 
> where others extensions are added.
>
> Bootstrapped on x86_64-darwin, no regressions.
>
> Ok for mainline ?
>

Note that

   void f(...) { }

is already valid C++, so I don't think the choice of the name
-fdecc-extensions is appropriate.

Reply via email to