Home > Articles

C++ Coding Standards: Compile Cleanly at High Warning Levels

  • Print
  • + Share This
When compiling, your code should be warning-free. Otherwise, you'll get into the habit of skimming over warnings, and wind up missing critical errors. This chapter will help you to create warning-free code.
This chapter is from the book


Take warnings to heart: Use your compiler's highest warning level. Require clean (warning-free) builds. Understand all warnings. Eliminate warnings by changing your code, not by reducing the warning level.

  • + Share This
  • 🔖 Save To Your Account