[dpdk-dev] [PATCH] pipeline: use unsigned constants for left shift operations

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Thu Mar 10 15:27:41 CET 2016



> -----Original Message-----
> From: Panu Matilainen [mailto:pmatilai at redhat.com]
> Sent: Thursday, March 10, 2016 1:50 PM
> To: dev at dpdk.org
> Cc: Dumitrescu, Cristian <cristian.dumitrescu at intel.com>
> Subject: [PATCH] pipeline: use unsigned constants for left shift operations
> 
> Tell the compiler to use unsigned constants for left shift ops,
> otherwise building with gcc >= 6.0 fails due to multiple warnings like:
> warning: left shift of negative value [-Wshift-negative-value]
> 
> Signed-off-by: Panu Matilainen <pmatilai at redhat.com>
> ---

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>



More information about the dev mailing list