Currently using g++, Ubuntu 20.04 LTS, C++20.
So far, I've been coding with the following error/warning flags:
-Wall -Wextra -Werror -pedantic
Do these flags generally cover every sub flag such as -Wvla
, Weffc++
, Wsign-conversion
, etc ? Or does it depend on the system architecture and compiler? What other error flags should I be using?