3 ms·
> I run Clang and GCC with -Wall, -pedantic, and -Werror. This means I eliminate all warnings at every stage of development. > I even run Clang with -Weverythi
by astrange 4y ago
> I run Clang and GCC with -Wall, -pedantic, and -Werror. This means I eliminate all warnings at every stage of development.
> I even run Clang with -Weverything
This isn't "discipline". Those warnings themselves aren't all tested and often don't work. There's no point in conforming to a broken check like -Wstrict-aliasing or one that could be arbitrarily hard to fix like -Wdeprecated.