[dpdk-dev] [PATCH] test: Disable strict-aliasing warnings

Stephen Hemminger stephen at networkplumber.org
Fri Mar 27 16:46:21 CET 2015


On Thu, 26 Mar 2015 19:17:35 +0000
Pablo de Lara <pablo.de.lara.guarch at intel.com> wrote:

> +# Disable warnings of no-strict-aliasing in virtual_pmd
> +# and test_link_bonding_mode4 tests
> +CFLAGS_virtual_pmd.o += -Wno-strict-aliasing
> +CFLAGS_test_link_bonding_mode4.o += -Wno-strict-aliasing
> +
>  

There is a way to do it only for a specific (broken)
Gcc version using if's



More information about the dev mailing list