2016-04-04 23:03, Wiles, Keith:
> >2016-04-01 14:20, Keith Wiles:
> >> The new compiler option -Og causes a few warning on variables
> >> being used before being set warnings.
> >
> >Sometimes the compiler is wrong. It seems this option makes it
> >even wronger. Why not use -Wno-error with -Og?
>
On Mon, Apr 04, 2016 at 04:10:54PM +0200, Thomas Monjalon wrote:
> --- a/lib/librte_vhost/vhost_rxtx.c
> +++ b/lib/librte_vhost/vhost_rxtx.c
> @@ -147,8 +147,10 @@ copy_mbuf_to_desc(struct virtio_net *dev, struct
> vhost_virtqueue *vq,
> struct virtio_net_hdr_mrg_rxbuf virtio_hdr = {{0, 0,
>2016-04-01 14:20, Keith Wiles:
>> The new compiler option -Og causes a few warning on variables
>> being used before being set warnings.
>
>Sometimes the compiler is wrong. It seems this option makes it
>even wronger. Why not use -Wno-error with -Og?
Did you want me to make these changes or just
2016-04-01 14:20, Keith Wiles:
> The new compiler option -Og causes a few warning on variables
> being used before being set warnings.
Sometimes the compiler is wrong. It seems this option makes it
even wronger. Why not use -Wno-error with -Og?
More details below:
> lib/librte_eal/linuxapp/eal/
The new compiler option -Og causes a few warning on variables
being used before being set warnings. The new option allows better
debugging then -O0 without losing a lot of performance. This option
does not include -g debug symbol option.
Signed-off-by: Keith Wiles
---
lib/librte_eal/linuxapp/eal
5 matches
Mail list logo