This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Support DEC-C extensions
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 30 Sep 2011 14:43:44 +0000 (UTC)
- Subject: Re: [Patch] Support DEC-C extensions
- References: <51227D85-9E15-48AB-9381-14B597C1F80B@adacore.com>
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)?
--
Joseph S. Myers
joseph@codesourcery.com