🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3277

Re: Empty macro arguments

#3277
From: D. Scott Bigham
Date: Thu, 21 Jan 1993 23:00
24 lines
1275 bytes
From the Holy Book of <1993Jan18.065413.26508@nntpd.lkg.dec.com>
  as spake by diamond@jit.dec.com (Norman Diamond) :

>In article <16355@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes:

>>Am I likely to run into any trouble if I just go ahead and use what the
>>standard itself proposes as an extension?

>I don't see any wording in the standard that proposes an extension. [...]

Hmm.  Does this imply that a conforming compiler faced with the
following code fragment:

#define fred(a,b,c) a b c
fred(1,,3)

is _required_ to issue a diagnostic?

						-sbigham
-- 
Scott Bigham                   | The opinions expressed above are
dsb@romeo.cs.duke.edu          | (c) 1993 Hacker Ltd. and cannot be
bigham@hercules.acpub.duke.edu | copied or distributed without a
    (but not for long)         | Darn Good Reason(tm).
Technical Details
Message-ID: <727657228@majors3.cs.duke.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!concert!duke!dsb
References: <16355@goanna.cs.rmit.oz.au> <1993Jan18.065413.26508@nntpd.lkg.dec.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!concert!duke!dsb
From: dsb@duke.cs.duke.edu (D. Scott Bigham)
Newsgroups: comp.std.c
Subject: Re: Empty macro arguments
Message-ID: <727657228@majors3.cs.duke.edu>
Date: 21 Jan 93 23:00:29 GMT
References: <16355@goanna.cs.rmit.oz.au> <1993Jan18.065413.26508@nntpd.lkg.dec.com>
Organization: n. Arrangement in an orderly or logical fashion.  See "miracle".
Lines: 24