From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9de647ceb9cdd1df X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-08-05 07:21:30 PST From: "Ed Vogel" Newsgroups: comp.unix.tru64 References: <45467788.0207301101.4fa9b000@posting.google.com> Subject: Re: Different Lint Preprocessor Date: Mon, 5 Aug 2002 10:21:20 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 16.28.0.104 Message-ID: <3d4e89e0$1_1@hpb10302.boi.hp.com> X-Trace: hpb10302.boi.hp.com 1028557280 16.28.0.104 (5 Aug 2002 08:21:20 -0700) X-Original-NNTP-Posting-Host: 127.0.0.1 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!news.compaq.com!hpb10302.boi.hp.com Xref: archiver1.google.com comp.unix.tru64:8319 "Thomas Dickey" 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