Re: [dpdk-dev] [PATCH v3 22/24] rte_hash_crc.h: stack vars declared at top of function

2018-05-13 Thread Thomas Monjalon
12/05/2018 04:00, Andy Green: > /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h: > In function 'crc32c_2words': > /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:347:2: > warning: ISO C90 forbids mixed declarations and code > [-Wdeclaration-after-statement] > uint32_t crc, term1,

[dpdk-dev] [PATCH v3 22/24] rte_hash_crc.h: stack vars declared at top of function

2018-05-11 Thread Andy Green
/projects/lagopus/src/dpdk/build/include/rte_hash_crc.h: In function 'crc32c_2words': /projects/lagopus/src/dpdk/build/include/rte_hash_crc.h:347:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] uint32_t crc, term1, term2; Signed-off-by: Andy Green --- li