Re: [opensc-devel] clang --analyze

2011-02-05 Thread Ludovic Rousseau
2011/2/5 Ludovic Rousseau : > Hello, > > I recently discovered the clang [1] compiler frontend. This frontend > generates warnings more or less like gcc. > But the LLVM compiler also has a static analysis feature used with > "clang --analyze" and can discover real bugs. > > I recompiled the OpenSC

[opensc-devel] clang --analyze

2011-02-05 Thread Ludovic Rousseau
Hello, I recently discovered the clang [1] compiler frontend. This frontend generates warnings more or less like gcc. But the LLVM compiler also has a static analysis feature used with "clang --analyze" and can discover real bugs. I recompiled the OpenSC source code using: $ make CC="clang --anal