[cfe-dev] scan-build-3.7 Error

Jun Wang wangjun1918 at gmail.com
Wed Mar 11 08:54:01 PDT 2015


Hi,

Here is an update:

I run the configure though scan-build, and the scan finished without error.

$ scan-build ./configure
$ scan-build make

Thanks
Jun

On Tue, Mar 10, 2015 at 11:49 PM, Jun Wang <wangjun1918 at gmail.com> wrote:

> Hi,
>
> I tried to use clang static analysis at first time. the scan aborted with
> following errors.
> Do you have any clue?
>
> src/switch.c: At top level:
> cc1: error: unrecognized command line option "-Wno-extended-offsetof"
> [-Werror]
> cc1: error: unrecognized command line option "-Wno-extended-offsetof"
> [-Werror]
> cc1: all warnings being treated as errors
>
> You can find out complete nohup.out and source code here
> http://52.10.99.117:8181/freeswitch/
> and partial scan
> http://52.10.99.117:8181/scan/scan-build-2015-03-11-021432-4552-1/
>
> Thanks
> Jun
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150311/222aa4b6/attachment.html>


More information about the cfe-dev mailing list