Bug#758998: scan-build does not default to the compiler it ships with

Richard Kettlewell rjk at terraraq.org.uk
Sat Aug 23 15:25:15 UTC 2014


Package: clang-3.5
Version: 1:3.5~+r3-1

richard at deodand:~$ cat t.c
struct x;
richard at deodand:~$ scan-build-3.5 cc -c t.c
scan-build: error: Cannot find an executable 'clang' relative to 
scan-build.  Consider using --use-analyzer to pick a version of 'clang' 
to use for static analysis.
richard at deodand:~$ scan-build-3.5 --use-analyzer /usr/bin/clang-3.5 cc 
-c t.c
scan-build: Using '/usr/bin/clang-3.5' for static analysis
scan-build: Removing directory 
'/tmp/scan-build-2014-08-23-172422-31482-1' because it contains no reports.
scan-build: No bugs found.

ttfn/rjk



More information about the Pkg-llvm-team mailing list