Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure to build with scan-build #21

Open
wrathematics opened this issue Sep 1, 2015 · 0 comments
Open

Failure to build with scan-build #21

wrathematics opened this issue Sep 1, 2015 · 0 comments

Comments

@wrathematics
Copy link
Member

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant