We currently check that exported headers are fine with
-DALLOW_EXPERIMENTAL_API and -DALLOW_INTERNAL_API.

Such a check won't catch issues when build is broken in the absence of
those flags, which is the common case for applications consuming DPDK.

This series adds more coverage.


-- 
David Marchand

Changes since v2:
- rebased on rc1,
- added check when calling rte_bitset without ALLOW_EXPERIMENTAL_API,
- added checks (and fixes) on driver specific headers,

David Marchand (4):
  bitset: fix build for GCC without experimental API
  buildtools/chkincs: check headers with stable API only
  bus/ifpga: use C linkage where appropriate in driver header
  buildtools/chkincs: check driver specific headers

 buildtools/chkincs/meson.build       |  30 +++++-
 drivers/bus/ifpga/bus_ifpga_driver.h |   8 +-
 drivers/meson.build                  |   1 +
 lib/eal/include/rte_bitset.h         | 132 +++++++++++++++++++++++++++
 4 files changed, 165 insertions(+), 6 deletions(-)

-- 
2.46.2

Reply via email to