I often hear that when compiling C and C++ programs I should “always enable compiler warnings”. Why is this necessary? How do I do that?
Sometimes I also hear that I should “treat warnings as errors”. Should I? How do I do that?
I often hear that when compiling C and C++ programs I should “always enable compiler warnings”. Why is this necessary? How do I do that?
Sometimes I also hear that I should “treat warnings as errors”. Should I? How do I do that?