Why should I always enable compiler warnings?
10:08 08 Sep 2019

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?

c++ c warnings compiler-warnings c++-faq