numam-dpdk/buildtools/chkincs
Bruce Richardson 1ee492bdc4 buildtools/chkincs: check missing C++ guards
Simply compiling a C header with a C++ compiler is not enough to flag
missing 'extern "C"' guards. To catch missing guards, we can just use a
simple grep for the 'extern "C"' part, and error out if any files have a
miss.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Tyler Retzlaff <roretzla@linux.microsoft.com>
2022-02-22 15:26:15 +01:00
..
gen_c_file_for_header.py build: add header includes check 2021-01-29 20:59:37 +01:00
main.c build: add header includes check 2021-01-29 20:59:37 +01:00
main.cpp buildtools/chkincs: test headers for C++ compatibility 2022-02-12 14:26:21 +01:00
meson.build buildtools/chkincs: check missing C++ guards 2022-02-22 15:26:15 +01:00