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