Re: [dpdk-dev] [PATCH v6 0/8] add checking of header includes

2021-01-28 Thread Bruce Richardson
On Thu, Jan 28, 2021 at 11:55:34AM +0100, David Marchand wrote: > On Wed, Jan 27, 2021 at 6:33 PM Bruce Richardson > wrote: > > > > As a general principle, each header file should include any other > > headers it needs to provide data type definitions or macros. For > > example, any header using t

Re: [dpdk-dev] [PATCH v6 0/8] add checking of header includes

2021-01-28 Thread David Marchand
On Wed, Jan 27, 2021 at 6:33 PM Bruce Richardson wrote: > > As a general principle, each header file should include any other > headers it needs to provide data type definitions or macros. For > example, any header using the uintX_t types in structures or function > prototypes should include "stdi

[dpdk-dev] [PATCH v6 0/8] add checking of header includes

2021-01-27 Thread Bruce Richardson
As a general principle, each header file should include any other headers it needs to provide data type definitions or macros. For example, any header using the uintX_t types in structures or function prototypes should include "stdint.h" to provide those type definitions. In practice, while many,