Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!orchid!rbutterworth From: rbutterworth@orchid.UUCP Newsgroups: comp.lang.c Subject: Re: #if inside #define -- easy to do, but is it a good idea? Message-ID: <11102@orchid.waterloo.edu> Date: Thu, 8-Oct-87 09:37:33 EDT Article-I.D.: orchid.11102 Posted: Thu Oct 8 09:37:33 1987 Date-Received: Sun, 11-Oct-87 07:20:33 EDT References: <157@decvax.UUCP> <29339@sun.uucp> <10898@orchid.waterloo.edu> <7454@ism780c.UUCP> Organization: U of Waterloo, Ontario Lines: 17 In article <7454@ism780c.UUCP>, tim@ism780c.UUCP (Tim Smith) writes: > < #define USEDARGS /*ARGUSED*/ > This doesn't do anything useful on the various cpp's I have tried > it on. The /*ARGUSED*/ is taken as a comment before the #define > is processed. But that was for "COMPILER_C", you probably haven't used the cpp that comes with that version :-) There is also: #if defined(bsd) # define USEDARGS //**/*ARGSUSED*/**// #endif which works fine on the bsd 4.3 lint. (The second /**/ isn't needed but make it look more balanced.)