Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-unix!hplabs!pesnta!wjvax!brett From: brett@wjvax.UUCP Newsgroups: comp.lang.c,comp.bugs.4bsd Subject: C preprocessor question Message-ID: <818@wjvax.wjvax.UUCP> Date: Tue, 27-Jan-87 20:34:36 EST Article-I.D.: wjvax.818 Posted: Tue Jan 27 20:34:36 1987 Date-Received: Thu, 29-Jan-87 06:20:10 EST Reply-To: brett@wjvax.UUCP (Brett Galloway) Followup-To: comp.bugs.4bsd Organization: Watkins-Johnson Co., San Jose, Calif. Lines: 14 Keywords: preprocessor, UNIX, BSD Xref: watmath comp.lang.c:871 comp.bugs.4bsd:151 I have a question about the C preprocessor. I have the following code fragment, which fails to compile on my system (4.2BSD): #define GROUP(group,subgroup) (((group) << 8) | (subgroup)) #if GROUP(0,0) #endif The #if chokes for some reason. Can anyone in comp.lang.c see my error? If there is no error, is this a known bug of the 4.2BSD cpp? -- ------------- Brett Galloway {pesnta,twg,ios,qubix,turtlevax,tymix,vecpyr,certes,isi}!wjvax!brett