3 ms·
Can detect, but how many are forced? Have you tried using Gentoo with "-Wall -Werror" everywhere? You have some theoretical guardrails that aren't used widely
by Avamander 1y ago
Can detect, but how many are forced? Have you tried using Gentoo with "-Wall -Werror" everywhere?
You have some theoretical guardrails that aren't used widely in practice, many times even can't be used. If they could just be introduced like that, they'd likely be added to the standard in the first place.
The fact that the previous commenter can even ask the question if someone has analyzed or proven coreutils shows how little this "can detect" really guarantees.
The end your "can trivially detect" is very useless compared to Rust's enforcing these guarantees for everyone, all the time.
- 1718627440 1y ago-Wall -Werror is rare? That is more like the default for serious projects. The non-daily flags for code checking are -Wpedantic and -fanalyzer stuff.
- Avamander 1y agoIt's rare enough that you can't have your entire Gentoo built with it, especially not after a compiler update.