[dpdk-dev] Build with -Werror=declaration-after-statement

2016-09-02 Thread Thomas Monjalon
2016-09-02 13:49, ASM: > Hi folks! > > Many groups have flag -Werror=declaration-after-statement in the > their coding conventions. Dpdk have many code as static inline > function in the headers files and have trouble with it. > > For example: > * lib/librte_ether/rte_ether.h, function rte_vlan_

[dpdk-dev] Build with -Werror=declaration-after-statement

2016-09-02 Thread ASM
Hi folks! Many groups have flag -Werror=declaration-after-statement in the their coding conventions. Dpdk have many code as static inline function in the headers files and have trouble with it. For example: * lib/librte_ether/rte_ether.h, function rte_vlan_strip * lib/librte_eal/common/include/r