From: "Ed Vogel" <ed.vogel@compaq.com>
Subject: Re: Different Lint Preprocessor
Date: Mon, 5 Aug 2002 10:21:20 -0400 [thread overview]
Message-ID: <3d4e89e0$1_1@hpb10302.boi.hp.com> (raw)
In-Reply-To: aib0r2$mr6$2@news1.Radix.Net
"Thomas Dickey" <dickey@saltmine.radix.net> wrote in message
news:aib0r2$mr6$2@news1.Radix.Net...
|| I didn't focus on the __FUNCTION__ keyword (as you note, not needed), but
| on the ellipsis "..." which is used to implement a variable-argument list
| in the C preprocessor. (At one point someone was urging me to bundle the
| GNU preprocessor with lynx so he could submit code that relied on this
| feature ;-)
|
It's true that the current version of Compaq C does not support this
feature. The next version of the Compaq C compiler does contain
support for the C99 ellipsis operator in macros. We expect this
next version to be available soon.
Note that as I understand it, the C99 version is slightly different
than what gcc accepts. For example the posted program will
not compile unless a comma is added before the ... The gcc
compiler will accept either syntax, but C99 requires the comma.
Ed Vogel
Compaq C Engineering
prev parent reply other threads:[~2002-08-05 14:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-30 19:01 Different Lint Preprocessor Joe Blow
2002-07-31 11:01 ` Thomas Dickey
2002-07-31 19:04 ` Paul Pluzhnikov
2002-08-01 10:00 ` Thomas Dickey
2002-08-05 14:21 ` Ed Vogel [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox