[cfe-users] scan-build: fails to link project

Kai Harries kai.harries at gmail.com
Thu Dec 5 03:34:38 PST 2013


I have a C++  project with cmake as build-system. When I try to compile it
with

  'scan-build make'

it fails with 'ld returned 1 exit status'. But it works when I use

  'scan-build --use-cc=g++ make'

What might be causing that scan-build can not determine the right
compiler/linker?
How can I fix it?

Kind regards,

Kai Harries
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20131205/55eefd47/attachment.html>


More information about the cfe-users mailing list