3 ms·
> I wonder whether checking stylistic things should really be in the compiler or part of a separate tool. These checks absolutely should be part of the compile
by pcwalton 11y ago
> I wonder whether checking stylistic things should really be in the compiler or part of a separate tool.
These checks absolutely should be part of the compiler (and this isn't a stylistic warning; it's a correctness warning). Our software ecosystem would have been in a far worse place if C compiler developers had decided to not support the -Wall switch in favor of lint(1). There's a lot more friction involved with using an external tool compared to just modifying CFLAGS.