Re: [dpdk-dev] [PATCH] buildtools: allow pedantic empty pmdinfo

2020-02-05 Thread Thomas Monjalon
05/02/2020 18:14, Bruce Richardson: > On Wed, Feb 05, 2020 at 06:07:23PM +0100, Thomas Monjalon wrote: > > If a driver has no info generated by pmdinfogen, > > and if this driver is compiled as pedantic, > > then an failure would occur: > > drivers/rte_common_mlx5.pmd.c:1: error: > > ISO C

Re: [dpdk-dev] [PATCH] buildtools: allow pedantic empty pmdinfo

2020-02-05 Thread Bruce Richardson
On Wed, Feb 05, 2020 at 06:07:23PM +0100, Thomas Monjalon wrote: > If a driver has no info generated by pmdinfogen, > and if this driver is compiled as pedantic, > then an failure would occur: > drivers/rte_common_mlx5.pmd.c:1: error: > ISO C forbids an empty translation unit [-Werror=p

[dpdk-dev] [PATCH] buildtools: allow pedantic empty pmdinfo

2020-02-05 Thread Thomas Monjalon
If a driver has no info generated by pmdinfogen, and if this driver is compiled as pedantic, then an failure would occur: drivers/rte_common_mlx5.pmd.c:1: error: ISO C forbids an empty translation unit [-Werror=pedantic] Such error is triggered with the new mlx5 common directory. I