RE: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-13 Thread Wisam Monther
Hi, > > > -Original Message- > > > From: David Marchand > > > Sent: Wednesday, May 18, 2022 1:17 PM > > > To: dev@dpdk.org > > > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) > ; > > > ferruh.yi...@xilinx.com; sta...@dpdk.org; Wisam

Re: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-11 Thread Stephen Hemminger
On Wed, 18 May 2022 12:16:56 +0200 David Marchand wrote: > GCC 12 raises the following warning: > > ../app/test-flow-perf/main.c: In function ‘start_forwarding’: > ../app/test-flow-perf/main.c:1737:28: error: ‘sprintf’ may write a > terminating nul past the end of the destination > [-Wer

Re: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-08 Thread David Marchand
..@xilinx.com; sta...@dpdk.org; Wisam Monther > > > > Subject: [PATCH 11/12] app/flow-perf: fix build with GCC 12 > > > > GCC 12 raises the following warning: > > > > ../app/test-flow-perf/main.c: In function ‘start_forwarding’: > > ../app/test-flow-perf/m

RE: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-08 Thread Wisam Monther
Hi David, > -Original Message- > From: David Marchand > Sent: Wednesday, May 18, 2022 1:17 PM > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > ferruh.yi...@xilinx.com; sta...@dpdk.org; Wisam Monther > > Subject: [PATCH 11/12] app/flow-per

Re: [PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-06-02 Thread Bruce Richardson
On Wed, May 18, 2022 at 12:16:56PM +0200, David Marchand wrote: > GCC 12 raises the following warning: > > ../app/test-flow-perf/main.c: In function ‘start_forwarding’: > ../app/test-flow-perf/main.c:1737:28: error: ‘sprintf’ may write a > terminating nul past the end of the destination >

[PATCH 11/12] app/flow-perf: fix build with GCC 12

2022-05-18 Thread David Marchand
GCC 12 raises the following warning: ../app/test-flow-perf/main.c: In function ‘start_forwarding’: ../app/test-flow-perf/main.c:1737:28: error: ‘sprintf’ may write a terminating nul past the end of the destination [-Werror=format-overflow=] 1737 | sprintf(p[i++], "%d", (int)n);