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

2014-09-27 Thread Aurelien Jacobs
Package: clang-3.5 Version: 1:3.5-3 Followup-For: Bug #758998 I can confirm this issue with clang-3.5, as well as with clang-3.6. scan-build search for a clang executable in the same directory as the actual scan-build executable (/usr/share/clang/scan-build-3.5/) and does not find any. There is a

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

2014-08-23 Thread Richard Kettlewell
Package: clang-3.5 Version: 1:3.5~+r3-1 richard@deodand:~$ cat t.c struct x; richard@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@d