C preprocessor question
brett at wjvax.UUCP
brett at wjvax.UUCP
Wed Jan 28 11:34:36 AEST 1987
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
More information about the Comp.lang.c
mailing list