Re: [dpdk-dev] [PATCH 05/13] vhost: fix errors with strict compilation flags

2017-04-26 Thread Maxime Coquelin
On 04/24/2017 05:52 PM, Adrien Mazarguil wrote: Exported headers must allow compilation with the strictest flags. This commit addresses the following errors: In file included from /tmp/check-includes.sh.20132.c:1:0: build/include/rte_vhost.h:73:30: error: ISO C forbids zero-size array

Re: [dpdk-dev] [PATCH 05/13] vhost: fix errors with strict compilation flags

2017-04-24 Thread Yuanhan Liu
On Mon, Apr 24, 2017 at 05:52:59PM +0200, Adrien Mazarguil wrote: > Exported headers must allow compilation with the strictest flags. This > commit addresses the following errors: > > In file included from /tmp/check-includes.sh.20132.c:1:0: > build/include/rte_vhost.h:73:30: error: ISO C forbid

[dpdk-dev] [PATCH 05/13] vhost: fix errors with strict compilation flags

2017-04-24 Thread Adrien Mazarguil
Exported headers must allow compilation with the strictest flags. This commit addresses the following errors: In file included from /tmp/check-includes.sh.20132.c:1:0: build/include/rte_vhost.h:73:30: error: ISO C forbids zero-size array 'regions' [-Werror=pedantic] [...] Also: - Add C++