Various issues arise during debugging that do not deal with debugging tools. We'll cover some of these issues in this chapter.
Invaluable as GDB, DDD, and Eclipse are, they can't help you if your program doesn't even compile. In this section we'll give you some tips on dealing with this situation.
Sometimes the compiler will tell you you've got a syntax error in line x, when in fact line x is perfectly correct, and the real error is in an earlier line.
For example, here is the source file bintree.c from Chapter 3, with a syntax error thrown ...