[dpdk-dev] [PATCH v2 2/2] i40e/base: compile fix on clang 3.3

2015-05-18 Thread Helin Zhang
Below compile error can be found on clang 3.3, which is a warning treated as error. Forcedly disabling the warning can fix it. Error log: lib/librte_pmd_i40e/i40e/i40e_nvm.c:708:20: error: unused variable 'i40e_nvm_update_state_str' [-Werror,-Wunused-variable] STATIC const char *i40e_nvm_update_st

[dpdk-dev] [PATCH v2 2/2] i40e/base: compile fix on clang 3.3

2015-05-18 Thread Bruce Richardson
On Mon, May 18, 2015 at 11:03:29PM +0800, Helin Zhang wrote: > Below compile error can be found on clang 3.3, which is a warning > treated as error. Forcedly disabling the warning can fix it. > > Error log: > lib/librte_pmd_i40e/i40e/i40e_nvm.c:708:20: error: unused variable > 'i40e_nvm_update_sta