Currently failing to build with scan-build, the static analyzer that comes with clang. Stripped down, my build script looks something vaguely like this:
export RCMD="env MAKE='scan-build make -j 5' R --vanilla CMD INSTALL"
eval `echo $RCMD` $package
The CC = @CC@ line (39) of src/Makevars.in, after expansion into src/Makevars, is the offender. After expansion, it looks like:
CC = scan-build: Using '/usr/lib/llvm-3.6/bin/clang' for static analysis
/usr/share/clang/scan-build-3.6/ccc-analyzer
scan-build: Removing directory '/tmp/scan-build-2015-09-01-070320-27245-1' because it contains no reports.
scan-build: No bugs found.
Currently failing to build with
scan-build, the static analyzer that comes with clang. Stripped down, my build script looks something vaguely like this:The
CC = @CC@line (39) ofsrc/Makevars.in, after expansion intosrc/Makevars, is the offender. After expansion, it looks like: