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 --analyze"
and will correct bugs/warning as I discover them.

clang is available on standard Mac OS X Snow Leopard and as a Debian
package [2].
I recommend to use it on your C or C++ projects.

Bye

[1] http://clang.llvm.org/
[2] http://packages.debian.org/squeeze/clang

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to