Prev Chapter 3. In deciding how to tackle a particular bug, it is often helpful to attempt classify it. These are errors that your compiler should catch.
Some errors can result from linking object files from before and after a change together.
Make sure you use a Makefile, and that it accurately reflects the dependencies involved in building your project. See the section called An example makefile in Appendix A for a way to track dependencies automatically. No compiler or other tool can find these. You'll have to do some thinking here. Testing your program step by step using a debugging tool can help you here.