Re: [ovs-dev] [PATCH v4] Makefile.am: Add clang static analysis support

2016-07-15 Thread Bodireddy, Bhanuprakash
>> +Open vSwitch includes a Makefile target to trigger static code >> +Analysis and the instructions are below. >> + >> +1. ./boot.sh >> +2. ./configure CC=clang (when using clang compiler) >> + ./configure CC=gcc CFLAGS="-std=gnu99" (when using GCC) 3. make >> +clang-analyze > >OK, the above wor

Re: [ovs-dev] [PATCH v4] Makefile.am: Add clang static analysis support

2016-07-14 Thread Ben Pfaff
Thanks for sending a new version. On Tue, Jul 05, 2016 at 05:34:54PM +0100, Bhanuprakash Bodireddy wrote: > Clang Static Analyzer is a source code analysis tool to find bugs. This > patch adds make target to trigger static analysis using below commands. > > ./boot.sh > For Clang: ./configure CC=c

Re: [ovs-dev] [PATCH v4] Makefile.am: Add clang static analysis support

2016-07-05 Thread Lance Richardson
- Original Message - > From: "Bhanuprakash Bodireddy" > To: dev@openvswitch.org > Cc: b...@ovn.org, lrich...@redhat.com, "Bhanuprakash Bodireddy" > > Sent: Tuesday, July 5, 2016 12:34:54 PM > Subject: [PATCH v4] Makefile.am: Add clang static analysis support > > Clang Static Analyzer is

[ovs-dev] [PATCH v4] Makefile.am: Add clang static analysis support

2016-07-05 Thread Bhanuprakash Bodireddy
Clang Static Analyzer is a source code analysis tool to find bugs. This patch adds make target to trigger static analysis using below commands. ./boot.sh For Clang: ./configure CC=clang --with-dpdk For GCC: ./configure CC=gcc --with-dpdk CFLAGS="-std=gnu99" make clang-analyze scan-view --host= --p