Hello GNU GCC Developers,

My name is Evan Cooney and I'm a student at the University of Missouri. I
was reading the documentation for the #ifdef preprocessor macro and I think
I found a slight typo. It is in section 4.2.1 "Ifdef", paragraph 5 (the one
that starts with "The comment following the '#endif" is not required..."),
sentence 5. It says "It never affects which ‘#ifndef’ the ‘#endif’
matches," in reference to writing the macro being tested after the #endif
without enclosing it in a comment. It seems like #ifndef should be replaced
with #ifdef because the paragraph doesn't mention #ifndef at all. I know
this is a pedantic,  but gcc is an amazing project and I would like to help
it improve.

Thank you for all your work on GCC and the Free Software movement,
Evan Cooney

Reply via email to