Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site rexago1.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!cwruecmp!rexago1!rich From: rich@rexago1.UUCP (K. Richard Magill) Newsgroups: net.lang.c Subject: lint bug or bad syntax? Message-ID: <180@rexago1.UUCP> Date: Wed, 29-Jan-86 14:33:13 EST Article-I.D.: rexago1.180 Posted: Wed Jan 29 14:33:13 1986 Date-Received: Sat, 1-Feb-86 00:32:19 EST Distribution: net Organization: Roadway Express Inc., Akron, OH Lines: 28 This is on a 3b2/300 Sv.2.2. At a guess, lint doesn't parse much but instead does lots of lexxing. So, how do I write this so that lint doesn't complain? Can I do it without writing a function Q()? #define Q() ((void)f(),g()) /* this is actually in a library header file */ main() { (void) Q(); return(0); } /* main */ f() { /* these too are in the library */ return(0); } /* f */ g() { return(-1); } /* g */ x.c ============== function returns value which is always ignored g K. Richard Magill ...decvax!cwruecmp!rexago1!rich "I'm not crazy! I just don't give a f^K