Aucbvax.4079 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Sun Sep 27 19:40:42 1981 odd lint errors >From CSVAX.dmr@Berkeley Sun Sep 27 19:24:46 1981 A recent message wondered why lint complains about a program #if UCB_NKB==1 ... #endif when the compiler handles it fine. Actually the whole truth was not told. The program was probably of the form #define UCB_NKB 1 /* mumble */ etc. with a comment. Lint calls the preprocessor with the -C flag to preserve comments (like /* VARARGS */). Unfortunately cpp preserves the comment in the #define but then fails to ignore it while parsing the expression after #if. We still have this too (someone found it just recently). cpp's author has been notified. Dennis Ritchie