Unknown preprocessor directives
Mark Mitchell
mark@codesourcery.com
Fri Jun 30 15:01:00 GMT 2000
I typed `#iF' in some code (instead of `#if'). I was confused when I
saw this message:
foo.c:9190: unbalanced `#endif'
It would have been easier for me if this had said "Hey, numbskull,
watch your typing; there's no such thing as `#iF'." Is it reasonable
to have the preprocessor issue a warning in this case?
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc-bugs
mailing list