3 ms·
You set things up so you can't disable -Werror on the build server, and all this is moot. The point about alternative implementations is interesting. Java has
by twic 10y ago
You set things up so you can't disable -Werror on the build server, and all this is moot.
The point about alternative implementations is interesting. Java has a comparable situation with unreachable code; the language specification has a simplistic definition of what unreachable code is, and makes it a compile-time error. A smart compiler can find more cases of unreachable code, but isn't allowed to make them errors. So it makes them warnings. It doesn't seem to be a big impediment to alternative implementations in practice.