[dpdk-dev] [PATCH] hash: fix compilation for gcc 4.4/4.5

2015-07-16 Thread Thomas Monjalon
2015-07-15 13:40, Pablo de Lara: > gcc 4.4 and 4.5 throws following error: > rte_cuckoo_hash.c:145: error: flexible array member in otherwise empty struct. > > This is due to empty length in flexible array, which has been changed to use > size 0 in the declaration of the array. > > Fixes: 48a3991

[dpdk-dev] [PATCH] hash: fix compilation for gcc 4.4/4.5

2015-07-15 Thread Pablo de Lara
gcc 4.4 and 4.5 throws following error: rte_cuckoo_hash.c:145: error: flexible array member in otherwise empty struct. This is due to empty length in flexible array, which has been changed to use size 0 in the declaration of the array. Fixes: 48a399119619 ("hash: replace with cuckoo hash implemen