scan-build-3.7 Error

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

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