Thread (29 messages) read the whole thread 29 messages, 6 authors, 2016-01-13

Re: [PATCH v3 12/12] eal: pci: vfio: fix build error

From: Burakov, Anatoly <hidden>
Date: 2016-01-07 17:02:28

Hi Santosh,
Patch fixes below build error:
/home/mv/work/thunder/santosh/dpdk/santosh/dpdk/lib/librte_eal/linuxa
pp/eal/eal_pci_vfio.c:
In function ‘pci_vfio_set_iommu_type’:
/home/mv/work/thunder/santosh/dpdk/santosh/dpdk/lib/librte_eal/linuxa
pp/eal/eal_pci_vfio.c:243:2:
error: ‘for’ loop initial declarations are only allowed in C99 mode
for (unsigned idx = 0; idx < RTE_DIM(iommu_types); idx++) {
	    ^
/home/mv/work/thunder/santosh/dpdk/santosh/dpdk/lib/librte_eal/linuxa
pp/eal/eal_pci_vfio.c:243:2:
note: use option -std=c99 or -std=gnu99 to compile your code

Signed-off-by: Rizwan Ansari <redacted>
Signed-off-by: Santosh Shukla <redacted>
Oops, thanks, I'll submit a v2.

Thanks,
Anatoly
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help