On Fri, Jul 08, 2016 at 04:42:20PM +0200, Thomas Monjalon wrote: > When compiled with a standard clang, pmdinfogen can raise a warning: > buildtools/pmdinfogen/pmdinfogen.c:365:1: warning: > control reaches end of non-void function > > Actually there can be more warnings with stricter compilers. > In order to catch them early and fix most of them, the DPDK standard flags > WERROR_FLAGS are used. > > The warnings fixed are: > no previous prototype for ... > no return statement in function returning non-void > variable ?secstrings? set but not used > ?sec_name? defined but not used > ?get_symbol_index? defined but not used > pointer of type ?void *? used in arithmetic > > Fixes: 98b0fdb0ffc6 ("pmdinfogen: add buildtools and pmdinfogen utility") > > Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com> Acked-by: Neil Horman <nhorman at tuxdriver.com>
- [dpdk-dev] [PATCH v2 09/10] doc: fix syntax in pmdinfogen ... Thomas Monjalon
- [dpdk-dev] [PATCH v2 10/10] maintainers: add section for p... Thomas Monjalon
- [dpdk-dev] [PATCH v3 00/10] additions to pmdinfogen Thomas Monjalon
- [dpdk-dev] [PATCH v3 01/10] drivers: fix build with n... Thomas Monjalon
- [dpdk-dev] [PATCH v3 02/10] mk: fix build dependency ... Thomas Monjalon
- [dpdk-dev] [PATCH v3 03/10] mk: remove traces of host... Thomas Monjalon
- [dpdk-dev] [PATCH v3 04/10] mk: fix driver build with... Thomas Monjalon
- [dpdk-dev] [PATCH v3 05/10] mk: fix verbose pmdinfoge... Thomas Monjalon
- [dpdk-dev] [PATCH v3 06/10] pmdinfogen: fix build war... Thomas Monjalon
- [dpdk-dev] [PATCH v3 06/10] pmdinfogen: fix build... Neil Horman
- [dpdk-dev] [PATCH v3 07/10] pmdinfogen: fix usage mes... Thomas Monjalon
- [dpdk-dev] [PATCH v3 08/10] eal: remove PCI include f... Thomas Monjalon
- [dpdk-dev] [PATCH v3 09/10] doc: fix syntax in pmdinf... Thomas Monjalon
- [dpdk-dev] [PATCH v3 10/10] maintainers: add section ... Thomas Monjalon
- [dpdk-dev] [PATCH v3 00/10] additions to pmdinfogen Thomas Monjalon