Path: utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!mailrus!tut.cis.ohio-state.edu!cwjcc!gatech!ncsuvx!ece-csc!rss From: rss@ece-csc.UUCP (ML) Newsgroups: comp.std.c Subject: Re: Variable length arg lists for macros Message-ID: <3755@ece-csc.UUCP> Date: 1 Sep 88 02:58:30 GMT References: <438@ucsvc.unimelb.edu.au> Reply-To: rss@ece-csc.UUCP (ML) Organization: the loony bin Lines: 21 In a previous article u5565522@ucsvc.unimelb.edu.au (David Clunie) wrote: >How do people feel about the idea of preprocessor macros with variable >length argument lists ? I for one would love it. Plenty of times I've wanted macros like: #define trace(...) if (TraceFlag) fprintf(stderr, ...) #define crash(rc,...) { fprintf(stderr,...); return(rc); } etc. etc. This seems like it would be a simple and useful addition to the preprocessor, and one which could be implemented in a fairly painless way. Would it really be that difficult to add to the standard? (No flames please, that's a serious question based upon my own ignorance :-) One yes vote here... Mark Lanzo borrowing ...!mcnc!ece-csc!rss