Verify C++ compatibility of public headers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 1 replyIn review
- v47 patches 6 repliesSuperseded
- v37 patches 2 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 7 patches | 3 replies | Superseded | |
| v1 | 7 patches | 6 replies | Superseded |
Changes in v5 from the cover letter
* Dropped first 6 patches which contained fixes now already applied.
* Added new patch to slim-down the linkage of existing chkincs binary
* New patch to add CPP checks also only does mimimal linkage
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | buildtools/chkincs: remove unnecesary linkagebuildtools/ | +1 | 0 replies | |
| 2/2 | buildtools/chkincs: test headers for C++ compatibility.ci/ .github/ buildtools/ +2 more | +26 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 0/2] Verify C++ compatibility of public headers
NOTE: despite significant differences in patchset, submitting this as v5 to keep history and threading rather than as new v1
This patchset expands upon the exiting chkincs infrastructure to build a C++ test application as well as the existing C test app, which helps catch any build errors when the public DPDK headers are included in C++ code.
V5:
* Dropped first 6 patches which contained fixes now already applied.
* Added new patch to slim-down the linkage of existing chkincs binary
* New patch to add CPP checks also only does mimimal linkage
V4:
* add g++-multilib to packages to install for github checks to ensure 32-bit builds work
* correct the fixline for patch 1
* add extra cpp_args and cpp_link_args for 32-bit builds in test-meson-builds so that includes checks can pass there if enabled.
V3:
* update linux-build script to have cpp_args=-m32 for 32-bit builds
V2:
* Changed patch 6 to have a minimally-invasive fix for C++ without affecting existing C code.
* Added fixlines and Cc stable for all patches which are fixes
Bruce Richardson (2):
buildtools/chkincs: remove unnecesary linkage buildtools/chkincs: test headers for C++ compatibility
.ci/linux-build.sh | 1 + .github/workflows/build.yml | 2 +- buildtools/chkincs/main.cpp | 4 ++++ buildtools/chkincs/meson.build | 21 +++++++++++++++++++-- devtools/test-meson-builds.sh | 3 ++- 5 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 buildtools/chkincs/main.cpp
--
2.32.0