[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Thomas Monjalon
2016-06-27 16:51, Wiles, Keith: > On 6/27/16, 11:40 AM, "Richardson, Bruce" > wrote: > >On Mon, Jun 27, 2016 at 05:29:59PM +0100, Wiles, Keith wrote: > >> On 6/27/16, 7:58 AM, on behalf of keith.wiles at intel.com> wrote: > >> >On 6/27/16, 3:46 AM, "Richardson, Bruce" > >> >wrote: > >> >>On Sun

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Bruce Richardson
On Mon, Jun 27, 2016 at 05:29:59PM +0100, Wiles, Keith wrote: > On 6/27/16, 7:58 AM, "dev on behalf of Wiles, Keith" on behalf of keith.wiles at intel.com> wrote: > > > > >On 6/27/16, 3:46 AM, "Richardson, Bruce" > >wrote: > > > >>On Sun, Jun 26, 2016 at 10:54:12AM -0500, Keith Wiles wrote: > >

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Wiles, Keith
On 6/27/16, 11:40 AM, "Richardson, Bruce" wrote: >On Mon, Jun 27, 2016 at 05:29:59PM +0100, Wiles, Keith wrote: >> On 6/27/16, 7:58 AM, "dev on behalf of Wiles, Keith" > dpdk.org on behalf of keith.wiles at intel.com> wrote: >> >> > >> >On 6/27/16, 3:46 AM, "Richardson, Bruce" >> >wrote: >> >

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Wiles, Keith
On 6/27/16, 7:58 AM, "dev on behalf of Wiles, Keith" wrote: > >On 6/27/16, 3:46 AM, "Richardson, Bruce" wrote: > >>On Sun, Jun 26, 2016 at 10:54:12AM -0500, Keith Wiles wrote: >>> Latest clang compiler 3.8.0 on latest update of Ubuntu >>> creates a few more warnings on -Warray-bounds and extra >

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Wiles, Keith
On 6/27/16, 3:46 AM, "Richardson, Bruce" wrote: >On Sun, Jun 26, 2016 at 10:54:12AM -0500, Keith Wiles wrote: >> Latest clang compiler 3.8.0 on latest update of Ubuntu >> creates a few more warnings on -Warray-bounds and extra >> () around 'if' expressions. >> >> Signed-off-by: Keith Wiles >>

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Thomas Monjalon
2016-06-26 10:54, Keith Wiles: > Latest clang compiler 3.8.0 on latest update of Ubuntu > creates a few more warnings on -Warray-bounds and extra > () around 'if' expressions. The goal of compiler checks is to fix the code. Why disabling these checks instead of fixing the code? If they are false p

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-27 Thread Bruce Richardson
On Sun, Jun 26, 2016 at 10:54:12AM -0500, Keith Wiles wrote: > Latest clang compiler 3.8.0 on latest update of Ubuntu > creates a few more warnings on -Warray-bounds and extra > () around 'if' expressions. > > Signed-off-by: Keith Wiles > --- > app/test-pmd/Makefile| 3 +++ > app

[dpdk-dev] [PATCH v2 2/2] fix building with clang-3.8.0 compiler

2016-06-26 Thread Keith Wiles
Latest clang compiler 3.8.0 on latest update of Ubuntu creates a few more warnings on -Warray-bounds and extra () around 'if' expressions. Signed-off-by: Keith Wiles --- app/test-pmd/Makefile| 3 +++ app/test/Makefile| 3 +++ drivers/net/bonding/Makefile