Skip to content

Failure to build with scan-build #21

Description

@wrathematics

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions