On Sep 30, 2011, at 4:43 PM, Joseph S. Myers wrote:

> On Thu, 29 Sep 2011, Tristan Gingold 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.
> 
> If it's about system headers, is there a reason you used a command-line 
> option rather than having a target hook that controls whether the front 
> end accepts this in system headers (only)?

If you prefer a target hook, I'm fine with that.  I will write such a patch.

I don't think it must be restricted to system headers, as it is possible that 
the user 'imports' such a function (and define it in one of VMS favorite 
languages such as macro-32 or bliss).

Tristan.

Reply via email to