This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Unknown preprocessor directives
- To: Zack Weinberg <weinberg at cygnus dot com>
- Subject: Unknown preprocessor directives
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Fri, 30 Jun 2000 15:01:25 -0700
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: CodeSourcery, LLC
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