[llvm-bugs] [Bug 37647] New: Add gcc-toolchain option to scan-build.

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 31 21:51:22 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=37647

            Bug ID: 37647
           Summary: Add gcc-toolchain option to scan-build.
           Product: clang
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Static Analyzer
          Assignee: dcoughlin at apple.com
          Reporter: ksevcovs at equinoxpayments.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20377
  --> https://bugs.llvm.org/attachment.cgi?id=20377&action=edit
patch

I have multiple GCC versions on my PC, clang defaults to 4.8 headers, if I want
to use headers from 7.1 I need to specify it via --gcc-toolchain option. I did
not find a way to do the same when using scan-build, so I hacked scan-build and
ccc-analyzer scripts to provide such an option, see the attached patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180601/7b827340/attachment.html>


More information about the llvm-bugs mailing list