This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Unknown preprocessor directives



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]