3 ms·
What I’d like is for compiler authors to just admit this and include a lint mode. There’s some practical and political difficulty with adding new warnings to a
by evincarofautumn 9y ago
What I’d like is for compiler authors to just admit this and include a lint mode.
There’s some practical and political difficulty with adding new warnings to a widely used compiler, partly because you don’t want to generate too many new warnings for existing code, partly because people compile with -Werror and upgrading the compiler will break (well, sprain) their build. Those difficulties would be easy to skirt by just tossing new warnings into lint mode and promoting them to compiler warnings if they turn out to be very useful in practice.
- zaphar 9y agoI agree. A -Wlint would be a great way to keep the distinction but reuse the compilers infrastructure.