Clang Static Analyzer

I have installed Clang in Windows XP 32 bit using MinGW. I want to use the Clang Static Analyzer i.e., scan-build. Can anyone please guide me how to make scan-build executable for Windows and use it.



Hi Akramul,

For future reference, the correct list for questions on the analyzer is cfe-dev, not llvmdev.

There is no active maintainer of scan-build (or the analyzer) on Windows. I personally have never tried to make scan-build work on Windows, although I believe some have gotten it to work in a cygwin environment. scan-build depends on Perl, and possibly makes assumptions that are not valid on Windows. If you manage to get it to work, I’d appreciate hearing about it.