bitPhile

Home

❯

notes

❯

tech

❯

c++

❯

Warning Configurations in Compiler

Warning Configurations in Compiler

Oct 12, 20251 min read

  • cpp

We can configure the compiler to show warning diagnostics for the programs so that we can make the program better.

Provide the following flags to the compiler to configure warnings.

<compiler> \
    - Wall
    - Weffc++
    - Wextra
    - Wconversion
    - Wsign-conversion

References

  1. https://www.learncpp.com/cpp-tutorial/configuring-your-compiler-warning-and-error-levels/

Graph View

Created with Quartz v4.5.1 © 2025

  • GitHub
  • Discord Community