On 2013-01-16 12:17, mist wrote:

Yes and this is the very difference between compiler and static analysis
tool, in my opinion. Compiler should never ever reject valid use cases,
it does not matter how small chance of meeting those is.

Clang contains a ton of warnings for code that could contain common errors. I mean, there's nothing wrong in having unreferenced variables but there are still compilers that warn about this.

Also not that Clang has a static analyzer, in addition to the warnings and errors in the compiler.

--
/Jacob Carlborg

Reply via email to