Re: [dpdk-dev] [PATCH 03/10] net/virtio: fix compilation with -Og

2017-10-06 Thread Ferruh Yigit
On 10/6/2017 7:43 AM, Maxime Coquelin wrote: > > > On 09/11/2017 05:13 PM, Olivier Matz wrote: >> The compilation with gcc-6.3.0 and EXTRA_CFLAGS=-Og gives the following >> error: >> >>CC virtio_rxtx.o >>virtio_rxtx.c: In function ‘virtio_rx_offload’: >>virtio_rxtx.c:680:10: error: ‘c

Re: [dpdk-dev] [PATCH 03/10] net/virtio: fix compilation with -Og

2017-10-05 Thread Maxime Coquelin
On 09/11/2017 05:13 PM, Olivier Matz wrote: The compilation with gcc-6.3.0 and EXTRA_CFLAGS=-Og gives the following error: CC virtio_rxtx.o virtio_rxtx.c: In function ‘virtio_rx_offload’: virtio_rxtx.c:680:10: error: ‘csum’ may be used uninitialized in this fu

Re: [dpdk-dev] [PATCH 03/10] net/virtio: fix compilation with -Og

2017-10-05 Thread Ferruh Yigit
On 10/6/2017 12:17 AM, Ferruh Yigit wrote: > On 9/11/2017 4:13 PM, Olivier Matz wrote: >> The compilation with gcc-6.3.0 and EXTRA_CFLAGS=-Og gives the following >> error: >> >> CC virtio_rxtx.o >> virtio_rxtx.c: In function ‘virtio_rx_offload’: >> virtio_rxtx.c:680:10: error: ‘csum’ may be u

Re: [dpdk-dev] [PATCH 03/10] net/virtio: fix compilation with -Og

2017-10-05 Thread Ferruh Yigit
On 9/11/2017 4:13 PM, Olivier Matz wrote: > The compilation with gcc-6.3.0 and EXTRA_CFLAGS=-Og gives the following > error: > > CC virtio_rxtx.o > virtio_rxtx.c: In function ‘virtio_rx_offload’: > virtio_rxtx.c:680:10: error: ‘csum’ may be used uninitialized in > thi

[dpdk-dev] [PATCH 03/10] net/virtio: fix compilation with -Og

2017-09-11 Thread Olivier Matz
The compilation with gcc-6.3.0 and EXTRA_CFLAGS=-Og gives the following error: CC virtio_rxtx.o virtio_rxtx.c: In function ‘virtio_rx_offload’: virtio_rxtx.c:680:10: error: ‘csum’ may be used uninitialized in this function [-Werror=maybe-uninitialized] csum = ~